In VS 2008, whats the difference between an asp.net website vs an asp.net web application? What are the advantages / disadvantages of each?  Thanks
121144
What is the difference between web application and website in asp.net? and if it have a difference which best from all sides?
89290
I wish to know all the pros and cons about using these two methods. In particular the implications on web security.  Thanks.
29653
I know Googling I can find an appropriate answer, but I prefer listening to your personal (and maybe technical) opinions. What is the main reason of the difference between Java and C# in throwing exceptions? In Java the signature of a method that throws an exception has to use the "throws" keyword, while in C# you don't know in compilation time if an exception could be thrown.
96199
I often find myself wishing SO supported drag and drop. For example I drag a tag to my favs and it would add it, or when searching by tag I would like to drag the tag to the search box and get [asp.net] added in the search box.   Does it make sense to add this feature or is it just too much work for so little use?
10299
I've been doing ASP.NET development for a little while now, and I've used both the GridView and the DataGrid controls before for various things, but I never could find a really good reason to use one or the other. I'd like to know:  What is the difference between these 2 ASP.NET controls? What are the advantages or disadvantages of both? Is one any faster? Newer? Easier to maintain?  The intellisense summary for the controls doesn't seem to describe any difference between the two. They both can view, edit, and sort data and automatically generate columns at runtime.  Edit: Visual Studio 2008 no longer lists DataGrid as an available control in the toolbox. It is still available (for legacy support I assume) if you type it in by hand though.
49832
Continuing from my , is there a comprehensive document that lists all available differences between debug and release modes in a C# application, and particularly in a web application?  What differences are there?
82520
My question is fairly generic and I know there might not be an 100% answer to it. I'm building an ASP .NET web solution that will include a lot of pictures and hopefully a fair amount of traffic. I do really want to achieve performance.  Should I save the pictures in the Database or on the File system? And regardless the answer I'm more interested in why choosing a specific way.  Many thanks, Stefan   DUPLICATE: , ,  and probably some others.    COMMENT: Thanks for many good answers. I will go for a file based solution even if I like the idea of having a 100% database driven solution. It seems that there are today good solutions to do what I want with databases etc but I have a few reasons for not doing it.   I will be on a hosted solution, I have huge amount of storage(10gb) but only 300mb for the database. It will cost a lot for extra storage in the DB. I'm not an DB expert and as well not in control of settings of the DB. A DB based solution might need custom configuration as it looks like.   If we will move to run the site on our own server I might consider a DB based solution. thanks, Stefan
96711
I have heard that .NET is not free and that I have to pay Microsoft if I develop a .NET application.  Is this true?  If so:   What do I have to pay? I'm a subscriber to the MSDN via the Academic Alliance (we download a variety of Microsoft Software products for free, like VS2008 and Windows Server 2008). Do I have to pay for the software that I make with these tools? What about web apps with ASP.NET? Is there a payment due when I host my application or do I just pay for the technology?   EDIT:  So what you are saying is that it's the same to develop a web application using ASP.NET or PHP (ignoring technical issues, just payment side), all what I have to pay is the hosting fees?  EDIT 2:  .NET rules :)
94590
I thought .com is an ancient form for executable, leftover from early MS-DOS days? Why do they use that today in WinSCP? And why only for the CLI version?  I tried asking this in their chat room, but received not a single reply for days. As always.
14049
Questions like looking for css templates, blog templates, icons ... In general, resources (let's leave the licensing terms aside for now) which you might need when building a project of your own. Where should those questions go?  They're definitely not on-topic on Stack', SuperUser maybe although I doubt it. Webapps? Hmm, probably not.  Is there a place where they would be on-topic on the SE network?
78404
I read somewhere in the Microsoft documentation that the content of the ASP.NET's web.config is cached. If that is true, where is it cached - in memory or on disk?  And a follow-up question: are there any performance considerations I have to make, if I have to access the web.config intensively?
51554
Why do I have to specify runat="server" on all my ASP.NET controls when it is a mandatory attribute and server is the only option available in my limited knowledge of ASP.NET, and I get an error if I don't use it?  I do understand that I can optionally use it on my HTML tags, and I do understand the client/server paradigm and what it is actually specifying.  Is it a redundant tag that could just be implied by the control being an ASP.NET control, or is there an underlying reason?
17392
Which is better to do client side or server side validation?  In our situation we are using    jQuery and MVC.   JSON data to pass between our View and Controller.     A lot of the validation I do is validating data as users enter it. For example I use the the keypress event to prevent letters in a text box, set a max number of characters and that a number is with in a range.   I guess the better question would be, Are there any benefits to doing server side validation over client side?    Awesome answers everyone. The website that we have is password protected and for a small user base(&lt;50). If they are not running JavaScript we will send ninjas. But if we were designing a site for everyone one I'd agree to do validation on both sides.
115184
What is the official name for the "special" ASP.NET tags like this:  &lt;%# %&gt; &lt;%= %&gt; &lt;%@ %&gt; &lt;%$ %&gt;   I can't seem to figure out the conceptual or well known name for these, so I'm having trouble searching for more info.  As a bonus, can anyone give me a quick rundown of all of the possible "special tags" and what each one of them does (or point me to a resource)?
108583
Does anyone know the major differences between the Java and .Net garbage collectors? A web search has not revealed much, and it was a question that came up in a test.
81414
When developing a .NET Windows Forms Application we have the choice between those App.config tags to store our configuration values. Which one is better?  &lt;configuration&gt;    &lt;!-- Choice 1 --&gt;   &lt;appSettings&gt;     &lt;add key="RequestTimeoutInMilliseconds" value="10000"/&gt;   &lt;/appSettings&gt;    &lt;!-- Choice 2 --&gt;   &lt;configSections&gt;     &lt;sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c5612342342" &gt;         &lt;section name="Project1.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c5612342342" requirePermission="false" /&gt;     &lt;/sectionGroup&gt;   &lt;/configSections&gt;   &lt;applicationSettings&gt;     &lt;Project1.Properties.Settings&gt;       &lt;setting name="TABLEA" serializeAs="String"&gt;         &lt;value&gt;TABLEA&lt;/value&gt;       &lt;/setting&gt;     &lt;/Project1.Properties.Settings&gt;   &lt;/applicationSettings&gt;  &lt;/configuration&gt;
115104
I have an ASP.Net page that will be hosted on a couple different servers, and I want to get the URL of the page (or even better:  the site where the page is hosted) as a string for use in the code-behind.  Any ideas?