IIS and VS Embedded Local Web Server
2009-04-01 23:16
821 查看
There are two ways of running or testing your asp.net web pages. You can have pages served by IIS(if installed) or by the embedded local web server. So what's the diferences and which one should you use under certain circumstances.
The biggest difference is the identity the server uses to run asp.net application. Under IIS, an asp.net application is served by a work process running under the real account defined for the application—typically, a highly restricted account such as ASP.NET or NETWORK SERVICE.
In contrast, the embedded Web server takes the security token of the currently logged-on user—that is, you. The problem here is not a risk of being attacked; the real problem is that you are actually testing the application in a scenario significantly different from the real one. Things that work great under the local Web server might fail miserably under IIS.
The biggest difference is the identity the server uses to run asp.net application. Under IIS, an asp.net application is served by a work process running under the real account defined for the application—typically, a highly restricted account such as ASP.NET or NETWORK SERVICE.
In contrast, the embedded Web server takes the security token of the currently logged-on user—that is, you. The problem here is not a risk of being attacked; the real problem is that you are actually testing the application in a scenario significantly different from the real one. Things that work great under the local Web server might fail miserably under IIS.
相关文章推荐
- [Windows] [IIS] ISAPI and CGI Restriction list settings on the Web server
- 配置tomcat时遇到publishes and runs j2ee and java ee web projects and server configurations to a local to
- Tip/Trick: How to Run a Root “/” Site with the Local Web Server using VS 2005 SP1
- IIS Error:404.2 The page you are requesting cannot be served because of the ISAPI and CGI Restriction list settings on the Web server
- 配置tomcat时遇到publishes and runs j2ee and java ee web projects and server configurations to a local to
- Using IIS with VS 2005 and the new Web Project system
- 配置tomcat时遇到publishes and runs j2ee and java ee web projects and server configurations to a local tom
- Sharepoint 2013 安装中 Config Application Server and Web Server role for the Server 失败 (iisext.vbs)
- How to Run a Root “/” Site with the VS/VWD 2005 Local Web Server
- VS加载项目时报错:尚未配置为Web项目.指定的本地IIS URL http://localhsst/..要打开项目,需要配置虚拟目录 。是否立即创建虚拟目录
- VS 2008 Web Designer and CSS Support
- How to Install NoCat Splash and Link it to an External Web Server
- 在win 7 vs2013下 web 调试 出现“ iis Express Worker Process 已停止工作”错误
- Temporary Tables vs. Table Variables and Their Effect on SQL Server Performance
- What is a Context in Java and ApplicationContext vs WebApplicationContext
- Setting up Django and your web server with uWSGI and nginx
- Setting up Django and your web server with uWSGI and nginx
- ISAPI and CGI Restriction list settings on the Web server
- VS中一个解决方案有多个Web网站.如何不启动全部asp.net development server(WEB服务器)
- HTML5 Web存储-localStorage and sessionStorage