Click here to Skip to main content
15,885,720 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
I have been using Net Remoting for so long that I'm trying migrate to WCF because I need to now pass all this data to a web through json. The reason is that the libraries I use are licensed and these are for machine communication (Interop and COM) which isn't compatible. so I have to hang with Winforms. What do you think is the best. Continue using .Net remoting. Moving to WCF or Learn REST APis, gRPC, others.
You must understand that the communication machine is in real time. So I need data in real time.

Thanks in advance.

What I have tried:

I have been trying WCF, So what basically I need a guidance through this more than a specific answer.
Posted
Updated 31-Jul-20 22:20pm

1 solution

Hi,

In my opinion, you are on the right track. You really need to upgrade or migrate to WCF because it also supports REST. However, if you can migrate directly to ASP.NET Web API that would be great.

Now for the migration steps, here are things I see you need to do and understand.
1. You need to compare the two technologies to see their difference. Like the server type, serialization, message format, etc.

2. Once you have seen the difference between the two, you can start with some baby steps to convert those old/existing ones to new ones.

3. For the migration, you can create a service contract, data contract, and configure and host your WCF service.

Hope this helps.

Cheers,
Jin
 
Share this answer
 
Comments
Abbathsin 5-Aug-20 18:32pm    
Thanks. that's the answer. I had to selfhost a WCF Service in the active axhost control. And the rest I have been adding and removing little by little functions to a .net core HostedService Worker through the WCF. that's works fine. It's a lot of work. Now I have been trying to migrate the winform to a WPF for better design.

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