In this two-part deep dive session, Phil will show you the power of building RESTful services with ASP.NET Core. We start at the top, with the philosophy of .NET 6 and ASP.NET 6. I then cover building and configuring the web host, dependency injection and the options pattern, environmental awareness and configuration, logging with Serilog, and controllers and routing. Phil will then cover explicit and implicit model binding and validation, followed by detailing functionality added when using the ApiController attribute, including binding source parameter inference and how to customize the provided behavior. The next major topics that he covers is versioning APIs, documentation with Open API, and making sure the two work well together. Finally, we cover securing your API with basic authentication.
You will learn:
- Foundations of ASP.NET Core
- Building RESTful services with ASP.NET Core
- Documenting services with swagger