This code is for a library.  I will not have access to the application
config file.

> -----Original Message-----
> From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf
Of
> Marsh, Drew
> Sent: Friday, May 24, 2002 10:13 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [DOTNET] Automatically executing code
>
> Reggie Burnett [mailto:[EMAIL PROTECTED]] wrote:
>
> > Is there something at the assembly level or an attribute that
> > I could use to automatically fire some code at app startup?
>
> Reggie,
>
> You don't HAVE to register it at runtime, you can do it declaratively
via
> the machine or application config file. Check out the docs[1] on the
> <system.net> config section, specifically the <webRequestModules>
element.
>
> HTH,
> Drew
> .NET MVP
>
> [1]
> ms-
>
help://MS.VSCC/MS.MSDNVS/cpgenref/html/gngrfwebrequestmoduleselement.htm
>
> You can read messages from the DOTNET archive, unsubscribe from
DOTNET, or
> subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to