Our.Community.Configuration 1.0.0-rc1

This is a prerelease version of Our.Community.Configuration.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Our.Community.Configuration --version 1.0.0-rc1                
NuGet\Install-Package Our.Community.Configuration -Version 1.0.0-rc1                
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="Our.Community.Configuration" Version="1.0.0-rc1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Our.Community.Configuration --version 1.0.0-rc1                
#r "nuget: Our.Community.Configuration, 1.0.0-rc1"                
#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 Our.Community.Configuration as a Cake Addin
#addin nuget:?package=Our.Community.Configuration&version=1.0.0-rc1&prerelease

// Install Our.Community.Configuration as a Cake Tool
#tool nuget:?package=Our.Community.Configuration&version=1.0.0-rc1&prerelease                

Our.Community.Configuration

Store configuration data in the Umbraco database.

This plugin allows you to store configuration data in a custom table in the Umbraco database.

Supported data types

  • Strings (can be encrypted)
  • Numbers
  • Booleans

Dashboard

<img src="https://github.com/huwred/Our.Community.Configuration/blob/main/Documentation/images/dashboard.png" width="800" alt="Settings Dashboard" title="Settings Dashboard"/>

Add Property

<img src="https://github.com/huwred/Our.Community.Configuration/blob/main/Documentation/images/overlay.png" width="400" alt="Add Property" title="Add property dialog"/>

Access properties in code

To access your settings you will need to inject the configuration service.

IOurConfiguration ourconfig

Getting config data

// Fetch a single config setting
OurConfigDataSchema setting = ourconfig.Get("propAlias"); 
//Fetch ALL config settings
IEnumerable<OurConfigDataSchema> settings = ourconfig.GetConfig(); 
//Fetch config settings for a specific group
IEnumerable<OurConfigDataSchema> settings = ourconfig.GetConfigByGroup("TESTGROUP") 

Retrieving a value

Returns an object of the required type (string,int,bool), it will also return the decrypted value if the property is being stored with encryption.


var setting = ourconfig.Value();

Product Compatible and additional computed target framework versions.
.NET 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 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Our.Community.Configuration:

Package Downloads
Our.Community.Configuration.OptionsProvider

IOptions provider for Our.Community.Configuration

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0 214 12/20/2023
1.0.0 222 10/20/2023
1.0.0-rc2 108 10/20/2023
1.0.0-rc1 97 10/19/2023