Why `ardalis/CleanArchitecture` reference FastEndpoints but not it's own `ardalis/ApiEndpoints`

780 Views Asked by At

Just need a clarification.

I was keen on referencing ApiEndpoints in one of my projects. But when I am browsing the ardalis/CleanArchitecture repo I noted it has been using FastEndpoints ref.

The question is why they have deviated from their own implementation and use another lib for the same purpose.

Appreciate your feedback.

2

There are 2 best solutions below

0
On BEST ANSWER

Maybe because the performance of FastEndpoints is much better than the Ardalis implementation. However, in both of them you can implement the CleanArchitecture.

In my opinion, using FastEndpoints give you more flexibility, easier, yet better performance.


Update:

Steve mentioned it in this tweet

0
On

The template gives examples of using multiple libraries/frameworks including FastEndpoints (example), Ardalis.ApiEndpoints (example), and MVC (example).