I-Synergy.Framework.Aspire.Proxy 2025.10706.11957.9-preview

Prefix Reserved
This is a prerelease version of I-Synergy.Framework.Aspire.Proxy.
dotnet add package I-Synergy.Framework.Aspire.Proxy --version 2025.10706.11957.9-preview
                    
NuGet\Install-Package I-Synergy.Framework.Aspire.Proxy -Version 2025.10706.11957.9-preview
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="I-Synergy.Framework.Aspire.Proxy" Version="2025.10706.11957.9-preview" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="I-Synergy.Framework.Aspire.Proxy" Version="2025.10706.11957.9-preview" />
                    
Directory.Packages.props
<PackageReference Include="I-Synergy.Framework.Aspire.Proxy" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add I-Synergy.Framework.Aspire.Proxy --version 2025.10706.11957.9-preview
                    
#r "nuget: I-Synergy.Framework.Aspire.Proxy, 2025.10706.11957.9-preview"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package I-Synergy.Framework.Aspire.Proxy@2025.10706.11957.9-preview
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=I-Synergy.Framework.Aspire.Proxy&version=2025.10706.11957.9-preview&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=I-Synergy.Framework.Aspire.Proxy&version=2025.10706.11957.9-preview&prerelease
                    
Install as a Cake Tool

I-Synergy Framework AspNetCore Proxy

This is a library based on David Fowlers project that shows how use YARP with .Net Aspire in development to route between multiple services.

Getting Started

There are 2 ways to use the YARP resource:

  1. Code based routes
var builder = DistributedApplication.CreateBuilder(args);

var app1 = builder.AddProject<Projects.WebApplication1>("app1");

var app2 = builder.AddProject<Projects.WebApplication2>("app2");

builder.AddProxy("ingress")
       .WithEndpoint(hostPort: 80, scheme: "http")
       .Route("app1", path: "/app1", target: app1)
       .Route("app2", path: "/app2", target: app2);

builder.Build().Run();
  1. Configuration based routes
var builder = DistributedApplication.CreateBuilder(args);

var app1 = builder.AddProject<Projects.WebApplication1>("app1");

var app2 = builder.AddProject<Projects.WebApplication2>("app2");

builder.AddProxy("ingress")
    .WithEndpoint(hostPort: 80, scheme: "http")
    .WithReference(app1)
    .WithReference(app2)
    .LoadFromConfiguration("ReverseProxy");

builder.Build().Run();
{
  "ReverseProxy": {
    "Routes": {
      "app1": {
        "ClusterId": "app1",
        "Match": {
          "Path": "/app1"
        },
        "Transforms": [
          { "PathRemovePrefix": "/app1" }
        ]
      },
      "app2": {
        "ClusterId": "app2",
        "Match": {
          "Path": "/app2"
        },
        "Transforms": [
          { "PathRemovePrefix": "/app2" }
        ]
      }
    },
    "Clusters": {
      "app1": {
        "Destinations": {
          "app1": {
            "Address": "http://app1"
          }
        }
      },
      "app2": {
        "Destinations": {
          "app2": {
            "Address": "http://app2"
          }
        }
      }
    }
  }
}
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2025.10706.11957.9-preview 130 7/6/2025