B
B
bojack15792018-10-16 16:58:00
ASP.NET
bojack1579, 2018-10-16 16:58:00

How to transfer data between two applications?

Good afternoon,
Please tell me, there are two applications, you need to send data between them. Those. in one of them there is some data, on click the information is sent to another application and stored there. Both applications are authorized.
What is the best way to choose to implement such functionality? Considering data security.
(Apps on .net core 2.1)
Thank you!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
B
basrach, 2018-10-16
@bojack1579

Usually, so-called "message queues" are used for these purposes. This pattern, the message queue, is widely applicable and universal. For example, a message queue can be built on the basis of a database table. Almost every OS from Microsoft has a special component called MSMQ , which is an implementation of a distributed message queue with guaranteed delivery, etc.
But most often, for situations like yours, RabbitMq is used, although this is no longer just a queue, but a message broker. It is popular and has a relatively low entry threshold. There are many libraries for probably any language. So it won't be hard to get started with it. Easily unfolds. Does not require complex configuration if there are no special requirements. It is necessary to adjust only except routing of messages. But if you use some kind of lib, then it can automatically configure routing. For C#, for example , here is a good library. I advise you to look in this direction.

D
Dmitry Eremin, 2018-10-16
@EreminD

1. Use shared file
2. Database
3. Bus
4. MemoryMappedFile

A
aamaster, 2018-11-05
@aamaster

Good day.
If we are talking about ASP.NET Core 2.1, then ASP.NET Web API 2 will help you.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question