Last post Nov 16, 2017 06:19 AM by ryanbesko
Nov 09, 2017 09:17 PM|alihusain_77|LINK
My default browser is Chrome. However, I want to open my asp.net website on FireFox without changing the PC default browser to the FireFox. Is it possible?
Nov 09, 2017 09:31 PM|A2H|LINK
However, I want to open my asp.net website on FireFox without changing the PC default browser to the FireFox. Is it possible?
if you want to open the website in a different browser from Visual Studio then you can use Browse With Dialog Box.
Right-click on a page within a Web Project and click "Browse With..."
From this dialog you can click Set Default
Nov 10, 2017 08:25 PM|alihusain_77|LINK
I know how to browse a website on the VS 2015 with a specific browser. However, will this change the default browser of the user?
Nov 10, 2017 08:37 PM|ryanbesko|LINK
However, will this change the default browser of the user?
Nov 14, 2017 02:44 PM|Ashim Chatterjee|LINK
No . it won't .. AFAIK its not possible either to forcefully opening a particular website in specific browser from client side.
Nov 15, 2017 02:43 AM|zxj|LINK
Restricted by security, there is no permission to start the process in the General Web page.
Nov 15, 2017 10:22 AM|PatriceSc|LINK
And if you need further help, explain why you would like to do such a thing. Sometimes you test for a browser *feature* to do something if the feature is missing (for example no webGL support).
Nov 16, 2017 02:26 AM|Eric Du|LINK
According to your description, I think you want to trigger the google browser when client side browse site, I think the server site code can not trigger client side program, so you can not through asp.net to achieve this.
But I have a suggestion that you could give a prompt message to suggest user visit site in the chrome.
Nov 16, 2017 06:19 AM|ryanbesko|LINK
You have additionally posted this thread:
The browser you use to debug in Visual Studio is not what your finished and published web application will force on users. Visual Studio debugging browser is the NOT the same as the end users default browser. Launching from IIS will launch your default
web browser. In your case it's Edge.