For simple tests, I want to publish a local directory “dir” through IIS 7 as a virtual directory “vdir” and point my browser to http://localhost/vdir/myfile.xml.
Does that work?
You need to:
- Grant permission for the directory to the IIS group IIS_IUSRS.
- In the IIS Manager, in Authentication/Anonymous Authentication, change the setting to “Application pool identity”
Then you can get IIS to serve you files locally.