S
S
Stamper2014-08-19 08:59:16
.NET
Stamper, 2014-08-19 08:59:16

How do I set the entry point of an IIS 7.5 module?

Hello colleagues!
Literally 2 weeks ago, I plunged into .net development in order to write a module that will "listen" to the "BeginConnection" event in order to determine the client's details (UserAgent, IP, etc.). When I set the target platform to x32, the EventLog (implemented in the module code) leaves no messages. But I get the error "Could not find entry point to dll". The target platform x64 brings down IIS in 503.
So, I ask to prompt, with what target platform it is necessary to build IIS modules? Why doesn't a class inheriting from IHTTPModule provide an entry point to an IIS thread?
Environment: WinServer 2008 R2 x64, .Net 4.5.1, IIS 7.5, VStudio Express 2012

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Orlangur25, 2014-08-19
@Stamper

Good afternoon.
The ultimate goal of this action is not entirely clear.
If you look at the pipeline of the request, then there is no IIS and asp itself - 2 separate components.
Here is a description of the pipeline, for example.
msdn.microsoft.com/en-us/library/vstudio/bb470252(...
1. define a specific task
2. depending on it, you need to choose a place in the pipeline where to actually insert the processing.
Z.Y. also if you use the latter framework, maybe OWIN will help

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question