accessing the Application object from another project

  • Thread starter Thread starter William Gower
  • Start date Start date
W

William Gower

I have split my webapp into multiple projects. I need to access the
Application object from another project how do I do that?

ex. EmployeeDALC is in project DALC and the Global.asax is in the solution.
 
Natty Gur said:
Hi,

If your assembly will be run from aspnet_wp process you can use
HttpContext.Current to access application, session, request, response

Yes, but this won't work unless the code in his assembly is being called as
part of a a request.
 
Back
Top