For some projects the current template becomes challenging from an implementation point of view, sometimes becoming a silver bullet.
The vast majority of projects solve themselves with the current architecture, where others have a high business complexity.
To this end, the portfolio of new architectural standards could be used.
Following the microservices architecture style, services should be leaner and easier to adopt.
MinimalApis and ApiEndpoints can help for this evolution, we could use and extract the need for the MVC pattern and use the REPR Design Pattern (Request-Endpoint-Response).
FastEndpoint is a great framework containing all the built-in components needed to implement Minimal APIs. (Routing, Mapping, Validation, etc.), besides that avoid a lot of boilerplate code, also supporting security, OpenAPI/Swagger, etc,
I strongly believe this component deserves a try, following the idea of request/response and delegating, FluentValidation at model binding and so on.
For some projects the current template becomes challenging from an implementation point of view, sometimes becoming a silver bullet. The vast majority of projects solve themselves with the current architecture, where others have a high business complexity. To this end, the portfolio of new architectural standards could be used. Following the microservices architecture style, services should be leaner and easier to adopt. MinimalApis and ApiEndpoints can help for this evolution, we could use and extract the need for the MVC pattern and use the REPR Design Pattern (Request-Endpoint-Response).
FastEndpoint is a great framework containing all the built-in components needed to implement Minimal APIs. (Routing, Mapping, Validation, etc.), besides that avoid a lot of boilerplate code, also supporting security, OpenAPI/Swagger, etc,
I strongly believe this component deserves a try, following the idea of request/response and delegating, FluentValidation at model binding and so on.