You need to write a service that will parse the data from the site and send them to the client (mobile or desktop). Tell me how it works.

Closed due to the fact that the question is too general for the participants aleksandr barakin , Nick Volynkin 22 Apr '16 at 7:41 .

Please correct the question so that it describes the specific problem with sufficient detail to determine the appropriate answer. Do not ask a few questions at once. See “How to ask a good question?” For clarification. If the question can be reformulated according to the rules set out in the certificate , edit it .

  • What exactly do you understand by Azure Service? Web App, Service Fabric, Service bus, ...? - Oleg Nechitaylo
  • I need to create a Web App for MVC models - Dima Zaretsky
  • Well, he spelled the same way. There is no difference. Only here it is possible to apply a single method. - Walter Nuss

1 answer 1

Azure Web App is just a regular website, all the same methods of working with a regular website are suitable for it.

Ways of sending data to the client:

  1. Pulling The client periodically pulls the server using an http request and the server either gives the data or gives an answer that there is nothing. In the request handler you can parse the site, cache it and so on. Plus: no extra libraries, simple implementation.

  2. Duplex communication - setting up a communication channel for instant data transfer. In the case of C # on the server and client, I recommend SignalR . Plus: the ability to communicate in real time, great flexibility of standard settings.

For the second method, do not forget to enable WebSockets in the application settings in open view. SignalR will work without them, only worse.