Posts

Showing posts with the label httpcontext

Accessing HttpContext within Class Library ( Business Object) VB.Net

Accessing HttpContext within Class Library ( Business Object) VB.Net Add System.Web as a reference to the class library. Right click class library and then Add reference and from .Net select System.Web to add

Using Request.Url in Class Library ( Business Object) Vb.Net

Using Request.Url in Class Library ( Business Object) Vb.Net Dim m_MapPath As String = System.Web.HttpContext.Current.Request.Url.Scheme + Uri.SchemeDelimiter + System.Web.HttpContext.Current.Request.Url.Authority