Novo

Forum kao aplikacija na telefonu

Dodajte forum na početni ekran i koristite ga kao aplikaciju, sa menijem na dnu ekrana.

Natjerati asp.net web servera da starta na istom portu

  • 3 odgovora
  • 2.547 pregleda

Najnovija ↓

Natjerati asp.net web servera da starta na istom portu 05.12.2009. u 22:04 · pre 205 meseci #1
Aplikacija koju razvijam ima dosta loginova za testiranje koje sam zapamtio preko firefoxa radi brzine logiranja.
Medjutim, web server ugradjen u asp.net-u uvijek starta pod drugacijim portom (npr. http://localhost:55651/administrator/Default.aspx) tako da svi upamceni loginovi vise ne vrijede jer ovu promjenu porta firefox tumaci kao drugu web stranicu.
Postoji li nacin da natjeram asp.net da svoj web server uvijek pokrece pod istim portom, npr 55666?
Potpis
...
Re: Natjerati asp.net web servera da starta na istom portu 05.12.2009. u 22:09 · pre 205 meseci #2
Citat:
To specify a port for the ASP.NET Development Server

1. In Solution Explorer, click the name of the application.
2. In the Properties pane, click the down-arrow beside Use dynamic ports and select False from the dropdown list.
This will enable editing of the Port number property.
3.In the Properties pane, click the text box beside Port number and type in a port number.
4. Click outside of the Properties pane. This saves the property settings.

Each time you run a file-system Web site within Visual Web Developer, the ASP.NET Development Server will listen on the specified port.

http://msdn.microsoft.com/en-us/library/ms178109%28VS.80%29.aspx
Prijavite se da biste odgovorili u ovoj temi.PrijavaRegistracija

Premeštanje teme