cdmdotnet.StateManagement 3.0.13.9

C# State Management provides a consistent abstraction to accessing data from various collections such as thread bound contexts, HTTP Request and Response collections as well as HTTP Cookies.

Suggested Alternatives

Chinchilla.StateManagement

Additional Details

.NET Core and legacy .NET 4.0+ framework support has moved to a new package.

Install-Package cdmdotnet.StateManagement -Version 3.0.13.9
dotnet add package cdmdotnet.StateManagement --version 3.0.13.9
<PackageReference Include="cdmdotnet.StateManagement" Version="3.0.13.9" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add cdmdotnet.StateManagement --version 3.0.13.9
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Depricated and replaced by https://www.nuget.org/packages/Chinchilla.StateManagement/

C# State Management provides a consistent abstraction to accessing data from various collections such as thread bound contexts, HTTP Request and Response collections as well as HTTP Cookies.

Depricated and replaced by https://www.nuget.org/packages/Chinchilla.StateManagement/

C# State Management provides a consistent abstraction to accessing data from various collections such as thread bound contexts, HTTP Request and Response collections as well as HTTP Cookies.

Release Notes

Version 3.0.11

* Added a threaded based MemoryCache implementation of IContextCacheItemCollection.

Version 3.0.6

* Switched to using an internal dictionary for controlling the passing of the data within a thread to thread situation such as when using Parallel Tasks.

Dependencies

This package has no dependencies.

NuGet packages (14)

Showing the top 5 NuGet packages that depend on cdmdotnet.StateManagement:

Package Downloads
Cqrs.Mongo
Use MongoDB as the read store and data store in CQRS.NET
Cqrs.Ninject.Mongo
Use Ninject as your IoC container of choice with MongoDB for CQRS.NET
Cqrs.Azure.DocumentDb
Use Azure Cosmos DB (DocumentDB) as an event store, read store and data store in CQRS.NET
Cqrs.Ninject.Azure.DocumentDb
Use Ninject as your IoC container of choice with Microsoft Azure DocumentDB for CQRS.NET
cdmdotnet.Logging
This logging library makes large use of enterprise correlation. In a lot of applications that incorporate various small and large services, it is often important to correlate events that happen across these services. It gives us a business workflow view of the various events that happen in the application, its components and services. This library provide operation and activity ID management and propagation. The main difference with this library over other is that you can configure each type of log separately. You can enable fatal, error, warning, debugging, informational, progress and sensitive data logging all independently of each other. This is more flexible than the concept of minimum level logging, such as that in log4net or serilog e.g. enabling one warning in this libraries will enable error and fatal logging as well. This library allows you to set those settings independently of each other. The SqlLogger maps AdditionalData to table columns, where the key of the dictionary entry is the column name and the value is serialised to JSON as the column value. MetaData is serialised to a single JSON value stored in the MetaData column. This means you can store data such as a User ID or Job ID in a separate column so you can filter more efficiently with indexes and partitions. TraceLogger and ConsoleLogger both seralise and format all information into a single string. The MultiLogger allows you to configure several different loggers to be used at once with different settings for each logger. Usage is in the form of: static void Main() {   ICorrelationIdHelper correlationIdHelper = new WebCorrelationIdHelper();   // This value will be set automatically to all logs within this thread... so long as System.Threading.Tasks.Task.Factory.StartNew is used.   correlationIdHelper.SetCorrelationId(Guid.NewGuid());   DoSyncWork();   DoAsyncWork(); } static void DoSyncWork() {   ILogger logger = new SqlLogger();   logger.LogDebug("Some technical debugging details."); } static void DoAsyncWork() {   System.Threading.Tasks.Task.Factory.StartNew(() => {     ILogger logger = new ConsoleLogger();     logger.LogInfo("An informative message.");   }); } This package installs cdmdotnet.Logging.dll with includes core logging functionality. Other packages depend on cdmdotnet.Logging for specific implementations.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on cdmdotnet.StateManagement:

Repository Stars
Chinchilla-Software-Com/CQRS
A lightweight enterprise Function as a Service (FaaS) framework to write function based serverless and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.

Version History

Version Downloads Last updated
3.0.13.9 16,534 4/18/2017
3.0.11.8 395 4/13/2017
3.0.9.7 15,969 1/24/2017
3.0.8.6 420 1/24/2017
3.0.8.5 414 1/23/2017
3.0.6.4 553 1/23/2017
3.0.4.3 704 5/16/2016
3.0.3.2 670 5/16/2016