nebula-software-systems / nebula.caching Goto Github PK
View Code? Open in Web Editor NEWMake your dotnet core apps shine by using caching without cluttering your projects.
License: MIT License
Make your dotnet core apps shine by using caching without cluttering your projects.
License: MIT License
Hi. I just saw your document on dev.to. I think it's a nice project. I hope it gets where you want it to go. However, in my humble opinion, the architecture of the project is a bit off. Currently, your project doesn't have any solution file and is a single project only built on Redis. You need to create a solution and split your project into several different ones.
For example, initially, you need two projects: Nebula.Caching.Core and Nebula.Caching.RedisCache:
Nebula.Caching.Core: This is a core project where you have all of your interfaces and all caching system-independent DTOs. And the core mechanics.
Nebula.Caching.RedisCache: This is a project that contains all things related to Redis. Caching, key generations, etc. It has Nebula.Caching.Core reference and all necessary implementations of the interfaces that you defined in the core project.
So your core code will work independently of caching over interfaces.
Then you can release Nebula.Caching.RedisCache nuget package and users can use your library with redis.
After that, when you want to implement more libraries, caching systems you can easily implement them in your system by adding another project to your solution. The new caching systems will also just implement the caching stuff and all necessary interfaces comes from core project and your code will work with the new caching system.
For example:
After that, users who want to use Redis can use the system by adding the Nebula.Caching.RedisCache NuGet package to their projects, and users who want to use in-memory cache can use the system by adding the Nebula.Caching.InMemory NuGet package to their projects.
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.