R
R
Roman Zhidkov2016-03-03 21:56:50
ASP.NET
Roman Zhidkov, 2016-03-03 21:56:50

How to pass data from WinForm application to webserver on asp.net mvc?

Need advice! There is a program that will periodically transmit data to a web server, you need to think about how! I thought by means of DDE - but the technology is outdated ...

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Stanislav Silin, 2016-03-03
@byme

WCF ?

A
Artem Voronov, 2016-03-03
@newross

Yes, there are actually a lot of options. From a shared database to SignalR. In between WCF, Http, Sockets.

S
Stanislav Makarov, 2016-03-04
@Nipheris

Yes, what kind of DDE)
Does the server have an API for receiving data? If not, why not take the WebAPI and write it, since the main web application is in ASP.NET MVC? It will be the simplest, most logical and compatible option, just publish the webpi next to the application (don't forget to authorize).
Of course, there are a lot of other options, for example, if the data comes often and a lot (constant stream), then maybe some protobuf over a normal TCP connection or web sockets is better.
If it is impossible to take and write such a web service for receiving data, then what is possible? What are your restrictions?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question