Tag : Event Sourcing (3)
Event Sourcing with ASP.NET Core - 02 Messaging
1. Introduction
Since this article is second part of the article below, I recommend you to read the following article before starting. We will continue with the sample project in the article below.
In the previous article, we made the example of Kanban Board. By creating a RESTful API, we wrote the create, assign, move and complete endpoints. We recorded the requests coming to these endpoints as an event in the Event Store. So we focused on the store part of the Event Store. In this article, we will focus on with the messaging part.
We will include the following endpoint in our RESTful API endpoints.
[GET] api/tasks/{id}
Read moreEvent Sourcing with ASP.NET Core - 01 Store
1. Introduction
I recommend you to read the article below before applying this example tutorial.
In the article I have mentioned above, I had formed a sentence as follows.
In this article, we will deal with the store section of the Event Store. In other words, we will deal with the database feature where we can save events. In the next article, we will deal with the messaging part.
As an sample application, I chose the classic Kanban Board sample.
Our RESTful API endpoints will be as follows.
[POST] api/tasks/{id}/create
[PATCH] api/tasks/{id}/assign
[PATCH] api/tasks/{id}/move
[PATCH] api/tasks/{id}/complete
What is Event Sourcing?
Previously, our services would be as follows.
This service consisted of hundreds of lines of code. To get rid of this confusion, we split our services into two parts as "Command" and "Query" with CQRS. We performed our CRUD operations with "Command" services and our query operations with "Query" services. Two separate services appeared as follows.
Read moreSearch
Categories
Tags
- ASP.NET Core
- AWS
- Actor Model
- Bootstrap
- CQRS
- CloudRun
- Comprehend
- Continous Integration
- Couchbase
- Dapp
- Dapr
- Devops
- DynamoDB
- E2E Tests
- ElasticCache
- Ethereum
- Event Sourcing
- Event Store
- GCP
- Ganache
- GeoSearch
- Integration Tests
- JavaScript
- Jenkins
- Kubernetes
- Lambda
- MetaMask
- Microsoft Orleans
- Node.js
- Serverless
- Smart Contract
- Truffle
- Unit Tests
- VueJS
- Web3
- xUnit