Search code examples
ado.netasp.net-3.5application-variables

Accessing application variables in DataAccesslayer (another project under same solution)


I have a solution with 3 projects.One of UI (contains web pages) and one for BL and one for DataAccess layer.Now i want to access one values stored in application variable in one class inside my DataAccess layer project.How can i access application variables there ?


Solution

  • You need to pass the current HTTPContext to the DAL.