LocalRedis 1.0.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package LocalRedis --version 1.0.0
NuGet\Install-Package LocalRedis -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LocalRedis" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LocalRedis --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: LocalRedis, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install LocalRedis as a Cake Addin #addin nuget:?package=LocalRedis&version=1.0.0 // Install LocalRedis as a Cake Tool #tool nuget:?package=LocalRedis&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
LocalRedis
This library exports function like Redis, but only for local cache.
Underlyingly it uses Shared Memory for interprocess communications in all data types:
- Bool
- Byte
- Short
- UShort
- Int32
- UInt32
- Long
- ULong
- Single
- Double
- DateTime
- String
- BoolArray
- ByteArray
- ShortArray
- UShortArray
- Int32Array
- UInt32Array
- LongArray
- ULongArray
- SingleArray
- DoubleArray
- DateTimeArray,
Since string can be in JSON type, so it just like a variant to be transfer cached data in any type. No need to have a string array like any other types.
There is unittest sample file UnitTest_LocalRedis.cs which demonstrates how to use it.
Also an application AllDataTypeManager.exe provided to manage all kind of data types, you can edit and view all data types.
The most important assembly is LocalRedisServer.exe which serves as the management application to let you do:
- Set value (Just like Publish a topic)
- Get value (Just like Subscribe a topic)
- Update value (Like re-publish)
- Clear all (Like unsubscribe all topics)
The list view in the main UI will show all the attributes of all the topics (key-value pairs in shared memory)
Both the executables are under sub folder 'assemblies'.
To test it, better to have 2 LocalRedisServer.exe running, one to set value, another to get value and update.
The multilang version of LocalRedisServer and the LabVIEW version of LocalRedis are still under development, but it will not be a free one anymore.
Author
Patrick Gamp
For technique support or business, please call the cell phone ++0086-18603016232, email: patrickgamp@hotmail.com, WeChat(A Chinese popular chat app) id is same to the cell phone number
I am a professional with 26 years software RD experience. In 2005-2018, worked for Microsoft Windows Mobile and Windows Phone developing team, XBox One manufacturing automation team, and Surface imaging test team, after 2019, opened a small automation software corporation at the first strong manufacturing city in the world - Suzhou, China. If you have some industry automation related software project to oursource, or any Windows desktop based non-Web softare developing requirements, please send me email to contact.
Published date
November 8, 2023
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net48 is compatible. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.8
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Initial commit.