Search code examples
asp.netasp.net-web-apiminimal-apisardalis-cleanarchitecture

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


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.


Solution

  • 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