Update existing desktop C# application as a webservice
-
I have a regular C# desktop GUI application providing regular windows interface. WCF is not used for supporting these interfaces, since it mainly working as a standalone desktop application, with a lot of data involved in data transfer. But I have used WCF with netNamedPipeBinding for UI automation. Now I would like to call these interfaces from a web page also. So in my understanding 1. I have to host my desktop application as WCF web service ( with httpBinding and need o provide a new contract for the interfaces). 2. Call the existing I/Fs from the new interface class. Please correct me if wrong.
aks
-
I have a regular C# desktop GUI application providing regular windows interface. WCF is not used for supporting these interfaces, since it mainly working as a standalone desktop application, with a lot of data involved in data transfer. But I have used WCF with netNamedPipeBinding for UI automation. Now I would like to call these interfaces from a web page also. So in my understanding 1. I have to host my desktop application as WCF web service ( with httpBinding and need o provide a new contract for the interfaces). 2. Call the existing I/Fs from the new interface class. Please correct me if wrong.
aks
Can't you extract the data layer from the desktop application, and use it to create a WCF service. Then you could use it in both web and desktop applications.
Everyone dies - but not everyone lives
-
Can't you extract the data layer from the desktop application, and use it to create a WCF service. Then you could use it in both web and desktop applications.
Everyone dies - but not everyone lives
Thank you Wayne. I am a beginner in web development. My real concern is whether I would go for a WCF service, REST service or a Web Api. My primary intention is to use the service in a client web application. Later I also planning to use it from different devices like tab/mob.
aks