E-book details

Minimal APIs in ASP.NET 9. Design, implement, and optimize robust APIs in C# with .NET 9  - Second Edition

Minimal APIs in ASP.NET 9. Design, implement, and optimize robust APIs in C# with .NET 9 - Second Edition

Nick Proud

Ebook
Written by an esteemed technology leader, a .NET specialist, and Microsoft MVP for Developer Technologies, Minimal APIs in ASP.NET 9 provides you with specialized insights into the latest advancements in .NET technology, particularly minimal APIs.
You’ll get your first minimal API set up and running, before exploring the anatomy of a typical minimal API project, seeing how the framework can be used to create various HTTP endpoints, route, and validate requests, as well as enhancing those requests with custom middleware. After covering the basics, you’ll move on to data mapping, managing important dependencies through dependency injection and integrating your minimal APIs with data sources such as Entity Framework, Dapper, and SQL databases for creating CRUD operations. The chapters also walk you through performance optimization, asynchronous programming, and caching, which’ll allow you to examine the more advanced aspects of minimal API development, with code examples reflecting real-world scenarios.
By the end of this book, you’ll be armed with the necessary best practices and skills needed for deploying performant, elegant, and scalable minimal APIs in .NET.
  • 1. Getting Up and Running with Minimal API Development
  • 2. Creating Your First Minimal API
  • 3. The Anatomy of a Minimal API
  • 4. Handling HTTP Methods and Routing
  • 5. The Middleware Pipeline
  • 6. Parameter Binding
  • 7. Dependency Injection in Minimal APIs
  • 8. Integrating Minimal APIs with Data Sources
  • 9. Object Relational Mapping with Entity Framework Core and Dapper
  • 10. Profiling and Identifying Bottlenecks
  • 11. Utilizing Asynchronous Programming for Scalability
  • 12. Caching Strategies for Enhanced Performance
  • 13. Best Practices for Minimal API Resiliency
  • 14. Unit Testing, Compatibility, and Deployment of Minimal APIs
  • Title: Minimal APIs in ASP.NET 9. Design, implement, and optimize robust APIs in C# with .NET 9 - Second Edition
  • Author: Nick Proud
  • Original title: Minimal APIs in ASP.NET 9. Design, implement, and optimize robust APIs in C# with .NET 9 - Second Edition
  • ISBN: 9781805123545, 9781805123545
  • Date of issue: 2024-12-06
  • Format: Ebook
  • Item ID: e_44fa
  • Publisher: Packt Publishing