Tag : Event Sourcing (3)

Event Sourcing with ASP.NET Core - 02 Messaging

07.11.2022

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.

Event 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…

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 more

Event Sourcing with ASP.NET Core - 01 Store

07.11.2022

1. Introduction

I recommend you to read the article below before applying this example tutorial.

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…

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

Read more

What is Event Sourcing?

26.03.2022

Previously, our services would be as follows.

Application Services 01
Application Services 01

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 more
Made with ASP.NET Core