trying to add a module

  • Thread starter Thread starter Lloyd Dupont
  • Start date Start date
L

Lloyd Dupont

I wrote a module, in the App_Code directory.
Now I'm trying to add it to the application with code like:
<add name="MyLangModule" type="LangModule" />

it works quite curiously.
if I put a breakpoint in my module Init() method, it get filtered only once
(for one query), after that it doesn't seems to call my module again ?!?!

Also I know I should write "LangModule, dllName" but because it's the
Website DLL which would be dynamically compiled with a random name, I don't
know what DLL name I should use...
 
As I answered in your other thread, Init only fires once per module load,
not request. So you are loading properly.

Karl
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top