Patrik,

I had a similar requirement, and the immediate simple solution was to do
just what you did--pass a reference to a current application ( get access
to Request.Form and QueryString data).

Looking back on the old COM solutions, where you got a ref to ObjectContext
and on to ASP objects, this seems cleaner.

I'd be curious to see others' solutions.


Steve Holak
Senior Software Architect

Brokerage Concepts IS Dept.
610-491-4879

email:  [EMAIL PROTECTED]


                                                                                       
                                 
                    Patrik Löwendahl                                                   
                                 
                    <[EMAIL PROTECTED]>         To:     [EMAIL PROTECTED]       
                                 
                    Sent by: dotnet           cc:                                      
                                 
                    discussion                Subject:     [DOTNET] Get hold of HTTP 
Application which created an       
                    <[EMAIL PROTECTED]        object                                   
                                 
                    VELOP.COM>                                                         
                                 
                                                                                       
                                 
                                                                                       
                                 
                    05/22/2002 08:33                                                   
                                 
                    AM                                                                 
                                 
                    Please respond to                                                  
                                 
                    dotnet discussion                                                  
                                 
                                                                                       
                                 
                                                                                       
                                 




Hi,

buikding a helper class for a web application in asp.net.

The class needs to access th ecurrent HTTPApplication object, right now I
pass it in the Helper class construction string.

In classic ASP you could build components which could access the
instanciation application. .Is this possible in ASP.NET, and if so how ?

// Patrik Löwendahl

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