As seen on visualstudiomagazine.com.
Microservices are groupings of lightweight services, interconnected, although independent of each other, without direct coupling or dependency. Microservices allow flexibility in terms of infrastructure; application traffic is routed to collections of services that may be distributed across CPU, disk, machine and network as opposed to a single monolithic platform designed to manage all traffic.
Click here for an in-depth tutorial on building Microservices using this framework.
PM> Install-Package Daishi.AMQP
var adapter = RabbitMQAdapter.Instance;
adapter.Init("hostName", 1234, "userName", "password", 50);
adapter.Connect();
var message = "Hello, World!";
adapter.Publish(message, "queueName");
string output;
BasicDeliverEventArgs eventArgs;
adapter.TryGetNextMessage("queueName", out output, out eventArgs, 50);
var consumer = new RabbitMQConsumerCatchAll("queueName", 10);
adapter.ConsumeAsync(consumer);
Console.ReadLine();
adapter.StopConsumingAsync(consumer);
Please reach out and contact me for questions, suggestions, or to just talk tech in general.