You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,7 @@ A microservice consists of:
69
69
-**Queries**: Queries used to get data when client wants to read data.
70
70
-**Commands**: Commands used to write data when client wants to modify data.
71
71
-**EventHandlers**: Handlers for events to take action when events are being published.
72
-
-**Repository**: Repository used with eventsourcing when modifying data in the application. This will also publish the correct events.
72
+
-**Repository**: Repository used with event sourcing when modifying data in the application. This will also publish the correct events.
73
73
74
74
Next to the microservice is the data model. This contain the migrations, models and update handlers (if using event sourcing) for the database.
75
75
<br />
@@ -81,7 +81,7 @@ Infrastructure contains the logic for the different services and keeps most of t
81
81
82
82
-[Consul](#Consul)
83
83
-[Core](#Core)
84
-
-[Eventstore](#Eventstore)
84
+
-[EventStore](#EventStore)
85
85
-[Logging](#Logging)
86
86
-[MessageBrokers](#MessageBrokers)
87
87
-[Outbox](#Outbox)
@@ -122,10 +122,10 @@ Core contain basic functionalities and must be imported most of the other servic
122
122
123
123
`AddCore` is used with a type from each project that needs to include CQRS.
124
124
125
-
#### Eventstores
126
-
Event store is a database where all events published in the application are stored. This is used with eventsourcing and will be a write model for the application.
125
+
#### Event stores
126
+
Event store is a database where all events published in the application are stored. This is used with event sourcing and will be a write model for the application.
127
127
128
-
At the moment the eventstores supported are *MongoDb* and *EF core*.
128
+
At the moment the event stores supported are *MongoDb* and *EF core*.
129
129
130
130
`AddEventStore` is used with the aggregate as the type, and the Configuration and DbContextOptionsBuilder (only used with EF core) to include event store in the application.
0 commit comments