olidev
olidev

Reputation: 20654

Is Physical path of adding a new site compulsory placed inside C:\inetpub\wwwroot?

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

Answers (1)

Ken Brittain
Ken Brittain

Reputation: 2265

Use the HttpServerUtility.MapPath function.

Start here: http://msdn.microsoft.com/en-us/library/system.web.httpserverutility.mappath.aspx

Upvotes: 1

Related Questions