C# Sentence | Path |
---|---|
Server.MapPath("/") | C:\home\site\wwwroot\ |
Server.MapPath("~") | C:\home\site\wwwroot\ |
HttpRuntime.AppDomainAppPath | C:\home\site\wwwroot\ |
HttpRuntime.AppDomainAppVirtualPath | / |
AppDomain.CurrentDomain.BaseDirectory | C:\home\site\wwwroot\ |
HostingEnvironment.MapPath("/") | C:\home\site\wwwroot\ |
HostingEnvironment.MapPath("~") | C:\home\site\wwwroot\ |