Verwandte Artikel zu YARP Reverse Proxy with ASP.NET Core 10: Design Secure...

YARP Reverse Proxy with ASP.NET Core 10: Design Secure and Scalable API Gateway Infrastructure for Modern .NET Distributed Systems - Softcover

Verne, Lucian

 
9798194695706: YARP Reverse Proxy with ASP.NET Core 10: Design Secure and Scalable API Gateway Infrastructure for Modern .NET Distributed Systems

Inhaltsangabe

Managing traffic across multiple .NET services can quickly become complicated. Routing, security, load balancing, failed backends, protocol handling, and observability all create new challenges as applications grow.

YARP Reverse Proxy with ASP.NET Core 10 provides a practical, step-by-step guide to building secure, scalable, and programmable API gateway infrastructure with C#, ASP.NET Core 10, and YARP.

You do not need previous experience with YARP, reverse proxies, API gateways, load balancing, service discovery, WebSockets, gRPC, or distributed tracing. Basic familiarity with C# and ASP.NET Core is helpful, and every YARP-specific concept is introduced before it is used.

Instead of overwhelming you with large code listings, the book develops one practical system—ParcelFlow—in small, connected steps. You will configure each capability, verify that it works, deliberately examine common failures, and build confidence as the gateway grows from a simple reverse proxy into production-ready infrastructure.

Mistakes are treated as part of learning. A route that fails to match, an unhealthy destination, an authorization problem, or a TLS error becomes an opportunity to understand how the gateway works and how to diagnose it.

Key Features
  • Build a working YARP reverse proxy and API gateway with ASP.NET Core 10

  • Learn through a cumulative, practical distributed-system project

  • Configure routes, clusters, destinations, transforms, and traffic policies

  • Implement load balancing, active and passive health checks, and resilience

  • Secure APIs with JWT authentication, authorization, rate limiting, and TLS

  • Extend YARP with custom middleware, transforms, metadata, and IHttpForwarder

  • Support dynamic configuration, service discovery, WebSockets, and gRPC

  • Add structured logging, OpenTelemetry tracing, metrics, and diagnostics

  • Test performance, troubleshoot failures, containerize the gateway, and prepare for Kubernetes deployment

What You Will Learn

You will learn how to design routing rules, transform requests and responses, distribute traffic across healthy destinations, manage timeouts and failures, secure protected routes, configure trusted forwarding, inspect and extend the proxy pipeline, reload configuration safely, discover services dynamically, proxy WebSocket and gRPC traffic, implement observability, measure gateway performance, and operate stateless YARP gateways in production.

Who This Book Is For

This book is ideal for:

  • C# and ASP.NET Core developers new to YARP

  • Backend and microservices developers

  • .NET developers learning reverse-proxy and API-gateway engineering

  • Software architects working with distributed .NET systems

  • Platform and cloud engineers

  • Self-learners who prefer practical, guided implementation

Table of Contents

Chapter 1: Reverse Proxy and API Gateway Engineering with YARP
Chapter 2: Designing Routes, Clusters, and Destinations
Chapter 3: Transforming and Forwarding Requests
Chapter 4: Load Balancing, Health Management, and Resilience
Chapter 5: Securing the YARP API Gateway
Chapter 6: Extending the YARP Proxy Pipeline
Chapter 7: Dynamic Configuration, Service Discovery, and Protocol Routing
Chapter 8: Observability and Gateway Diagnostics
Chapter 9: Testing and Performance Engineering
Chapter 10: Deploying and Operating YARP in Production

Move beyond simply forwarding requests. Start building secure, observable, scalable, and programmable gateway infrastructure with YARP and ASP.NET Core 10 today.

Die Inhaltsangabe kann sich auf eine andere Ausgabe dieses Titels beziehen.