Re: localhost URL changes in asp.net 2.0

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



re:
http://localhost:3852/Default.aspx
however, yesterday the url to the exact same page was this:
http://localhost:2100/Default.aspx

If you are using the ASP.NET Development Server that's normal.

You can also configure VS 2005 to only use IIS.

To specify the Web server for an already-created Web site, open your local website
with VS 2005 and, in the Solution Explorer, right-click the name of the Web site for
which you want to specify a Web server, and then click Property Pages.

In the Property Pages dialog box, click the Start Options tab.
Under Server, click Use custom server.

In the Base URL box, type the URL that VS 2005 should start when running the current Web site.
You can use localhost, or you can use a dns domain name address if you have one.

From that point on, the VS 2005 IDE will not use the internal web server,
but will use IIS to open your pages, i.e., if you are working on default.aspx,
it will be opened as : http://localhost/default.aspx or as http://yourdomain.com/default.aspx




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"moondaddy" <moondaddy@xxxxxxxxxxxxxxxx> wrote in message
news:O5ez2hPmHHA.1244@xxxxxxxxxxxxxxxxxxxxxxx
I'm building an asp.net 2.0 app (and I also have .net 3.0 installed so I don't know if that
effects anything here). anyway, I haven't worked in asp.net for a long time and now I notice that
the url to the local web app looks something like this:

http://localhost:3852/Default.aspx

however, yesterday the url to the exact same page was this:

http://localhost:2100/Default.aspx

and as I recall, in .net 1.1 it would normally be like this:

http://localhost/MyWebAppName/Default.aspx


Can anyone please explain what's going on here?

Thanks.



--
moondaddy@xxxxxxxxxxxxxxxx




.



Relevant Pages

  • Re: Cant see performance report, etc. SBS2003
    ... However, for "OpenSSH Server", you need to ensure it started, or set ... click to check the "Hide All Microsoft Services" ... Make sure no host header is assigned to the Default Web Site. ... Reinstall Monitoring component: ...
    (microsoft.public.windows.server.sbs)
  • Re: IIS (on SBS 2k) default website stopped address already in use
    ... server box properly and configure the following settings on the ISA server. ... Create an anonymous Site and Content rule for Windows Update ... Web site through a server that is running ISA Server ... Microsoft CSS Online Newsgroup Support ...
    (microsoft.public.windows.server.sbs)
  • Re: publishing multiple websites in ISA 2004
    ... hosted off of a second server that is a member server in the network. ... We can publish multiple internal websites through ISA ... INSIDE OF SBS NETWORK, IS SAFER THAN JUST ON THE SBS/ISA BOX, CORRECT? ... 816576 How to create a new virtual server or Web site in Internet ...
    (microsoft.public.windows.server.sbs)
  • Re: Netopia 3347NWG with Remote Desktop and Remote Web Workplace
    ... Microsoft Exchange Best Practices Analyzer Web Update Pack ... Windows Backup Wizard has not yet run [I know -- I was waiting to get this ... Microsoft Windows Small Business Server 2003 Best Practices Analyzer ... I configured the server extensions for the Default Web Site under sbs2003, ...
    (microsoft.public.windows.server.sbs)
  • RE: HELP! Strange Problem with Internet Access after Migration
    ... Server, you cannot access your web site www.tapeandmedia.com, but other ... If you are using ISA 2000, there is a known issue when the internal client ... Since the internet computers can access the published web sites, ...
    (microsoft.public.windows.server.sbs)