Reputation: 20654
When adding a new web application on IIS 7.5, I need to locate my physical path of my web application.
Is it compulsory that the web application folder has to be placed inside C:\inetpub\wwwroot?
Thanks in advance.
Upvotes: 1
Views: 202
Reputation: 2265
Use the HttpServerUtility.MapPath
function.
Start here: http://msdn.microsoft.com/en-us/library/system.web.httpserverutility.mappath.aspx
Upvotes: 1