Tech Tutorials Database
GeekArticles Microsoft Microsoft.NET
 

Add minimal APIs to the Startup class

 
Author: dotnetbips.com
Category: Microsoft.NET
Comments (0)

In the previous article of this series we discussed integrating ASP.NET Core Identity with JWT and minimal APIs. Minimal APIs are introduced as a part of ASP.NET Core 6.0. All the new project templates in Visual Studio 2022 use the new way of application startup. However, you might be migrating an older project to ASP.NET Core 6.0 and you may want to continue using the Startup class based application initialization. What if you want to create minimal APIs in such cases? Can they be defined in the Startup class? what we are going to discuss in this part of this multipart article series.

Read More...




Sponsored Links




Read Next: Six ways to organize minimal APIs in ASP.NET Core applications



 

 

Comments