Description
SharpRepository is a generic repository written in C# which includes support for various relational, document and object databases including Entity Framework, RavenDB, MongoDb and Db4o. SharpRepository includes Xml and
InMemory repository implementations as well.
SharpRepository offers built-in caching options for AppFabric, Memcached and standard System.Runtime.Caching. SharpRepository also supports Specifications, FetchStrategies,
Batches and Traits.
SharpRepository alternatives and similar packages
Based on the "Caching" category.
Alternatively, view SharpRepository alternatives based on common mentions on social networks and blogs.
-
Electron.NET
:electron: Build cross platform desktop apps with ASP.NET Core (Razor Pages, MVC, Blazor). -
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. -
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! -
Lazy Cache
An easy to use thread safe in-memory caching service with a simple developer friendly API for c# -
Shiny for Microsoft Application UI (MAUI), Xamarin Forms, Xamarin Native, & Blazor WebAssembly
.NET Framework for Backgrounding & Device Hardware Services (iOS, Android, & Catalyst) -
FusionCache
FusionCache is an easy to use, fast and robust hybrid cache with advanced resiliency features. -
CacheCow
An implementation of HTTP Caching in .NET Core and 4.5.2+ for both the client and the server -
FastCache
7x-10x faster alternative to MemoryCache. A high-performance, lighweight (8KB dll) and thread-safe memory cache for .NET. -
Green Donut
DISCONTINUED. Green Donut is a port of facebook's DataLoader utility, written in C# for .NET Core and .NET Framework
InfluxDB - Purpose built for real-time analytics at any scale.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of SharpRepository or a related project?
README
What is SharpRepository?
SharpRepository is a generic repository written in C# which includes support for various relational, document and object databases including Entity Framework, RavenDB, MongoDb and Db4o. SharpRepository includes Xml and InMemory repository implementations as well. SharpRepository offers built-in caching options for AppFabric, Memcached and standard System.Runtime.Caching. SharpRepository also supports Specifications, FetchStrategies, Batches and Traits.
How do I get started?
Check out the getting started guide. When you're done there, review the SharpRepository.Samples, SharpRepository.Samples.MvcCore, SharpRepository.Samples.MVC5, SharpRepository.Tests.Integration and SharpRepository.Tests project for additional sample usage and implementation details.
Compatibility Issues
- All packages support .NET Framework 4.6 and .NET Standard 2.0. A good part of them supports .NET Standard 1.3
- CouchDB Repository is not compatible with CouchDB 2.0.0 (removed temporary views support)
Running tests
Integration tests uses all implementations. In order to avoid failing tests and long timeouts you have to install:
- CouchDB 1.x (not 2.x)
- SQL Server Compact
- MongoDB
We notice timeouts and long test discovery in VS2017 and timeouts in "dotnet test". The best way is use nunit3 console you can get console here https://github.com/nunit/nunit-console/releases and add installation folder in your path After that from your project folder you can run all tests with:
nunit3-console.exe ".\SharpRepository.Samples\bin\Debug\net461\SharpRepository.Samples.dll" ".\SharpRepository.Tests\bin\Debug\net461\SharpRepository.Tests.dll" ".\SharpRepository.Tests.Integration\bin\Debug\net461\SharpRepository.Tests.Integration.dll"
Have Questions?
- https://github.com/SharpRepository/SharpRepository/issues
- mail to [email protected]
- https://groups.google.com/d/forum/sharprepository
- open a question on stackoverflow.com with sharp-repository tag https://stackoverflow.com/questions/tagged/sharp-repository