Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
We want to open rdp machine in our mvc view page in c#.

What I have tried:

In window form we can do but how can we do mvc facing issue
Posted
Updated 11-May-23 4:43am
Comments
Richard MacCutchan 11-May-23 4:15am    
There is nowhere near enough information in your question even to guess what you are trying to achieve.

You can set up an RDP web client:
Get started with the web client for Remote Desktop Services | Microsoft Learn[^]
Set up the Remote Desktop web client for your users | Microsoft Learn[^]

However, you cannot embed that client in your own site:
Embedding remote desktop web client in IFrame - Microsoft Community Hub[^]

The best you can do is to provide a link to the RDP web client page, and let the user click on that to access the remote computer.
 
Share this answer
 
There are ways to do this. Rather than rolling your own implementation, you should probably look at something like guacamole[^], FreeRDP-WebConnect[^] , or Myrtille[^]. Note that you may be required to install additional services on the server to do this.
 
Share this answer
 

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