Kryptic.Daemon.Client 0.1.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Kryptic.Daemon.Client --version 0.1.2
                    
NuGet\Install-Package Kryptic.Daemon.Client -Version 0.1.2
                    
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="Kryptic.Daemon.Client" Version="0.1.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Kryptic.Daemon.Client" Version="0.1.2" />
                    
Directory.Packages.props
<PackageReference Include="Kryptic.Daemon.Client" />
                    
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 Kryptic.Daemon.Client --version 0.1.2
                    
#r "nuget: Kryptic.Daemon.Client, 0.1.2"
                    
#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 Kryptic.Daemon.Client@0.1.2
                    
#: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=Kryptic.Daemon.Client&version=0.1.2
                    
Install as a Cake Addin
#tool nuget:?package=Kryptic.Daemon.Client&version=0.1.2
                    
Install as a Cake Tool

Kryptic.Daemon.Client (.NET)

The Kryptic daemon client for .NET. One line wires the whole integration:

using Kryptic;

var builder = WebApplication.CreateBuilder(args);

builder.Configuration.AddKryptic(); // that's it

var app = builder.Build();

When the environment is Development (ASPNETCORE_ENVIRONMENT or DOTNET_ENVIRONMENT), AddKryptic() finds kryptic.json, fetches the project's secrets from the local Kryptic daemon, and exposes them through IConfiguration, IOptions<T> and Environment.GetEnvironmentVariable(). In any other environment it is a no-op, and it never throws - no daemon just means your app starts with the configuration it already has.

dotnet add package Kryptic.Daemon.Client

Targets netstandard2.0, net6.0 and net8.0 - usable from .NET Framework 4.6.2+ and every .NET Core / .NET version, with the lowest workable Microsoft.Extensions.Configuration dependency per target so legacy apps are never forced to upgrade their configuration stack.

Options

builder.Configuration.AddKryptic(options =>
{
    options.Environment = "staging";     // override the environment
    options.SocketTimeoutMs = 2000;      // daemon connection timeout
    options.FallbackSilently = true;     // suppress the warning when the daemon is absent
    options.ProjectId = "proj_override"; // override kryptic.json
});

Environment variables always win: KRYPTIC_PROJECT_ID, KRYPTIC_ENV, KRYPTIC_SOCKET_PATH, KRYPTIC_TIMEOUT_MS, KRYPTIC_DISABLED, KRYPTIC_SILENT. Injected values never overwrite environment variables that are already set.

Protocol: see daemon/PROTOCOL.md. License: Apache-2.0.

dotnet test
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  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 was computed.  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 was computed.  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 was computed. 
.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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.1 104 9/10/2026
1.1.0 86 9/10/2026
1.0.1 97 9/5/2026
1.0.0 180 9/5/2026
0.1.5 96 9/3/2026
0.1.4 101 8/29/2026
0.1.3 90 8/25/2026
0.1.2 93 8/25/2026
0.1.1 100 8/25/2026
0.1.0 156 8/24/2026