Minimal APIs with .Net 7
.Net 7
Minimal APIs
Minimal APIs, released as part of the .NET 6, introduced a simpler way to define endpoints in a .NET API application. Controllers packed with route and authentication attributes were no longer required and a developer could spin up a working application with fewer than 20 lines of code. While .NET 6 minimal APIs were great for simple implementations, many features were missing. In .NET 7, we have access to new features like route grouping, typed results, and endpoint filters. In this session, I'll show you how to create a new minimal API project in .NET 7 and how to use the new features.
Prerequisites
Be familiar with REST APIs
Take Aways
- Discover a simpler way to create your APIs in .NET