π A repository to learn NServiceBus, a .NET library for building distributed systems with message-based communication.
This repository provides examples and best practices for using NServiceBus to build robust, distributed, and scalable applications. It covers core concepts like messaging patterns, reliable communication, and integration with various transport and persistence mechanisms.
-
Message-Based Communication:
- Learn to implement asynchronous, decoupled communication using commands, events, and messages.
-
Transport Integration:
- Examples using popular transports like RabbitMQ, Azure Service Bus, and MSMQ.
-
Persistence:
- Implement message persistence with databases like SQL Server or NoSQL stores like MongoDB.
-
Reliability:
- Understand retry policies, error handling, and message auditing.
-
Scalability:
- Learn to scale services effectively with NServiceBus tools and configuration.
- .NET SDK: Install the latest version from Microsoft's .NET site.
- NServiceBus NuGet Package: Install the NServiceBus library for your transport of choice.
-
Clone the Repository:
git clone https://github.com/GuilhermeStracini/hello-world-nservicebus.git cd hello-world-nservicebus
-
Install Dependencies:
dotnet restore
-
Run the Project:
dotnet run
-
Explore Examples:
- Look at individual projects within the solution to see different use cases and configurations.
Explore these links to deepen your knowledge of NServiceBus and its ecosystem:
- Official NServiceBus Documentation
- NServiceBus Sample Applications
- NServiceBus on GitHub
- Understanding Reliable Messaging with NServiceBus
Contributions are welcome!
Feel free to fork this repository, open issues, or submit pull requests to enhance examples or add new features.
This project is licensed under the MIT License.