是什么阻止我在我的开发盒上专门使用 IIS Express?
我只阅读了一些有关 IIS Express 的内容,并且正在处理 立即下载并安装。看来我应该能够正确卸载 IIS,并在 Visual Studio (2010 SP1) 中开发/调试基于 Web 服务器的技术时使用 IIS Express。
- 这是一个明智的结论吗?
- 哪些开发场景可能无法很好地使用 IIS Express?
- 是否存在绝对仍然需要 IIS 本身的情况?
我过去使用 IIS 的目的是用于 ASP.NET MVC 案例、一些 Web 服务调试会话等。显然,实际托管最终的解决方案仍然需要适当的 IIS,但我实际上可以“释放资源”并按需使用 IIS Express?
I have only read a bit about IIS Express, and am in the process of downloading and installing it now. It seems like i should be able to uninstall IIS proper and just make use of IIS Express when developing/debugging webserver-based technologies in visual studio (2010 SP1).
- Is this a sane conclusion?
- What development scenarios might not play well with IIS Express?
- Are there cases wherein IIS proper would absolutely still be needed?
My use of IIS in the past has been for ASP.NET MVC cases, a few web service debugging sessions, etc. Obviously IIS proper is still needed for actually hosting the resulting solutions, but can i realistically "free up resources" and just use IIS Express on demand?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
据我所知,IIS Express 的一些已知问题:
仅支持 http/https 协议
配置 IIS Express 的 UI 支持有限(通过 Visual Studio 和 WebMatrix) 。但您可以通过编辑 applicationhost.config 来手动配置它。
IIS Express 以当前登录用户身份运行,因此您可能会遇到诸如 http:// forums.iis.net/t/1175734.aspx
速度会很慢,因为默认情况下启用了失败请求跟踪和控制台跟踪(失败的请求跟踪可以通过编辑 applicationhost.config 文件来禁用)
内核不支持模式缓存
To my knowledge some known issues with IIS Express:
Only http/https protocols are supported
There is limited UI support (through Visual Studio and WebMatrix) to configure IIS Express. But you can configure it manually by editing applicationhost.config.
IIS Express runs as current logged on user, so you may run into issues like http://forums.iis.net/t/1175734.aspx
It will be slow because by default failed request tracing and console tracing are enabled (failed request tracing can be disabled by editing applicationhost.config file)
Kernel mode caching is not supported