简体   繁体   English

IIS Express中的ISAPI扩展?

[英]ISAPI extensions in IIS Express?

Hi I'd like to run & develop an ISAPI extension in IIS Express 7.5 on a Windows 7 x64 machine. 嗨,我想在Windows 7 x64计算机上运行和开发IIS Express 7.5中的ISAPI扩展。 Lets say that I have the ISAPI extension in C:\\dev\\mywebapp.dll. 可以说我在C:\\ dev \\ mywebapp.dll中有ISAPI扩展名。 The dll is 32 bit native DLL written in Delphi. dll是用Delphi编写的32位本机DLL。 Then I can configure IIS to respond to requests like http://localhost/foo/mywebapp.dll?id=100 . 然后我可以配置IIS来响应像http://localhost/foo/mywebapp.dll?id = 100这样的请求。 Does anyone know if I can use IIS Express 7.5 instead of the fullblown IIS for the same purpose? 有谁知道我是否可以使用IIS Express 7.5代替完整的IIS用于相同的目的?

I have tried using IIS Express 7.5 but when I go to my http://localhost:8080/mywebapp.dll my browser is asking me to save the dll. 我尝试过使用IIS Express 7.5但是当我转到我的http:// localhost:8080 / mywebapp.dll时,我的浏览器要求我保存dll。 I'd like IIS Express to run it as an ISAPI extension like the full IIS would do. 我希望IIS Express像ISAPI一样运行它,就像完整的IIS一样。 Ideas anyone? 想法有人吗?

TIA, TIA,

Johan 约翰

maybe this will be of some help? 也许这会有所帮助?

http://www.delphifeeds.com/go/s/61336 http://www.delphifeeds.com/go/s/61336

I am using IIS Express to debug my Delphi ISAPI Web Application. 我正在使用IIS Express来调试我的Delphi ISAPI Web应用程序。 The following page shows how to do this: 以下页面显示了如何执行此操作:

http://paul.klink.id.au/Software/Delphi/DebuggingIsapiWithIisExpress.htm http://paul.klink.id.au/Software/Delphi/DebuggingIsapiWithIisExpress.htm

Run following command from the IIS Express installation folder. 从IIS Express安装文件夹运行以下命令。

appcmd set config /section:handlers /+[name='MyIsapiExtension',path='*.aaa',verb='GET,POST',scriptProcessor='C:\dev\mywebapp.dll']

More info can be found at http://technet.microsoft.com/en-us/library/cc754147%28WS.10%29.aspx 更多信息可以在http://technet.microsoft.com/en-us/library/cc754147%28WS.10%29.aspx找到

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM