Visual Studio中的网站和Web应用程序之间的区别? [英] Difference between website and web application in Visual Studio?
问题描述
网站和Web应用程序之间有什么区别?
What is the difference between a web site and a web application?
推荐答案
从MCTS自控培训套件
Web应用程序和网站的功能和性能类似,但是Web 应用程序在几个重要方面不同于网站.例如,对于网络应用程序:
Web applications and websites function and perform similarly, but web applications differ from websites in several important ways. For example, with a web application:
■您可以创建MVC应用程序.
■ You can create an MVC application.
■Visual Studio将文件列表存储在项目文件(.csproj或.vbproj)中,而不是 依赖于文件夹结构.
■ Visual Studio stores the list of files in a project file (.csproj or .vbproj), rather than relying on the folder structure.
■您不能混合使用Visual Basic和C#.
■ You cannot mix Visual Basic and C#.
■您必须先停止调试会话,才能编辑代码.
■ You cannot edit code without stopping a debugging session.
■您可以在多个Web项目之间建立依赖关系.
■ You can establish dependencies between multiple web projects.
■您必须在部署之前编译应用程序,这会阻止您进行测试 一个页面(如果另一个页面无法编译).
■ You must compile the application before deployment, which prevents you from testing a page if another page will not compile.
■您不必将源代码存储在服务器上.
■ You do not have to store the source code on the server.
■您可以控制程序集的名称和版本.
■ You can control the assembly name and version.
■部署后,如果不重新编译就无法编辑单个文件.
■ You cannot edit individual files after deployment without recompiling.
这篇关于Visual Studio中的网站和Web应用程序之间的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!