CrispyWaffle.Configuration 10.5.3

There is a newer version of this package available.
See the version list below for details.
dotnet add package CrispyWaffle.Configuration --version 10.5.3
                    
NuGet\Install-Package CrispyWaffle.Configuration -Version 10.5.3
                    
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="CrispyWaffle.Configuration" Version="10.5.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CrispyWaffle.Configuration" Version="10.5.3" />
                    
Directory.Packages.props
<PackageReference Include="CrispyWaffle.Configuration" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CrispyWaffle.Configuration --version 10.5.3
                    
#r "nuget: CrispyWaffle.Configuration, 10.5.3"
                    
#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.
#:package CrispyWaffle.Configuration@10.5.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CrispyWaffle.Configuration&version=10.5.3
                    
Install as a Cake Addin
#tool nuget:?package=CrispyWaffle.Configuration&version=10.5.3
                    
Install as a Cake Tool

CrispyWaffle.Configuration

NuGet Version NuGet Downloads GitHub license

Part of Crispy Waffle, a toolkit for .NET projects.

CrispyWaffle.Configuration holds the connection settings that the connector packages (Redis, CouchDB, Elasticsearch, RabbitMQ, SMTP) take. A Connection stores a host, a port and a set of credentials. When it is serialized, the password is encrypted, so you can keep connections in configuration files without writing passwords in plain text.

Use this package whenever you create a connector from one of the other CrispyWaffle packages. You can also use it for your own connection settings.

Package CrispyWaffle.Configuration
Namespace CrispyWaffle.Configuration
Install dotnet add package CrispyWaffle.Configuration
Depends on CrispyWaffle

Supported frameworks

This package targets .NET Standard 2.0, .NET Standard 2.1, .NET 8.0, .NET 9.0 and .NET 10.0.

Getting started

using CrispyWaffle.Composition;
using CrispyWaffle.Configuration;

// Register the keys used to encrypt and decrypt serialized passwords.
ServiceLocator.Register<ISecureCredentialProvider>(
    () =>
        new SecureCredentialProvider
        {
            PasswordHash = "Cr1$PTVV@FE13",
            SaltKey = "y48H85nH21",
            IVKey = "HZEM7|Ne2YGS/F41",
        },
    Lifetime.Singleton
);

// Describe a connection. Credentials is created by the constructor.
var connection = new Connection
{
    Name = "Redis",
    Host = "localhost",
    Port = 6379,
    Credentials = { Username = "default", Password = "myP@ssw0rd" },
};

Pass the connection to a connector constructor, for example new RedisConnector(connection, serializer). See CrispyWaffle.Redis, CrispyWaffle.CouchDB and CrispyWaffle.ElasticSearch.

Documentation

The full reference and more examples for this package are on the CrispyWaffle.Configuration documentation page.

License

Released under the MIT License.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (6)

Showing the top 5 NuGet packages that depend on CrispyWaffle.Configuration:

Package Downloads
Sankhya

The Sankhya (ERP) SDK. A .NET client to consume Sankhya web service

CrispyWaffle.Redis

The CrispyWaffle Redis package

CrispyWaffle.RabbitMQ

The CrispyWaffle.RabbitMQ package

CrispyWaffle.ElasticSearch

The CrispyWaffle.ElasticSearch package

CrispyWaffle.Utils

The CrispyWaffle Utils package

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.5.12 0 11/17/2026
10.5.11 0 11/17/2026
10.5.10 0 11/17/2026
10.5.9 0 11/17/2026
10.5.8 125 11/15/2026
10.5.7 122 11/15/2026
10.5.6 124 11/15/2026
10.5.5 120 11/15/2026
10.5.4 119 11/15/2026
10.5.3 118 11/15/2026
10.5.2 118 11/15/2026
10.5.1 123 11/15/2026
10.5.0 123 11/15/2026
10.4.20 102 11/13/2026
10.4.19 101 11/13/2026
10.4.18 207 11/10/2026
10.4.17 247 11/8/2026
10.4.16 223 11/6/2026
10.4.15 219 11/6/2026
10.4.14 232 11/5/2026
Loading failed

Configuration release