Click here to Skip to main content
15,900,254 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
i have two projects made separately. first project is made in asp.net mvc5 and second is made in wpf. i want to join them in one solution.
waiting for your kind response

What I have tried:

i have created mvc5 project and added wpf project in it. but not able to run or start wpf project from a web page.
Posted
Updated 20-Jul-18 4:57am

1 solution

You won't be able to run or start a WPF application, or any other executable, from a web page. If you could, it would be a security nightmare!

You might be able to start the application from the code running on the server. But that will run the application on the server, where nobody will ever see it. There's very little point in doing that.

(It might appear to work whilst you're debugging your site in Visual Studio. But that's only because the client and the server are the same PC in that specific instance. As soon as you deploy to a real server, it will stop working.)
 
Share this answer
 
Comments
Member 13919362 22-Jul-18 14:03pm    
@Richard Deeming is there any way or solution for this???
Richard Deeming 23-Jul-18 7:21am    
No. Websites cannot launch executables on the client. This is a security restriction, and there is no workaround.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900