ASP.NET 开发服务器模拟 IIS6 还是 IIS7? [英] ASP.NET Development Server simulates IIS6 or IIS7?

查看:25
本文介绍了ASP.NET 开发服务器模拟 IIS6 还是 IIS7?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 Visual Studio 2008 中,当我们按 Ctrl+F5 时,ASP.NET 开发服务器将启动以模拟 Web 服务器.我想知道它模拟什么服务器?IIS6 还是 IIS7?是否可以自定义它模拟的服务器?

In visual studio 2008, when we press Ctrl+F5, the ASP.NET Development Server is launched to simulate a Web Server. I'm wondering what server does it simulate? IIS6 or IIS7? Is it possible to customize what server it simulate?

推荐答案

它不是模拟服务器本身,而是在基于 cassini 的服务器上运行,该服务器是用 .net 编写的,并且具有可用的源代码.我想它更类似于 IIS6,因为它不支持 IIS7 集成管道功能.如果安装了 VS,您始终可以选择让 VS 使用 II6 或 IIS7(取决于您的 DEV PC 上安装的是 XP 还是 Vista).

It doesn't simulate a server as such, it runs on a server based on cassini that is written in .net and has source code available. I suppose it's more similar to IIS6 in that it does not support the IIS7 integrated pipeline feature. You can always choose to have VS use II6 or IIS7 if it's installed (depending on whether you have XP or Vista on your DEV PC).

这篇关于ASP.NET 开发服务器模拟 IIS6 还是 IIS7?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆