Re: localhost URL changes in asp.net 2.0
- From: "Juan T. Llibre" <nomailreplies@xxxxxxxxxxx>
- Date: Thu, 17 May 2007 23:58:24 -0400
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
.
- References:
- localhost URL changes in asp.net 2.0
- From: moondaddy
- localhost URL changes in asp.net 2.0
- Prev by Date: Re: HttpHandler not working
- Next by Date: HttpHandler not working
- Previous by thread: localhost URL changes in asp.net 2.0
- Index(es):
Relevant Pages
|