Link to home
Start Free TrialLog in
Avatar of lapucca
lapucca

asked on

How can I close the ASP.NET Development Server-Port 1704 dialog when my web page is closed?

Hi, I'm new to ASP.NET.  I have a asp.net web page.  When I click to close the page by clicking the top right x, the page is closed but there is a small icon remain on the bottom right of my windows right status bar.  When I click on the icon, it shows the title as "ASP.NET Development Server-Port 1704 ".  It display information for Root URL:, Port, Virtual Path, Physical Path.  If I open and close my web page several time then there will be several of these dialogs and icons on my status bar.  How can I close this when my page is clicked to be close?  Thanks.
Avatar of MaxOvrdrv2
MaxOvrdrv2

Hi,

unfortunately, i have the same problem... and the only way i found how to do this is to right-click the page icon and choose the Close(or Stop?) option. It's pretty stupid like that i agree.

Other thing i noticed is that when i close my Visual Studio, they usually all close at once.

M
visual studio 2005 and above have an integrated web server and it starts as soon as you start running you asp.net website from visual studio
this web server does not close when the internet explorer closes and it will not close automatically
it will only close when visual studio instance its running under closes

if you have 2 instances of visual studio running and both of them running asp.net web applications then 2 servers (different) will be fired up and each linked to one instance of the visual studio

unfortunately you cannot achieve what you are trying to do because the way microsoft has implemented it
Again, it can be done... You just have to right-click on the little icon and chose stop service or something like that.


i never contested on your view point that it cannot be done .. have i
i just said that microsoft has implemented it for a reason and the reason is that its a web server within your visual studio and when you fire up your web server it takes up processing time and delays the launch
if you want to clsoe it every time you finish debugging ... its fine you can close it manually but even if you dont close it, it wont hurt
Avatar of lapucca

ASKER

Hi raq, Thank you for the information.  However, With just one instace of my V.S. 2008 running, I'm debuging or running the same web application n times then there will be n number of these local web server icons in my status bar.  Is that the way it supposed to work?  It just seems wrong and annyoing that it keeps creating new web server every time I run my web applicaiton in the same V. S. 2008.
ASKER CERTIFIED SOLUTION
Avatar of Anurag Thakur
Anurag Thakur
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial