, Graščina Gratiosa
Level: 200
Development
For quite a while, ASP.NET Core MVC was the only choice when writing REST APIs with ASP.NET Core. It is still a good and valid choice, especially for more complex REST APIs. However, we now have a new way of defining web APIs, for simpler REST APIs, microservice-oriented projects, and simple web apps. Minimal APIs come without the overhead and kitchen-sink approach of MVC. We'll look into the supported features, how they compare with MVC, how Minimal APIs can be extended with libraries like Carter, and what the future brings for Minimal APIs.