In which circumstances are suitable for Web Application or Web Site in Visual Studio?

这一生的挚爱 提交于 2019-12-24 09:53:53

问题


I have one project which has APP_CODE folder and runs with Windows Authentication.

1) I created Web Site and added the files of project but I couldn't run with windows authentication

2) Then I created web application project and check "Use Visual Studio Development Server". But now, I couldn't get access to the classes which are in App_Code folder.

There is no choice to select Visual Studio Development Server when I use Web Site project!

Questions:

  1. Why can't I add APP_CODE folder to the Web Application ?
  2. Why can't I run my Web Application on Visual Studio Development Server?
  3. In which circumstances I should choose Web Site or Web Application options ?

PS: I want to put pictures of Web Application and Web Site:

Web Application:

Web Site:

来源:https://stackoverflow.com/questions/4668689/in-which-circumstances-are-suitable-for-web-application-or-web-site-in-visual-st

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!