clay-one / hydrogen Goto Github PK
View Code? Open in Web Editor NEWHydrogen is a set of common libraries for .NET Core and Framework projects
License: MIT License
Hydrogen is a set of common libraries for .NET Core and Framework projects
License: MIT License
If we use WeakReference, it allows the cached object to be GCed when low on memory, so the user of the cache library can aggressively cache items without worrying about the memory usage.
Can be refactored from Nebula
Currently, the identifier for a cache instance is the type tuple of key and value.
This means there can't be two different caches with the same key/value types. Eg. we can't have two different set of caches of <string, string>
.
The design should change in a way that allows this, as this limitation have been problematic in some use cases.
Much like the ASP.NET OWIN which had an OwinContext
, There is also an IDictionary<object, object>
in ASP.NET Core's HttpContext.Items
property. It would be nice to have some kind of helper to ease the access of such items in order to not to inject HttpContextAccessor
everywhere.
The following work of Steve Gordon might be helpful:
https://github.com/stevejgordon/CorrelationId
The code to generate API access log is redundant in many projects, and can be unified in a common library with easy configuration on the OWIN or AspNetCore pipeline with a single extension method.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.