Ajdvoynos.Template.YARP-Basic 0.0.2

dotnet new install Ajdvoynos.Template.YARP-Basic::0.0.2                
This package contains a .NET Template Package you can call from the shell/command line.

Yarp.Basic.Template

Project Template to quickly setup a basic reverse proxy using YARP. This template generates a simple .Net6 web app with the default options as found in the YARP Getting Started documentation page.

Installation:

dotnet new -i Ajdvoynos.Template.YARP-Basic

Usage:

dotnet new yarp-basic -f https://yourUrlHere && dotnet run

The only required argument is -f which is the URL where the requests will be proxied to.

Installation without npm:

Download the repository and run dotnet new -i templates/yarp-basic/.

After any changes to the template you need to reinstall the package and clear the cache by running:

dotnet new -u templates\yarp-basic && dotnet new -i templates\yarp-basic && dotnet new --debug:rebuildcache

Publishing

To publish the package, you need to run dotnet pack, this will generate a .nupkg file that you can publish to nuget.

  • net6.0

    • No dependencies.

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
0.0.2 1,191 9/1/2022
0.0.1 259 9/1/2022