Skip to content

Shows how to plug the existing aggregate roots into nservicebus sagas

Notifications You must be signed in to change notification settings

Mohsen-Bazmi/NSBPlugAggregatesToSagas

Repository files navigation

Plug existing aggregates into NServiceBus sagas
The code samples for this article.

Prerequisites

  • Docker
  • Docker Compose
  • Dotnet Core 3.1

How to run this

In one terminal run these commands:
cd Environment
docker-compose up

In another terminal
cd WeApi
dotnet run

And in yet another terminal
cd EndPoint
dotnet run

How to test it

To Register a new random user open the developer tools in your browser and fetch the following link:

fetch("https://localhost:5001/User/YourUserName",{method:'POST'}).then(res=>res.json()).then(console.log);

Then to see the domain event reaction:

fetch("https://localhost:5001/User").then(res=>res.json()).then(console.log);

About

Shows how to plug the existing aggregate roots into nservicebus sagas

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages