Skip to content

ajdvoynos/Yarp.Basic.Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 from source (git clone this repo):

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.

About

Template to quickly setup a basic reverse proxy using YARP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages