Difference between website and web application in Visual Studio?

前端 未结 2 1028
情话喂你
情话喂你 2020-12-18 05:59

What is the difference between a web site and a web application?

2条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-18 06:39

    FROM MCTS SELF-PACED TRAINING KIT

    Web applications and websites function and perform similarly, but web applications differ from websites in several important ways. For example, with a web application:

    ■ You can create an MVC application.

    ■ Visual Studio stores the list of files in a project file (.csproj or .vbproj), rather than relying on the folder structure.

    ■ You cannot mix Visual Basic and C#.

    ■ You cannot edit code without stopping a debugging session.

    ■ 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.

提交回复
热议问题