VOOZH about

URL: https://www.nuget.org/packages/Etcd.Microsoft.Extensions.Configuration/

⇱ NuGet Gallery | Etcd.Microsoft.Extensions.Configuration 3.1.2




👁 Image
Etcd.Microsoft.Extensions.Configuration 3.1.2

dotnet add package Etcd.Microsoft.Extensions.Configuration --version 3.1.2
 
 
NuGet\Install-Package Etcd.Microsoft.Extensions.Configuration -Version 3.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="Etcd.Microsoft.Extensions.Configuration" Version="3.1.2" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Etcd.Microsoft.Extensions.Configuration" Version="3.1.2" />
 
Directory.Packages.props
<PackageReference Include="Etcd.Microsoft.Extensions.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 Etcd.Microsoft.Extensions.Configuration --version 3.1.2
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Etcd.Microsoft.Extensions.Configuration, 3.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 Etcd.Microsoft.Extensions.Configuration@3.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=Etcd.Microsoft.Extensions.Configuration&version=3.1.2
 
Install as a Cake Addin
#tool nuget:?package=Etcd.Microsoft.Extensions.Configuration&version=3.1.2
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Etcd.Microsoft.Extensions.Configuration

👁 NuGet Version
👁 NuGet Download
👁 Build Package
👁 Libraries.io dependency status for latest release
👁 CodeFactor Grade
👁 Platform

Etcd-based configuration provider for Microsoft.Extensions.Configuration.

Keep in mind that starting from v2, it will work only under Windows 10 or Windows Server 2016 (or later) because the internal gRPC client uses the HTTP/2 protocol for communication (https://docs.microsoft.com/en-us/answers/questions/310032/2012-r2-net-core-http2.html).

Quick Start

HTTP

var config = new ConfigurationBuilder()
 .AddEtcd(
 new Credentials("MyEtcdUserName", "passw"),
 new EtcdSettings("http://serveraddress:2379"))
 .Build();

var mySection = config.GetSection("MySection");
var myKeyValue = mySection["MyKeyName"];

HTTPS

When using HTTPS, a *.crt CA certificate (provided by the etcd administrator) should be placed in a well-known system certificate store (depending on the OS).

  • For Windows, it is Trusted Root Certification Authority.
  • For Linux, at least for Arch/Manjaro Linux, it should be placed in /etc/ca-certificates/trust-source/anchors/, followed by the sudo trust extract-compat command.

HTTPS with Settings from a Local JSON File

appsettings.json

{
 "EtcdSettings": {
 "ConnectionString": "https://serveraddress:2379"
 }
}
var jsonConfig = new ConfigurationBuilder()
 .AddJsonFile("appsettings.json")
 .Build();

var config = new ConfigurationBuilder()
 .AddEtcd(
 new Credentials("MyEtcdUserName", "passw"),
 new ConfigurationBasedEtcdSettings(jsonConfig))
 .Build();

var mySection = config.GetSection("MySection");
var myKeyValue = mySection["MyKeyName"];

Settings can be mixed from different locations.

Contributing

There are many ways in which you can participate in the project. Like most open-source software projects, contributing code is just one of many ways you can help improve. Some of the things you could help out with are:

  • Documentation (both code and features)
  • Bug reports
  • Bug fixes
  • Feature requests
  • Feature implementations
  • Test coverage
  • Code quality
  • Sample applications

License

Licensed under the GNU Lesser General Public License.

Product Versions Compatible and additional computed target framework versions.
.NET net8.0 net8.0 is compatible.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 is compatible.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 is compatible.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows 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
3.1.2 1,640 3/13/2026
3.1.1 132 2/23/2026
3.1.0 6,040 10/22/2025
3.1.0-pre02 209 10/21/2025
3.1.0-pre01 215 10/21/2025
3.0.0 290 6/26/2025
3.0.0-pre01 231 6/23/2025
2.1.0 517 5/23/2024
2.0.1 582 12/2/2022
2.0.0 642 6/4/2022
1.1.0 248 10/31/2025
1.0.4 570 12/2/2022
1.0.3 1,429 6/1/2022
1.0.2 625 5/29/2022
1.0.1 691 11/15/2021
1.0.0 673 10/26/2021
1.0.0-pre02 434 10/22/2021
1.0.0-pre01 461 10/22/2021