Difference between localhost\myproject and localhost:1355\myproject?

Last post 08-23-2008 2:54 AM by bhappy. 5 replies.

Sort Posts:

  • Difference between localhost\myproject and localhost:1355\myproject?

    07-04-2008, 3:26 AM
    • Loading...
    • bhappy
    • Joined on 07-30-2007, 9:10 AM
    • Posts 147

    Hi All,

     

    Can any one explain about the difference between "localhost\myproject" and "localhost:1355\myproject". i am using Asp.net2.0 while running the application i can see the path in browser like "http:\\localhost:1355\myproject\default.aspx" and i am getting correct output. But if i open one IE and if i type "http:\\localhost\myproject\default.aspx"  then some functionalities are not working??? In one page i am writing all contents into XML file and i am accessing that XML file in another page there i am not getting data??

     

    Plz any one help me......

    Thanks. 

    Filed under:
  • Re: Difference between localhost\myproject and localhost:1355\myproject?

    07-04-2008, 5:27 AM
    Answer
    • Loading...
    • RicIshay
    • Joined on 04-30-2008, 2:44 PM
    • India
    • Posts 277

     Actually ASP.NET 2.0 does not use IIS when you run the application it has inbuilt server to run the application so the url comes likes this localhost\myproject" and "localhost:1355\myproject"  and if u run it like this localhost\myproject" and "localhost\myproject" the browser will look into wwwroot to run it ie virtual directory...

    Amit Malhotra
  • Re: Difference between localhost\myproject and localhost:1355\myproject?

    07-04-2008, 5:51 AM
    • Loading...
    • bhappy
    • Joined on 07-30-2007, 9:10 AM
    • Posts 147

    Hi,

    Thanks for ur replay,

    Now what i have to do to get it work?

     

    Thanks. 

  • Re: Difference between localhost\myproject and localhost:1355\myproject?

    07-08-2008, 12:57 AM
    • Loading...
    • RicIshay
    • Joined on 04-30-2008, 2:44 PM
    • India
    • Posts 277

     open IIS manager from admin tools in control panel,then create a virtual directory,then you will be able to run it on localhost...

    Amit Malhotra
  • Re: Difference between localhost\myproject and localhost:1355\myproject?

    07-08-2008, 12:58 AM
    • Loading...
    • RicIshay
    • Joined on 04-30-2008, 2:44 PM
    • India
    • Posts 277

     http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/5adfcce1-030d-45b8-997c-bdbfa08ea459.mspx?mfr=true

    Amit Malhotra
  • Re: Difference between localhost\myproject and localhost:1355\myproject?

    08-23-2008, 2:54 AM
    • Loading...
    • bhappy
    • Joined on 07-30-2007, 9:10 AM
    • Posts 147

    Hi,

    I created Virtual directory for my project then also i am not able to write contents into an XML File which is located in the same project.

Page 1 of 1 (6 items)
Microsoft Communities
Page view counter