When debugging an ASP.NET application, how do I end a debugging session when closing Firefox?

We are looking for a solution, please help

I agree with all of you, but the point is what happened with ie can can be with any other browser. I am looking for some parameters / parameter so that it can kill the process as soon as the firefox window is closed

original message

Hello to all,

I am going to install FoxLink Mozila as my default web browser for .net applications. The problem is that the application continues to work, even closing the browser window. This is not the same with IE.

For some reason I have to use Fire Fox instead of IE

Is there a way to close the application (stop) when the Firefox window is closed (not by directly clicking the stop button in the project window)

+7
visual-studio
source share
4 answers

Set up your web application project. Start the "Run an external program" action, specify it in firefox, set the command line arguments on your site. For example.

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

Does this fit your needs?

+2
source share

If you use the built-in web server in VS, you can kill it by right-clicking on the taskbar icon. Not sure if this is what you mean?

+1
source share

For those who answer this question, try to test with yours first, and not just answer here. Using your vs and set firefox as your default browser, then run it. After you launch the web page, close firefox, see how your program still works.

+1
source share

You may need to study the extensibility model for VS 2010?

It may be possible to configure the launch connection with the browser.

Or perhaps create a FireFox plug-in that interacts with VS in the same way as IE.

I really have no idea ... just thought that I would drop some areas that I would start looking in ~

Good luck ~

0
source share

All Articles