开发者

what is server.mappath(".") in asp.net

What is server.MapPath() in asp.net. Can any o开发者_StackOverflowne please explain with example written in Vb.net

Thank you


Server.MapPath(".") represents the current request absolute path, so if Server.MapPath("~") equals c:\wwwroot which represents the site root and the current request is /foo then Server.MapPath(".") will return c:\wwwroot\foo.


For detailed explanation, read Making Sense of ASP.NET Paths by Rick Strahl

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜