开发者

IIS Managed Module in .NET4

开发者 https://www.devze.com 2023-02-17 04:16 出处:网络
I want to write a Managed Module for IIS 7.5 usin开发者_运维问答g .NET 4.0 because I want to use the new MemoryMappedFile class.

I want to write a Managed Module for IIS 7.5 usin开发者_运维问答g .NET 4.0 because I want to use the new MemoryMappedFile class.

I started with a small prototype compiled with .NET 4.0 and tried to integrate it into the IIS without success.

The module is strong-named and I could install it into the GAC. After that I added it through the IIS Manager but the worker process doesn't seem to load it as I cannot debug the module by attaching the debugger to w3wp.exe. The AppPool also runs with .NET 4.0.

Any ideas about that?

Thanks,

Simon


I solved it. I had to uncheck the "Invoke only for requests to ASP.NET applications or managed handlers" checkbox. After that the module worked as expected.

0

精彩评论

暂无评论...
验证码 换一张
取 消