views:

292

answers:

3

Still looking for solution please help

I do agree with all of you but the thing is that happened with ie cant be with any other browser I am looking for some settings/option so that it will kill the process as soon as the firefox window is closed

origional message

Hi all,

I am going to set Mozila fire fox as my default web browser to .net applications. The problem is that the application keep on running mode even I close the browser window. Its not the same with IE.

For certain reasons I have to use Fire Fox instead of IE

Is there any way to close the application (stop) when the Firefox window is closed (not by explicitly hitting the stop button on the project window)

+1  A: 

If you are using the built-in web server in VS then you can kill it by right-clicking the icon in the system tray. Not sure if that is what you mean?

Dan Diplo
He is debugging and his debugger does not stop automatically when the browser is closed.
Adrian Godong
Or just clicking the 'Stop' button (Shift + F5) in Visual Studio.
Joel Coehoorn
@Joel He's trying not to click that button explicitly.
Adrian Godong
A: 

You might need to look into extensibility model for VS 2010?

There might be a way to customize launch connection to browser.

Or Possibly Build a FireFox Plug in that interacts with VS the same way IE does.

I really have no idea... just thought i would throw some areas i would start looking into~

Good Luck~

BigBlondeViking
+2  A: 

Configure you Web Application project's Start Action to "Start external program", point it to firefox, set command line arguments to your site. E.g.

Start external program: C:\Program Files\Mozilla Firefox\firefox.exe
Command line arguments: http://localhost:8888/

Does this fit your needs?

Juozas Kontvainis
thanks for your reply can you explain it little more?
Ankur
I'm not sure whether you are using Web Site Project or Web Application project, so I'll give instructions for both. For Web Site project, righ-click on project, choose Property pages, go to Start options and configure Start action as described in my answer. For Web Application project right-click on project, choose Properties, go to Web and configure Start Action as described in my answer.
Juozas Kontvainis
+1 This works for me with Visual Developer Express. VS2008 is presumably the same.
brianpeiris