ASP.NET Core 9 Web API Cookbook
eBook Details:
- Paperback: 344 pages
- Publisher: WOW! eBook (April 24, 2025)
- Language: English
- ISBN-10: 1835880355
- ISBN-13: 978-1835880357
eBook Description:
ASP.NET Core 9 Web API Cookbook: Over 60 hands-on recipes for building and securing enterprise web APIs with REST, GraphQL, and more. Embrace the future of web API development with ASP.NET Core 9 from REST best practices to real-time SignalR, and from HybridCache to .NET Aspire deployment through hands-on recipes and proven methodologies.
Discover what makes ASP.NET Core 9 a powerful and versatile framework for building modern web APIs that are both scalable and secure. This comprehensive, recipe-based ASP.NET Core 9 Web API Cookbook leverages the authors’ decade-long experience in software development to equip developers with the knowledge to create robust web API solutions using the framework’s most powerful features.
Designed for intermediate to advanced .NET developers, this cookbook contains hands-on recipes that demonstrate how to efficiently build, optimize, and secure APIs using this cutting-edge technology. You’ll master essential topics, such as creating RESTful APIs, implementing advanced data access strategies, securing your APIs, creating custom middleware, and enhancing your logging capabilities. The book goes beyond traditional API development by introducing GraphQL, SignalR, and gRPC, offering insights into how these technologies can extend the reach of your APIs. To prepare you for real-world challenges, the recipes cover testing methodologies, cloud deployment, legacy system integration, and advanced concepts like microservices and Hangfire.
- Implement HybridCache with stampede protection to replace distributed and in-memory caches
- Perform unit, integration, and contract testing to ensure robustness and reliability
- Optimize API performance using output and response caching with tag-based invalidation
- Design custom middleware for rate limiting, centralized exception handling, health checks, and more
- Streamline API troubleshooting using Serilog’s structured logging and Seq’s powerful log visualization for quick insights
- Secure your APIs with authentication, authorization, and HTTPS enforcement
By the end of this ASP.NET Core 9 Web API Cookbook, you’ll gain the expertise needed to build and manage enterprise-grade web APIs with ASP.NET Core 9.