Jatin
Jatin

Reputation: 1708

How to create an ISAPI Filter DLL in vb.net/c# or vbscript

I have researched a lot on internet about creating one but only ones I found were to create in c++. Is there a way to create one in c# or vb.net? can anyone please provide links to tutorials Thanks

Upvotes: 2

Views: 1357

Answers (3)

Jatin
Jatin

Reputation: 1708

To answer my question - You have to create ISAPI DLLS in c++, there is no tother way to do it

Upvotes: 0

Cheeso
Cheeso

Reputation: 192417

To answer your question: No, you cannot create an ISAPI in C# or VB.NET. Building an ISAPI requires the use of unmanaged code - C or C++.

You can create filter-like function in .NET languages, starting with IIS7.

Upvotes: 2

Paul
Paul

Reputation: 1066

better read the reaction instead of my mis-informed answer

c# is not the choice, isapi.dll should be com aware that's a pain in c# vb.net exactly the same, that's why the examples are in c++ it 'should' be possible in c# with regasm but really... don't go there, you'll fall short off support, examples etc etc etc...

if you tell me a bit more, maybe there are alternatives to an isapi (there are always alternatives even cool ones you'll never imagine)....

Upvotes: 0

Related Questions