This is the first time I am working with a C# 2010 web form application that runs on iis 7. I would like to know what the directory path difference is for local iis versus iis pointing to the root directory
Is the reference for:
a. local iis look like http://localhost:4040 where 4040 is the port number? or is the path http://localhost/sup where sup is a directory path?
If I am wrong, can you tell me what the directory path is for local IIS? Also can you explain why that is directory path to use?
b. Can you tell me how to refer to the root directory for the web form application in IIS 7.?
Loading
Hemant KumarPosted Jul 2, 2012, 6:39 AM
You need to understand the Difference between the Casini and IIS Web Server
Check this blog
http://blog.veggerby.dk/2007/05/20/differences-between-using-cassini-and-iis/
Norberto FlogarPosted Jul 3, 2012, 2:02 AM
Inorder to refer the root directory inside you web form use Request.AbsoluteUri.ToString().which gives you absolute path.in order to now how the path is fetched you need to go through the articles related to iis
Thanks
Wall Stickers