Ana içeriğe geç
Bu sayfa henüz Türkçeye çevrilmedi; İngilizce sürümü gösteriliyor.
Versiyon: 10.4

Getting Started

Requirements​

  • .NET 10
  • A running RabbitMQ instance

1. Run RabbitMQ​

Install RabbitMQ on your machine before using the library. The easiest way is to run it with Docker, using the official RabbitMQ image.

2. Install the package​

Run the following command in the Package Manager Console:

Install-Package Milvasoft.Messaging

You can also get the source from GitHub.

3. Register the library​

In your application's startup, register Milvasoft.Messaging with your RabbitMQ connection details:

services.AddMilvaMessaging(cfg =>
{
cfg.RabbitMqUri = "rabbitmq://localhost:5672/";
cfg.UserName = "<rabbitmq user>";
cfg.Password = "<rabbitmq password>";
});

Your application can now publish commands. Continue with Usage to publish a command and write a consumer for it.