How can I default to IE for testing my ASP.NET app

2019-06-25 03:55发布

Three fine browsers I have installed: the inimitable Mozilla, the traditional Internet Explorer, and the hot new Chrome. I love them all dearly, but when testing my ASP.NET application, I would prefer to do so using IE.

Please note, I've not deployed this application. I'm merely launching it from the Visual Studio project in which it was conceived. Would someone here be so good as to suggest a way in which I might specify the browser it launches in? Thank you.

2条回答
相关推荐>>
2楼-- · 2019-06-25 04:44
  1. Click and ASPX file in your solution explorer
  2. Go > File > Browse with.. > Select IE then set it as your defautl browser.
  3. Run your project.
查看更多
欢心
3楼-- · 2019-06-25 04:55

Right-click on any .aspx page in Solution Explorer and choose Browse With...

You can then select Internet Explorer from the list and choose 'Set as Default' to make pages open with IE when you press F5.

查看更多
登录 后发表回答