8
Building and Securing Web Services Using Minimal APIs
This chapter is about building and securing web services using ASP.NET Core Minimal APIs. This includes implementing techniques to protect a web service from attacks as well as authentication and authorization.
This chapter will cover the following topics:
- Building web services using ASP.NET Core Minimal APIs
- Relaxing the same origin security policy using CORS
- Preventing denial of service attacks using rate limiting
- Improving startup time and resources using native AOT
- Understanding identity services
Building web services using ASP.NET Core Minimal APIs
In older versions of ASP.NET Core, you would build a web service using controllers with an action method for each endpoint, a bit like ...
Get Apps and Services with .NET 8 - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.