Coder Social home page Coder Social logo

blockchyp-csharp's People

Contributors

devops-blockchyp avatar intricate avatar jniedrauer avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

intricate

blockchyp-csharp's Issues

BlockChypException for timeouts

Not necessary at all, but it might be nice to have a sort of BlockChypException that is thrown when an endpoint such as charge or preauth timeout. Right now you will get an HttpRequestException but it feels a bit clunky to have to understand what the BlockChypClient is utilizing under-the-hood in order to effectively handle this exception. I imagine that, visually, it'd be a bit more intuitive to catch a sort of BlockChypException to handle a timeout.

Utilize MemoryCache instead of a custom cache implementation?

It seems that TerminalRouteCache could perhaps benefit from composing with or inheriting from .NET's System.Runtime.Caching.MemoryCache. For C#/.NET devs this might expose a more familiar interface.

It's also worth looking at the source code for MemoryCache's internal MemoryCacheStore. I'm not sure whether it's worth reimplementing much of this functionality when it seems that you'd just like to expand upon it (e.g. utilizing a cache located on the filesystem).

But perhaps I'm missing the bigger picture and, for some reason, MemoryCache isn't a good fit?

Thoughts?

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.