ASP.NET Web Site or ASP.NET Web Application?

前端 未结 25 2319
自闭症患者
自闭症患者 2020-11-21 08:26

When I start a new ASP.NET project in Visual Studio, I can create an ASP.NET Web Application or I can create an ASP.NET Web Site.

What is the difference between ASP.

25条回答
  •  执笔经年
    2020-11-21 08:53

    Website and Project>>website are two different methods of creating ASP.NET application using visual studio. One is projectless and another is project environment. Differences are as

    1. Solution file is stored in same directory as root directory in project environment.
    2. Need to remove solution and project files before deploying in project environment.
    3. Complete root directory is deployed in projectless environment.

    there no much basic difference in using either approach. But if you are creating website that will take longer time, opt for project environment.

提交回复
热议问题