Milan Jovanović (@mjovanovictech) 's Twitter Profile
Milan Jovanović

@mjovanovictech

Practical .NET and Software Architecture Tips | Microsoft MVP

📰 The .NET Weekly: bit.ly/45T0U7i

▶️ YouTube: youtube.com/@MilanJovanovi…

ID: 1541479855660961792

linkhttps://bit.ly/45T0U7i calendar_today27-06-2022 17:54:38

15,15K Tweet

40,40K Takipçi

725 Takip Edilen

Milan Jovanović (@mjovanovictech) 's Twitter Profile Photo

I like my API endpoints "thin" - something you can achieve with MediatR. Here's why you should implement this. The API endpoint's only responsibility becomes: 1. Accepting a request 2. Constructing a command/query object 3. Sending it using MediatR and getting a result The

I like my API endpoints "thin"  - something you can achieve with MediatR.

Here's why you should implement this.

The API endpoint's only responsibility becomes:

1. Accepting a request
2. Constructing a command/query object
3. Sending it using MediatR and getting  a result

The