Skip to content

Commit

Permalink
rename folders - round 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Aibono1225 committed May 11, 2024
1 parent 79ae948 commit 80febaf
Show file tree
Hide file tree
Showing 17 changed files with 36 additions and 36 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
---
type: rule
title: Do you know why YARP is awesome?
uri: do-you-know-yarp-is-awesome
authors:
- title: Ozair Ashfaque
url: https://www.ssw.com.au/people/ozair-ashfaque/
- title: William Liebenberg
url: https://www.ssw.com.au/people/william-liebenberg/
- title: Christian Morford-Waite
url: https://www.ssw.com.au/people/christian-morford-waite/
created: 2023-11-22T22:33:15.448Z
guid: c86ca5a3-a44a-441f-8804-8b67d0b589bc

---

YARP, or Yet Another Reverse Proxy, is a .NET toolkit designed for building fast proxy servers. It seamlessly integrates with ASP.NET and .NET infrastructure, offering easy customization to suit specific deployment needs. YARP operates within the ASP.NET pipeline, handling incoming requests and utilizing its sub-pipeline for proxying requests to backend servers. Users can extend functionality by adding or replacing modules as required.

YARP uses the concept of **Routes** to represent request patterns for the proxy and **Clusters** to represent the services to forward those requests.

<!--endintro-->

![Figure: YARP is a reverse proxy that acts as the public endpoint for a site or service and forwards calls to backend servers](reverse-proxy.png)

**Source:** [Announcing YARP 1.0 Release](https://devblogs.microsoft.com/dotnet/announcing-yarp-1-0-release/)

### ✅ Advantages of YARP

Numerous API gateways and reverse proxy implementations, including [NGINX](https://www.nginx.com/) and [Ocelot](https://github.com/ThreeMammals/Ocelot), are already available for use. However, YARP distinguishes itself with its unique attributes. YARP seamlessly integrates into the ASP.NET environment, offering effortless customization to meet specific requirements. YARP offers a comprehensive set of features for building and managing reverse proxy solutions, including:

* **Dynamic route definitions:** Enables the definition of routes in a dynamic configuration, allowing flexibility in specifying how incoming requests are handled
* **Extensible pipeline model:** Customize the proxy behavior using a modular pipeline architecture
* **Load balancing:** Employ various load-balancing algorithms to distribute traffic effectively
* **Session Affinity:** Ensures that requests from a specific client are consistently directed to the same destination server, promoting continuity and predictability in the user experience
* **Request and response transformation:** Allows developers to apply transformations to requests sent to or responses received from destination servers. This feature facilitates the customization of data before it reaches its destination
* **Route-level authorization and CORS:** Permits the specification of authorization and Cross-Origin Resource Sharing (CORS) settings on a per-route basis. This ensures fine-grained control over access and security policies for different routes
---
type: rule
title: Do you know why YARP is awesome?
uri: do-you-know-yarp-is-awesome
authors:
- title: Ozair Ashfaque
url: https://www.ssw.com.au/people/ozair-ashfaque/
- title: William Liebenberg
url: https://www.ssw.com.au/people/william-liebenberg/
- title: Christian Morford-Waite
url: https://www.ssw.com.au/people/christian-morford-waite/
created: 2023-11-22T22:33:15.448Z
guid: c86ca5a3-a44a-441f-8804-8b67d0b589bc

---

YARP, or Yet Another Reverse Proxy, is a .NET toolkit designed for building fast proxy servers. It seamlessly integrates with ASP.NET and .NET infrastructure, offering easy customization to suit specific deployment needs. YARP operates within the ASP.NET pipeline, handling incoming requests and utilizing its sub-pipeline for proxying requests to backend servers. Users can extend functionality by adding or replacing modules as required.

YARP uses the concept of **Routes** to represent request patterns for the proxy and **Clusters** to represent the services to forward those requests.

<!--endintro-->

![Figure: YARP is a reverse proxy that acts as the public endpoint for a site or service and forwards calls to backend servers](reverse-proxy.png)

**Source:** [Announcing YARP 1.0 Release](https://devblogs.microsoft.com/dotnet/announcing-yarp-1-0-release/)

### ✅ Advantages of YARP

Numerous API gateways and reverse proxy implementations, including [NGINX](https://www.nginx.com/) and [Ocelot](https://github.com/ThreeMammals/Ocelot), are already available for use. However, YARP distinguishes itself with its unique attributes. YARP seamlessly integrates into the ASP.NET environment, offering effortless customization to meet specific requirements. YARP offers a comprehensive set of features for building and managing reverse proxy solutions, including:

* **Dynamic route definitions:** Enables the definition of routes in a dynamic configuration, allowing flexibility in specifying how incoming requests are handled
* **Extensible pipeline model:** Customize the proxy behavior using a modular pipeline architecture
* **Load balancing:** Employ various load-balancing algorithms to distribute traffic effectively
* **Session Affinity:** Ensures that requests from a specific client are consistently directed to the same destination server, promoting continuity and predictability in the user experience
* **Request and response transformation:** Allows developers to apply transformations to requests sent to or responses received from destination servers. This feature facilitates the customization of data before it reaches its destination
* **Route-level authorization and CORS:** Permits the specification of authorization and Cross-Origin Resource Sharing (CORS) settings on a per-route basis. This ensures fine-grained control over access and security policies for different routes
File renamed without changes.
File renamed without changes.

0 comments on commit 80febaf

Please sign in to comment.