Where is IIS Express 7.5 wwwroot Directory

Using Windows 7, I installed IIS Express 7.5, but I can’t find where the directory is wwwrooton my system! There is no " inetpub" folder on my drive . Could you tell me where I can put the file as a hello.aspx file to run?

thank

+10
source share
5 answers

First-hand, as well as the different response of SO , usually IISExpress contains a catalog with their data files to the address: C:\Users\<username>\Documents\IISExpress.

- (Logs\ TraceLogFiles\), - config\applicationhost.config. <sites> <site> node -.

- <virtualDirectory> node physicalPath:

<site name="YourWebSiteName" id="12345">
  <application path="/" applicationPool="Clr4IntegratedAppPool">
    <virtualDirectory path="/" physicalPath="D:\Physical\path\to\your\website\root"/>
  </application>
  ...
</site>
+15

. - c:\Users\< > \Documents\IISExpress

+1

C:\Users\ \Documents\ -\web-Site1

- , , http://localhost: 1714/test.txt.

404, " " " ", . enter image description here

+1

But where is the global catalog for IIS Express? The quick answer is that there is nobody. IIS Express is very similar to a directory. At the same time, 2 solutions that I was able to solve are the following:

  • Add a group of files to the root path of your website.
  • Create a virtual directory in the IIS Express applicationHost.config file to host your global files.

More details

0
source

you will see the place as below path

C: \ Users \ YOURUSERSNAME \ AppData \ Local \ Temp \ Temporary ASP.NET Files

0
source

All Articles