Code Monkey home page Code Monkey logo

yarp-samples's Introduction

yarp-samples's People

Contributors

cecilphillip avatar cecilphillip-stripe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

yarp-samples's Issues

Proxy not working?

Hi,
I loaded up the project "CodeConfigSample"

As you can see I do have the items api loaded:
Screenshot 2023-01-25 at 01 46 21

I also get routes from http://0.0.0.0:5000/yarp/routes.

So why do I get a 404 when trying to access http://0.0.0.0:5000/api/items?

Thanks,
Jamie

HTTP/2 version support

Hello Cecil
Sorry for bothering you, as I'm not actually a developer, but as DevOps I would like to use your LoadBalancer example in my infrastructure to balance the GRPC calls. And as you know it's possible only on HTTP/2. Is it possible to add to your LBProxy web app the HTTP/2 support? Or maybe it's already there and I missed something?
I'll be grateful for your comment and help.
Thanks

Combine ConsulMonitorWorker and ConsulProxyConfigProvider?

Is there any reason ConsulMonitorWorker and ConsulProxyConfigProvider need to be separate? The BackgroundService gives you start and stop signals, but ConsulProxyConfigProvider can do those itself. E.g. it can start in the constructor or the first GetConfig call. To stop it can implement IDisposable to be called by the DI container at shutdown. Combining them would avoid this awkward downcast:

(_proxyConfigProvider as ConsulProxyConfigProvider)?.Update(routes, clusters);

See this example:
https://github.com/microsoft/reverse-proxy/pull/257/files#diff-f67c6e9d4c32a1627a189f8612f591dcR23

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.