Show / Hide Table of Contents

Launch OpenSilver project in Browser using custom arguments

It can be useful to be able to open Browser with custom arguments when launching OpenSilver project from Visual Studio. For example for bypassing CORS or some other reason.

More information about CORS can be found here

  1. Click on down arrow button next to "IIS Express" and choose Browse With...

Browse With

  1. In the new opened window click on the Add button.
  2. Enter Browser program path, arguments and a friendly name for the program the click OK

Browse With

  1. If you want it to be the default option for Visual Studio then click on Set as Default button

Set Default

Or it can be done from here as well.

Set Default

  • Improve this Doc