the_moes
the_moes

Reputation: 1

Launch a Desktop exe application from Asp.Net Core/Blazor or JS

I am doing a blazor server application which is launch the application that is launched in the user's local machine.

Note this is an internal application that uses Windows Authentication. We are using modern browers edge, chrome, firefox.

ActiveXObject won't work with this one. What is the best option to launch an exe.

I tried System.Diagnostics.Process.Start("userdesktopApplication.exe") the problem is that the application starts from the server and I need to start the application from the client machine that is invoking the web address.

Thank you in advance.

Upvotes: 0

Views: 2164

Answers (2)

O'Rooney
O'Rooney

Reputation: 3100

The only way these days is to ask the user to install an application first.

Then, that application can register with the OS to handle custom URL scheme.

Upvotes: 4

rdmptn
rdmptn

Reputation: 5601

You can't. Blazor can't do what JS can't do either - is still a web app

Upvotes: 2

Related Questions