Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I have a WPF client application and a web service in WCF. The communication is done using NET.TCP binding through .NET-provided communication channels (sockets, duplex services). It allows bi-directional communication between the services and the clients. XML messages are sent/received from client/service. Now I want to convert this to browser based application. I am new to web technologies. Can you please tell me what technology and methodology to use to convert my application to browser based?
Posted
Comments
[no name] 2-Oct-14 20:15pm    
Any web based technology that you know and are comfortable with, or willing to learn. There is no magic converter.
Shemeemsha (ഷെമീംഷ) 3-Oct-14 1:59am    
Yes.. Good Comment
tommmiee 2-Oct-14 23:02pm    
I got two options - Asp .net signalR or Html5 Apis? Which one to use?
Sinisa Hajnal 3-Oct-14 2:24am    
Whichever you prefer. As said before, there is no magic bullet.

Also, if your app works, why change / convert it?

Simplest is to create a XAML browser applications (XBAPs) (http://msdn.microsoft.com/en-us/library/aa970060%28v=vs.110%29.aspx[^]).

In Web applications there are lot of possibilities. In you have already WPF applictaion, you can go for Silverlight (http://www.microsoft.com/silverlight/[^]), so that you can use almost 80% of your existing code base.

Further if you want more reachability then try ASP.NET MVC, Web Form etc.

It is strategic question and answer depends upon various factors of current and future perspective.
 
Share this answer
 
Change socket to websocket, and change XML message to JSON message. Read the article How to Remotely Scan Documents from PCs and Mobile Devices with HTML5 WebSocket and Dynamic .NET TWAIN to learn how to build the connection between windows application and Web browser-based application.
 
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