如何将ISAPI扩展添加到ASP.Net开发iis服务器?

时间:2022-02-03 06:11:14

Because of a CMS software that I'm using I need to add a ".*" ISAPI extension to my IIS (pointing to aspnet_isapi.dll).

由于我正在使用的CMS软件,我需要在我的IIS中添加“。*”ISAPI扩展名(指向aspnet_isapi.dll)。

What I would like to do is to have the ability to add a ISAPI extension to my VS IIS server as well, so that I can test my webapp locally instead of deploying it to the server all the time.

我想做的是能够在我的VS IIS服务器上添加ISAPI扩展,这样我就可以在本地测试我的webapp而不是一直将它部署到服务器上。

Is it possible to achieve that in the VS embedded IIS server (I'm using VS 2008)?

是否有可能在VS嵌入式IIS服务器中实现(我使用的是VS 2008)?

3 个解决方案

#1


No it's not possible, but all requests are routed to asp.net by default, so it should work out of the box.

不,这是不可能的,但默认情况下所有请求都被路由到asp.net,所以它应该开箱即用。

#2


The ASP.NET development server doesn't support ISAPI extensions. Your best bet is probably to install IIS on your development machine and add the ISAPI extension there. If you're using XP you should have IIS as long as you're running professional. I think with Vista you need a business edition or above.

ASP.NET开发服务器不支持ISAPI扩展。您最好的选择可能是在您的开发计算机上安装IIS并在那里添加ISAPI扩展。如果您正在使用XP,只要您正在运行专业版,就应该拥有IIS。我认为使用Vista需要商业版或更高版本。

#3


No I don't think it is possible. Cassini is not actually IIS, it is more of an emulation. It doesn't have all of the features that you will find in the full IIS.

不,我不认为这是可能的。 Cassini实际上不是IIS,它更像是一种模拟。它没有您在完整IIS中找到的所有功能。

#1


No it's not possible, but all requests are routed to asp.net by default, so it should work out of the box.

不,这是不可能的,但默认情况下所有请求都被路由到asp.net,所以它应该开箱即用。

#2


The ASP.NET development server doesn't support ISAPI extensions. Your best bet is probably to install IIS on your development machine and add the ISAPI extension there. If you're using XP you should have IIS as long as you're running professional. I think with Vista you need a business edition or above.

ASP.NET开发服务器不支持ISAPI扩展。您最好的选择可能是在您的开发计算机上安装IIS并在那里添加ISAPI扩展。如果您正在使用XP,只要您正在运行专业版,就应该拥有IIS。我认为使用Vista需要商业版或更高版本。

#3


No I don't think it is possible. Cassini is not actually IIS, it is more of an emulation. It doesn't have all of the features that you will find in the full IIS.

不,我不认为这是可能的。 Cassini实际上不是IIS,它更像是一种模拟。它没有您在完整IIS中找到的所有功能。