When building message-driven applications, the term message is broadly categorized into 2 - Commands and Events.
In this video, we will dive into these two message types, understand how to use them, and some of the associated infrastructure used along with commands and events.
Commands represent an intention and are usually a set of data grouped together with a name to perform an action. SendEmail, CreateOrder, AddPayment, etc, are a few examples. An Event represents a fact that has happened in the past and is usually associated with a command being executed. EmailSent, OrderCreated, PaymentSuccessful, etc, are a few examples.
This video is sponsored by AWS.
00:00 Introduction
01:44 Code Walkthrough
03:00 Using Commands
11:09 Using Events
31:26 Conclusion
🔗Source - https://rahulpnath.visualstudio.com/Y...
Additional Watching
📹 Messaging Series - https://bit.ly/dotnet-messaging
📹AWS Series - https://bit.ly/aws-net-series
📹Azure Series - https://bit.ly/azure-series
📹 ASP Series - https://bit.ly/asp-net-core-series
📹AWS SQS - • AWS SQS (Simple Queue Service) - Gett...
📹 Azure Queue - • AZURE QUEUE STORAGE From ASP NET Core...
📹Azure Service Bus - • AZURE SERVICE BUS QUEUE - Getting Sta...
Come say hi! ✋
🌍 Blog - https://rahulpnath.com/
✉ Subscribe to my Newsletter - https://www.rahulpnath.com/subscribe
🐦Twitter - / rahulpnath
📸Instagram - / rahulpnath
🛠️ Uses http://rahulpnath.com/uses
🎥 Recording Setup and Workflow - https://www.rahulpnath.com/blog/youtu...
#dotnet #microservices