Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create an API Gateway/Proxy project template that uses YARP #51353

Open
DamianEdwards opened this issue Oct 13, 2023 · 8 comments
Open

Create an API Gateway/Proxy project template that uses YARP #51353

DamianEdwards opened this issue Oct 13, 2023 · 8 comments
Labels
area-middleware Includes: URL rewrite, redirect, response cache/compression, session, and other general middlewares area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions feature-templates

Comments

@DamianEdwards
Copy link
Member

We should consider adding a project template that makes it easy to get started building an API Gateway / Reverse Proxy using YARP.

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates label Oct 13, 2023
@DamianEdwards DamianEdwards added feature-templates and removed area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates labels Oct 13, 2023
@davidfowl
Copy link
Member

@Tratcher
Copy link
Member

dotnet/yarp#77

@DamianEdwards
Copy link
Member Author

Yeah, I think it's worth revisiting 😃

@samsp-msft
Copy link
Member

As a nuget package that can be installed? As part of the default .NET/VS templates?

@DamianEdwards
Copy link
Member Author

As a nuget package that can be installed? As part of the default .NET/VS templates?

As part of the default I think.

@Tratcher
Copy link
Member

And more interestingly, what do you put in it? YARP doesn't need much to get started.

  • Package dependency
  • Services, Map
  • appsettings.json

https://github.com/microsoft/reverse-proxy/blob/main/samples/ReverseProxy.Minimal.Sample/Program.cs

@DamianEdwards
Copy link
Member Author

That sample looks good, and even includes config-loading which I was going to ask about.

@mkArtakMSFT mkArtakMSFT added the area-minimal Includes minimal APIs, endpoint filters, parameter binding, request delegate generator etc label Nov 17, 2023
@dotnet-policy-service dotnet-policy-service bot added the pending-ci-rerun When assigned to a PR indicates that the CI checks should be rerun label Feb 6, 2024
@wtgodbe wtgodbe removed the pending-ci-rerun When assigned to a PR indicates that the CI checks should be rerun label Feb 6, 2024
@dotnet-policy-service dotnet-policy-service bot added the pending-ci-rerun When assigned to a PR indicates that the CI checks should be rerun label Feb 6, 2024
@wtgodbe wtgodbe removed the pending-ci-rerun When assigned to a PR indicates that the CI checks should be rerun label Feb 13, 2024
@dotnet dotnet deleted a comment from dotnet-policy-service bot Feb 13, 2024
@dotnet dotnet deleted a comment from dotnet-policy-service bot Feb 13, 2024
@captainsafia captainsafia added area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions area-middleware Includes: URL rewrite, redirect, response cache/compression, session, and other general middlewares and removed area-minimal Includes minimal APIs, endpoint filters, parameter binding, request delegate generator etc labels Aug 20, 2024
@captainsafia
Copy link
Member

@samsp-msft @benjaminpetit Came across this while working through the area-minimal triage backlog. Moving this over to your corner to figure out whether this should be pursued moving forward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-middleware Includes: URL rewrite, redirect, response cache/compression, session, and other general middlewares area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions feature-templates
Projects
None yet
Development

No branches or pull requests

7 participants