Im running a web application in visual studio 2008…
while running, my first web page url is http://localhost/ABC/default.aspx
while i run this in another system, it is http://localhost:2435/ABC/default.aspx
Really eager to know what is this all about…
because the images in root folder are displaying in my system but not in another system…
Give me some idea about this..
Thank u in advance..
Im running a web application in visual studio 2008… while running, my first web
Share
Generally speaking, when running an ASP.NET site locally, if the URL host name is simply
localhoston the default port, the site is hosted in IIS. If the URL host name includes a random high-order port, then the site probably runs on the Visual Studio development server.You can configure how the development site is hosted on the
Webtab of your project settings, if using a Web Application Project. If using a Web Site, hosting the site in IIS requires that you configure the site’s virtual folder in IIS manually, and re-add the web site to your solution from IIS, instead of from the file system.To resolve issues with your image references breaking, there are a few things you can check:
ImageUrlattributes with a tilde-slash (~/), which the server will resolve relative to the web application folder.