Sylvan.BuildTools.Resources
FusionCache
Sylvan.BuildTools.Resources | FusionCache | |
---|---|---|
4 | 9 | |
56 | 1,480 | |
- | 13.2% | |
2.6 | 8.9 | |
4 months ago | 6 days ago | |
C# | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Sylvan.BuildTools.Resources
-
Source Generators - Is it possible to generate code and output the code to the directory structure itself, similar to the .tt templates?
I'm not much of a blogger, but this is the one topic that I've written about: https://markpflug.github.io/2018/08/23/JsonResource.html The project source code that this article was written about is available here: https://github.com/MarkPflug/Sylvan.BuildTools.Resources
-
Experiences Internationalizing .NET Products?
These issues motivated me to create an alternative to .RESX that uses build-time code generation and JSON instead of XML: Sylvan.BuildTools.Resources. It behaves almost identically to .resx, but avoids all of the issues I mentioned above.
-
Embedding Static String Resources (SQL queries in source code)
Suggesting this less-than-perfect solution of using resx spurred me to implement something better. And so I created an MSBuild-based build-time code generator for static string resources. It allows you to write structured language text files (SQL, HTML, JSON, etc) in a separate file, so as to get syntax highlighting and autocomplete, but to access with those strings as if they had been defined as string constants in your C# code. I added this functionality to a nuget package that I maintain: Sylvan.BuidTools.Resources.
-
Is it wrong to store SQL queries in source code?
Now, I typically would use my [Sylvan.BuildTools.Resources](https://github.com/markpflug/sylvan.buildtools.resources) package, which offers JSON-flavored resx equivalent, and use build-time code-gen (MSBuild) that works in any IDE.
FusionCache
-
Release Radar • March 2024 Edition
Want an easy to use cache with advanced resiliency features? Look no further than FusionCache. It's built for performance, good refresh rates, better auto-setup, better logs, and more. Congrats to the team on shipping your first major and stable version 🎉 and receiving over 3.8 million downloads.
- FusionCache Is Now v1.0
-
Caching as a cross cutting concern using MediatR's pipeline behavior
I wrote an internal nuget package for our team that does similar stuff to your work, although I called mine ICachedRequest. Unlike you I denied myself the enjoyment of exploring a custom caching solution and ended up injecting FusionCache into my mediatr behavior.
-
17 Amazing Community Packages for .NET Developers
The most undervalued library from that list is FusionCache. The rest is either well-known (like FluentAssertions) or pretty specific to the guy's experience (like the WPF stuff).
-
Multi level cache library (in memory + Redis)
The instances (using FusionCache for instance) sync over Redis pub/sub.
- What your hidden nuget gems ?
-
How to implement cache
LazyCache is amazing. Btw I'm using FusionCache and it is good too
-
Ask HN: What are some 'cool' but obscure data structures you know about?
If you are in the .NET space I suggest you to take a look at FusionCache. It has cache stampede protection built in, plus some other nice features like a fail-safe mechanism and soft/hard timeouts https://github.com/jodydonetti/ZiggyCreatures.FusionCache
What are some alternatives?
Lazy Cache - An easy to use thread safe in-memory caching service with a simple developer friendly API for c#
Cache Tower - An efficient multi-layered caching system for .NET
EasyCaching - :boom: EasyCaching is an open source caching library that contains basic usages and some advanced usages of caching which can help us to handle caching more easier!
SqliteCache for ASP.NET Core - An ASP.NET Core IDistributedCache provider backed by SQLite
NCache - NCache: Highly Scalable In-Memory Distributed Cache for .NET
CacheCow - An implementation of HTTP Caching in .NET Core and 4.5.2+ for both the client and the server
CacheManager - CacheManager is an open source caching abstraction layer for .NET written in C#. It supports various cache providers and implements many advanced features.
Akavache - An asynchronous, persistent key-value store created for writing desktop and mobile applications, based on SQLite3. Akavache is great for both storing important data as well as cached local data that expires.
SharpRepository - C# Generic Repository for use with Entity Framework, RavenDB and more with built-in caching options.
Green Donut
Electron.NET - :electron: Build cross platform desktop apps with ASP.NET Core (Razor Pages, MVC, Blazor).
RationalNumerics - .NET library for rational arithmetic based on a stack machine.