ASP.NET Core 9 Web API Cookbook
Over 60 hands-on recipes for building and securing enterprise web APIs with REST, GraphQL, and more

EPUB · English
Price and availability
EPUB eBookUS store
$34.99
Sign in to buyYou’ll review your order and final price before payment.
Download from your library after delivery. Protected eBooks need a compatible reading app.
For personal use under the eBook licence.
Territorial availability
Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa
Publisher rights cover these stores: US, UK, Canada, EU, Australia. Checkout availability is shown above.
- Format
- EPUB
- DRM
- Not stated by the publisher
- Language
- English
- Publisher
- Packt Publishing
- Published
- 24 April 2025
- ISBN
- 9781835880357
- Subjects
About this book
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 methodologiesFree with your book: DRM-free PDF version + access to Packt's next-gen Reader*Key FeaturesMaster the lifecycle of ASP.NET Core web APIs by confidently building, testing, monitoring, and securing your applicationsExplore advanced topics like GraphQL, SignalR, and microservices to create feature-rich APIsDiscover cloud deployment strategies to ensure your APIs are ready for modern infrastructurePurchase of the print or Kindle book includes a free PDF eBookBook DescriptionDiscover 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. *Email sign-up and proof of purchase requiredWhat you will learnImplement HybridCache with stampede protection to replace distributed and in-memory cachesPerform unit, integration, and contract testing to ensure robustness and reliabilityOptimize API performance using output and response caching with tag-based invalidationDesign custom middleware for rate limiting, centralized exception handling, health checks, and moreStreamline API troubleshooting using Serilog's structured logging and Seq's powerful log visualization for quick insightsSecure your APIs with authentication, authorization, and HTTPS enforcementWho this book is forThis book is for intermediate to advanced developers whether you're a .NET, backend, full-stack, or DevOps professional looking to build and secure APIs with ASP.NET Core. It s also ideal for those experienced in Java or Go who want to transition to ASP.NET Core, or developers familiar with C# and .NET aiming to deepen their API skills. A working knowledge of web APIs and the .NET ecosystem is assumed, so you can jump straight into practical recipes]]>
Bibliographic data © Gardners Books Ltd.