Home > Back-end >  Can you change Visual Studio 2022's default browser for Dockerised ASP .NET Core applications?
Can you change Visual Studio 2022's default browser for Dockerised ASP .NET Core applications?

Time:03-03

When debugging my ASP .NET Core Web API application in Visual Studio 2022, I have the Docker configuration set to launch a browser:

enter image description here

This browser defaults to Edge. Is there a way to change this, to Firefox for example? That is my browser of choice and I would prefer it to simply open a new tab in an existing instance of that rather than an entirely separate Edge window.

Firefox is set as my default browser.

Thanks.

CodePudding user response:

Turns out it does seem to use the default browser.

This is a new install of Win 11, and I had installed Firefox within the same session as my attempted debugging with it - a reboot seemed to result in VS using it as expected.

The default browser behaviour is documented here.

  • Related