I am going to create a solution which will have 2 projects as a class library, one project as a Web Application or Web Site.
I have gone through the differences between Web Application and Web Site at Microsoft : Web Application VS. Web Site
After reading it, I found that I need features from both of them, such as features in Web Application:
- run unit tests on code
- I want control over the assembly name and version number that is generated for the site.
- I want to avoid putting source code on a production server.
- I want to use the automated deployment tools that are available in Visual Studio 2010.
features in Web Site which I need
- open the production site in Visual Studio and update it in real time by using FTP.
- be able to update individual files in production by just copying new versions to the production server, or by editing the files directly on the production server.
- be able to update individual ASP.NET Web pages (.aspx files) without having to recompile the entire Web site.
And I don't want to keep the source code on the production server due to the security concern.
And I still cannot make my decision.
I am looking for some strong reasons which can convince me to go with one of the type.
Thanks in advance.
PS: Dear all, please provide reasons about why you marked it down, otherwise it's not going to help. Many thanks.