如何为网站访问者提供可下载的源代码? [英] How to make downloadable source code available to website visitors?

查看:70
本文介绍了如何为网站访问者提供可下载的源代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,


我想用ASP.NET建立一个网站。我想网站

的访问者能够下载我想提供给他们的代码,而这些代码将存在于我的个人服务器上。


是否有人可以推荐的代码样本或书籍,以便我可以实现这一点。我更喜欢VB.NET代码,但如果有必要,我愿意转换来自C#的



谢谢

Hello,

I would like to build a website using ASP.NET. I would like website
visitors to be able to download code that I would like to make available to
them and that would be residing on my personal server.

Are there any code samples or books that someone can recommend so that I can
implement this. I would prefer VB.NET code, but I am willing to convert
from C# if necessary.

Thanks

推荐答案

这里是免费赠品:


''有条件的,取决于知识

如果(IsNothing(我。知识))

Me.ShareKnowledge = False

否则

Me.ShareKnowledge = True

结束如果


''无条件

Me.NeedCode = False

Me.Educate()


-

HTH,

Kevin Spencer

Microsoft MVP

..Net开发商

有时你会吃大象。

有时大象会吃掉你。

Swaregirl < SW ******* @ yahoo.com>在消息中写道

news:dL ***************** @ newssvr11.news.prodigy.co m ...
Here''s a Freebie:

'' Conditional, depends on Knowledge
If (IsNothing(Me.Knowledge))
Me.ShareKnowledge = False
Else
Me.ShareKnowledge = True
End If

'' Non-Conditional
Me.NeedCode = False
Me.Educate()

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Sometimes you eat the elephant.
Sometimes the elephant eats you.
"Swaregirl" <sw*******@yahoo.com> wrote in message
news:dL*****************@newssvr11.news.prodigy.co m...
您好,

我想使用ASP.NET构建一个网站。我希望网站访问者能够下载我想提供的代码

他们将会驻留在我的个人服务器上。

是否有人可以推荐的代码示例或书籍,以便我可以实现这一点。我更喜欢VB.NET代码,但如果有必要,我愿意从C#转换


Hello,

I would like to build a website using ASP.NET. I would like website
visitors to be able to download code that I would like to make available
to
them and that would be residing on my personal server.

Are there any code samples or books that someone can recommend so that I
can
implement this. I would prefer VB.NET code, but I am willing to convert
from C# if necessary.

Thanks



凯文,


我真的不想采取你说错的方式,所以我做了一个搜索

你的相对于此新闻组中其他帖子的名称。看起来你有一些小小的烦恼,包括要求提供示例代码的人。


我完全尊重你的权利,不会帮助或协助有人询问对于

帮助。


对于经验丰富的程序员来说,购买书籍并不常见。

就语言编程寻求建议这对他们来说是新的。每个人都没有感觉需要重新发明轮子,特别是如果轮子是用作各种实用工具的东西。大多数时候,那段代码

代码只是整个代码库的一小部分,但可能是必要的一块难题。


我是否误解了你的帖子和你的回复的精神?你认为人们应该重新发明一切吗?你是否认为在寻找他们想要做的具体事情的代码示例时会有羞耻感

特别是当这些特定事情反复进行并被使用时by

很多人?

" Kevin Spencer" <柯*** @ DIESPAMMERSDIEtakempis.com>在消息中写道

新闻:#7 ************** @ TK2MSFTNGP12.phx.gbl ...
Kevin,

I really didn''t want to take what you said the wrong way, so I did a search
on your name relative to your other posts within this newsgroup. It seems
that you have some pet peeves, including people asking for sample code.

I fully respect your right not to aid or assist someone who is asking for
help.

It is not unusual for highly experienced programmers to purchase books or
seek advice on programming in a language that is new to them. Everyone does
not feel the need to reinvent the wheel, especially if the wheel is
something that is used as a utility of sorts. Most of the time, that piece
of code is a small part of the overall code base but may be a necessary
piece of the puzzle.

Am I misunderstanding the spirit of your posts and your reply? Do you think
that one should reinvent everything themselves? Do you think that there is
shame in seeking a code example for something specific that they want to do,
especially when that specific something is done over and over and is used by
many people?
"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
news:#7**************@TK2MSFTNGP12.phx.gbl...
这里是免费赠品:

''有条件的,取决于知识
如果(IsNothing(Me.Knowledge))
Me.ShareKnowledge = False
其他
我。 ShareKnowledge = True
结束如果

''无条件
Me.NeedCode = False
Me.Educate()

-
HTH,

凯文斯宾塞
微软MVP
.Net开发人员
有时你吃大象。
有时大象会吃掉你。

" Swaregirl" < SW ******* @ yahoo.com>在消息中写道
新闻:dL ***************** @newssvr11.news.prodigy.co m ...
Here''s a Freebie:

'' Conditional, depends on Knowledge
If (IsNothing(Me.Knowledge))
Me.ShareKnowledge = False
Else
Me.ShareKnowledge = True
End If

'' Non-Conditional
Me.NeedCode = False
Me.Educate()

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
Sometimes you eat the elephant.
Sometimes the elephant eats you.
"Swaregirl" <sw*******@yahoo.com> wrote in message
news:dL*****************@newssvr11.news.prodigy.co m...
你好,

我想用ASP.NET构建一个网站。我希望网站访问者能够下载我想提供的代码

他们将会驻留在我的个人服务器上。

是否有人可以推荐的代码示例或书籍,以便我可以实现这一点。我更喜欢VB.NET代码,但如果有必要,我愿意从C#转换


Hello,

I would like to build a website using ASP.NET. I would like website
visitors to be able to download code that I would like to make available
to
them and that would be residing on my personal server.

Are there any code samples or books that someone can recommend so that I
can
implement this. I would prefer VB.NET code, but I am willing to convert
from C# if necessary.

Thanks




我的观点是这样的:如果您希望其他人为您提供它,您如何分享您所知道的内容?b
为您提供?那是把车推到马前。


编程是一门学科,需要大量的努力才能掌握。我

详细解释(不时详细说明)

技术如何运作,并回答很多问题(实际上每天很多)。我不相信,b $ b相信为人们编写代码会以任何方式帮助他们。事实上,这对他们有害,因为它让他们自己陷入比他们最初发现自己更大的麻烦,因为他们得到了印象<为了做到这一点,他们不必理解编程。


换句话说,我不是来推广自己和我的编程技巧,通过

向全世界展示我的代码解决方案。我不需要。我可以在任何地方找到工作

作为程序员,因为我已经努力工作,并且每天继续学习
,就像我现在已经超过10年一样。我妈妈教我自己负责b
。也就是说,每个程序员,包括我自己,都需要不时的帮助。但他们不需要有人用勺子喂它们。他们

需要展示如何养活自己。当我寻求帮助时,这就是我所要求的所有问题,而且我很感激有人可以提供的任何线索。我不希望用勺子喂他们b $ b。这会让你发胖和懒惰。我想通过自己的方式获得
的方式。这会让你变得强壮。而且我相信我应该帮助别人

变得强壮,而不是肥胖和懒惰。


当我还是个孩子的时候,我得到了照顾。但是我的父母现在已经离开了,而且我发现自己没有照顾者。我必须独自站立,就像我们所有人一样,这是一次又一次。我母亲教我如何做到这一点,我将永远感激她。她知道她不会在那里照顾我

永远。换句话说,谁是父母的父母?父母最好能为子女做b
教他们自生自灭。而且我想

是一个好的父母,现在我就是一个。


-

HTH,


Kevin Spencer

Microsoft MVP

..Net开发人员

有时你吃大象。

有时候大象会吃掉你。


" Swaregirl" < SW ******* @ yahoo.com>在消息中写道

news:xR ***************** @ newssvr11.news.prodigy.co m ...
My point is this: How can you share what you know if you expect other people
to provide it for you? That''s putting the cart before the horse.

Programming is a discipline, and requires a lot of hard work to master. I
explain in detail (quite a bit of detail from time to time) how the
technology works, and answer many questions (many a day, in fact). I don''t
believe writing code for people helps them in any way. In fact, it is
harmful to them, as it allows them to get themselves into even greater
trouble than they find themselves in at first, as they get the impression
that they don''t have to understand programming in order to do it.

In other words, I''m not here to promote myself and my programming skills, by
showing off my code solutions to the world. I don''t need to. I can get work
as a programmer anywhere, because I''ve worked hard, and continue learning
every day, as I have for over 10 years now. My mother taught me to be
responsible for myself. That said, every programmer, including myself, needs
help from time to time. But they don''t need someone to spoon feed them. They
NEED to be shown how to feed themselves. When I ask for help, that''s all I
ask, and I''m grateful for any clues that someone can provide. I don''t want
to be spoon fed. That makes you fat and lazy. I want to be shown the way to
feed myself. That makes you strong. And I believe that I should help people
become strong, not fat and lazy.

When I was a child, I was taken care of. But my parents are gone now, and I
find myself without a care-giver. I have to stand on my own, as do we all at
one time or another. My mother taught me how to do that, and I will always
be grateful to her. She knew she wouldn''t be there to take care of me
forever. In other words, who parents the parents? The best a parent can do
for their offspring is to teach them to fend for themselves. And I want to
be a good "parent," now that I am one.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Sometimes you eat the elephant.
Sometimes the elephant eats you.

"Swaregirl" <sw*******@yahoo.com> wrote in message
news:xR*****************@newssvr11.news.prodigy.co m...
凯文,

我真的不想采取你所说的错误方式,所以我对你的名字进行了相对于你的其他帖子的搜索
新闻组。看来你有一些小小的烦恼,包括要求提供示例代码的人。

我完全尊重你的权利,不会帮助或帮助那些要求帮助的人。<对于经验丰富的程序员来说,购买书籍或者用他们不熟悉的语言寻求编程建议并不罕见。每个人都没有感觉需要重新发明轮子,特别是如果轮子是用作各种用途的东西。大多数时候,代码片段只占整个代码库的一小部分,但可能是一个必要的难题。

我是误解了你的帖子的精神和你的回复?你是否认为应该重新发明一切?你是否觉得在寻找他们想要做的具体事情的代码示例时是非常羞耻的,特别是当这些具体的事情一遍又一遍地完成并被使用时

很多人?

" Kevin Spencer" <柯*** @ DIESPAMMERSDIEtakempis.com>在消息中写道
新闻:#7 ************** @ TK2MSFTNGP12.phx.gbl ...
Kevin,

I really didn''t want to take what you said the wrong way, so I did a
search
on your name relative to your other posts within this newsgroup. It seems
that you have some pet peeves, including people asking for sample code.

I fully respect your right not to aid or assist someone who is asking for
help.

It is not unusual for highly experienced programmers to purchase books or
seek advice on programming in a language that is new to them. Everyone
does
not feel the need to reinvent the wheel, especially if the wheel is
something that is used as a utility of sorts. Most of the time, that
piece
of code is a small part of the overall code base but may be a necessary
piece of the puzzle.

Am I misunderstanding the spirit of your posts and your reply? Do you
think
that one should reinvent everything themselves? Do you think that there
is
shame in seeking a code example for something specific that they want to
do,
especially when that specific something is done over and over and is used
by
many people?
"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
news:#7**************@TK2MSFTNGP12.phx.gbl...
这里是免费赠品:

''有条件,取决于知识
如果(IsNothing(Me.Knowledge))
Me.ShareKnowledge = False
其他
Me.ShareKnowledge = True <结束如果

''无条件
Me.NeedCode = False
Me.Educate()

-
HTH,

凯文斯宾塞
微软MVP
.Net开发人员
有时你会吃大象。
有时大象会吃掉你。

Swaregirl < SW ******* @ yahoo.com>在消息中写道
新闻:dL ***************** @newssvr11.news.prodigy.co m ...
Here''s a Freebie:

'' Conditional, depends on Knowledge
If (IsNothing(Me.Knowledge))
Me.ShareKnowledge = False
Else
Me.ShareKnowledge = True
End If

'' Non-Conditional
Me.NeedCode = False
Me.Educate()

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
Sometimes you eat the elephant.
Sometimes the elephant eats you.
"Swaregirl" <sw*******@yahoo.com> wrote in message
news:dL*****************@newssvr11.news.prodigy.co m...
>你好,
>
>我想用ASP.NET构建一个网站。我想要网站
>访问者可以下载我想制作的代码
>可用
>到
>它们将存在于我的个人服务器上。
>
>是否有人可以推荐的代码示例或书籍,以便
>我
>可以
>实现这一点。我更喜欢VB.NET代码,但我愿意
>转换
>如有必要,请从C#开始。
>
>谢谢
>
>
> Hello,
>
> I would like to build a website using ASP.NET. I would like website
> visitors to be able to download code that I would like to make
> available
> to
> them and that would be residing on my personal server.
>
> Are there any code samples or books that someone can recommend so that
> I
> can
> implement this. I would prefer VB.NET code, but I am willing to
> convert
> from C# if necessary.
>
> Thanks
>
>





这篇关于如何为网站访问者提供可下载的源代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆