Is it possible to get the base URL of IIS 7 by using Microsoft.Web.Administration.ServerManager ?
Microsoft.Web.Administration.ServerManager
Typically this would be:
http://localh
You can use string baseURL = HttpContext.Current.Request.Url.Host.
string baseURL = HttpContext.Current.Request.Url.Host