When we create web projects with ASP.NET we can either choose Web Application or Web Site. Both of these project types function and perform similarly, but they differ in many important ways which may impact are decision while creating the projects. Few of the differences are as follows:
Reference - MCTS self-paced training kit (Exam - 70-515)
1. You can create an MVC application.
2. Visual Studio stores the list of files in a project file (.csproj or .vbproj), rather than relying on the folder structure.
3. You cannot mix Visual Basic and C#. This is because files are stored .csproj or.vbproj and we have only one proj file.
4. You cannot edit code without stopping a debugging session.
5. You can establish dependencies between multiple web projects.
6. You must compile the application before deployment, which prevents you from testing a page if another page will not compile. In website projects all the pages are complied independent of each other.
7. You do not have to store the source code on the server.
8. You can control the assembly name and version.
9. You cannot edit individual files after deployment without recompiling.
Comments
Post a Comment