IIS7 Modules - managed or native?
Posted
by Simon Linder
on Stack Overflow
See other posts from Stack Overflow
or by Simon Linder
Published on 2010-03-16T13:38:11Z
Indexed on
2010/03/16
13:46 UTC
Read the original article
Hit count: 345
Hi all,
as the old ISAPI filters are going to die sooner or later, I want to rewrite an old ISAPI filter that was used in IIS 6 into a module for use in IIS 7. The module will be used globally, meaning it will be used within each site, on a Windows Server 2008 R2 with IIS 7.5 installed, that will host several thousand web sites and managing about 50 application pools.
My question now is if I should write that module in managed or unmanaged code? One of my concerns regarding managed code is the massive memory consumption due to the .NET framework overhead. I don't know how this would effect the server's performance.
I already wrote modules in managed as well as in unmanaged code. So this is not the bothering my decision. But I would prefer to write the module in C# if there are no huge drawbacks.
Any suggestions about that issue?
© Stack Overflow or respective owner