E
E
Egor2015-03-02 11:29:15
Programming
Egor, 2015-03-02 11:29:15

How to implement client-server application licensing?

Hello!
Before me there was a task of creation of the server of window application.
The server's responsibilities include:
- The server must store the user's work session. And allow only one session at a time
- the server must prohibit / allow certain actions for a specific user in the application
- the server must store error logs or other service information sent by the user
- the server must provide the ability to automatically update the application.

I have never dealt with client-server interaction in such detail. Are there suitable patterns for such tasks? What is the best way to write a server if the application is written in .Net? What messages are better to exchange: json/xml, byte array? What network technology to use? Which hosting to choose for these needs?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Anton Pronin, 2015-03-02
@nightw0rk

Work with a DBMS is supposed?
What types of data will be transmitted over the network?
How critical is the loss of data during transmission, or its delivery order to the client?

M
mayorovp, 2015-03-02
@mayorovp

Be sure to look towards WCF. There is TCP, and HTTP, and TLS support (on top of even TCP, even HTTP), and automatic serialization-deserialization, and asynchronous calls, and session support ...
Internally, WCF uses SOAP messages - although there is a try, you can encode them as you wish.

B
Boris Korobkov, 2017-11-29
@BorisKorobkov

It is unlikely that your site is the design of the tour. You only have a search form, and then the visitor goes and places an order on another site (travel agency). And in order to make a redirect from someone else's site to yours, you need to ask the owners of that site about it. And this is incredible.
PS Your spam (thank you page) didn't give up on the user.

I
ipokos, 2017-11-30
@ipokos

tour search module

Are you using the module on your site?
Or display someone else's form with an iframe?
If 1e, then the module should be able to be configured or improved (on what site, what kind of module, show the form)
If 2e - nothing

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question