M Mark Fitzpatrick Jul 27, 2004 #2 Use the HttpContext.Current.Application to get there. Don't forget to include the System.Web namespaces in the class. Hope this helps, Mark Fitzpatrick Microsoft MVP - FrontPage
Use the HttpContext.Current.Application to get there. Don't forget to include the System.Web namespaces in the class. Hope this helps, Mark Fitzpatrick Microsoft MVP - FrontPage
S Scott Allen Jul 27, 2004 #3 With HttpContext.Current.Application. Though you might want to abstract that detail away, if you want to use your class library outside of a web application.
With HttpContext.Current.Application. Though you might want to abstract that detail away, if you want to use your class library outside of a web application.