
ASP.NET 9 Core Web API Cookbook
Recipes for building and securing modern web APIs with the power of REST, GraphQL, and more
By: Luke Avedon, Garry Cabrera
Paperback | 24 April 2025
At a Glance
Paperback
$83.65
This title is not currently in stock at the Booktopia Warehouse and needs to be ordered from our supplier.
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
Key Features:
- Master the lifecycle of ASP.NET Core web APIs by confidently building, testing, monitoring, and securing your applications
- Explore advanced topics like GraphQL, SignalR, and microservices to create feature-rich APIs
- Discover cloud deployment strategies to ensure your APIs are ready for modern infrastructure
- Purchase of the print or Kindle book includes a free PDF eBook
Book Description:
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 guide 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.
By the end of this book, you'll gain the expertise needed to build and manage enterprise-grade web APIs with ASP.NET Core 9.
What You Will Learn:
- 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
Who this book is for:
This book is for intermediate to advanced .NET developers, backend developers, full-stack engineers, and DevOps professionals who want to master the art of building and securing APIs with ASP.NET Core 9. If you're experienced in Java or Go and looking to transition into ASP.NET Core, or if you're already familiar with C# and .NET and want to enhance your API development skills, this book is for you. Working knowledge of web APIs and the .NET ecosystem is expected, ensuring you can dive right into the practical recipes.
Table of Contents
- Practical Data Access in ASP.NET Core Web APIs
- Mastering Resource Creation and Validation
- Securing Your Web API
- Creating Custom Middleware
- Creating Comprehensive Logging Solutions
- Real-Time Communication with SignalR
- Building Robust API Tests: a Guide to Unit and Integration Testing
- GraphQL: Designing Flexible and Efficient APIs
- Deploying and Managing Your WebAPI in the Cloud
- The Craft of Caching
- Beyond the Core
ISBN: 9781835880340
ISBN-10: 1835880347
Published: 24th April 2025
Format: Paperback
Language: English
Number of Pages: 344
Audience: Professional and Scholarly
Publisher: Packt Publishing
Dimensions (cm): 23.5 x 19.05 x 1.83
Weight (kg): 0.59
Shipping
Standard Shipping | Express Shipping | |
---|---|---|
Metro postcodes: | $9.99 | $14.95 |
Regional postcodes: | $9.99 | $14.95 |
Rural postcodes: | $9.99 | $14.95 |
How to return your order
At Booktopia, we offer hassle-free returns in accordance with our returns policy. If you wish to return an item, please get in touch with Booktopia Customer Care.
Additional postage charges may be applicable.
Defective items
If there is a problem with any of the items received for your order then the Booktopia Customer Care team is ready to assist you.
For more info please visit our Help Centre.