uSignIn.CommonSettings 2.1.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package uSignIn.CommonSettings --version 2.1.0
                    
NuGet\Install-Package uSignIn.CommonSettings -Version 2.1.0
                    
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.

                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.

                    
Directory.Packages.props

                    
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 uSignIn.CommonSettings --version 2.1.0
                    
#r "nuget: uSignIn.CommonSettings, 2.1.0"
                    
#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 uSignIn.CommonSettings@2.1.0
                    
#: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=uSignIn.CommonSettings&version=2.1.0
                    
Install as a Cake Addin
#tool nuget:?package=uSignIn.CommonSettings&version=2.1.0
                    
Install as a Cake Tool

uSignIn.CommonSettings(https://www.nuget.org/packages/uSignIn.CommonSettings)

uSignIn.CommonSettings is an open-source C# class library that provides a wrapper around Common settings in the appsettings.json

Features

  • All common settings that need to used by your project or packages can be accessed via this service

Contributing

We welcome contributions! If you find a bug, have an idea for improvement, please submit an issue or a pull request on GitHub.

Getting Started

NuGet Package

To include uSignIn.CommonSettings in your project, install the NuGet package:

dotnet add package uSignIn.CommonSettings

Then in your appsettings.json add the following sample configuration and change the values to match the details of your credentials to the various services.

  "Settings": {
    "BaseUrl": "https://[YOUR-HOSTNAME]",
  }

After the above is done, you can just Dependency inject the SettingsService in your C# class.

For example:

Here is a Sample Service SampleService C# class that injects the SettingsService and then uses the _settingsService.BaseUri

using uSignIn.CommonSettings.Settings;

namespace Test.Stuff
{
	public sealed class SampleService
	{
		private readonly SettingsService _settingsService;

		public SampleService(
			SettingsService settingsService
		{
			_settingsService = settingsService;
		}
		internal string NotificationUrl => new Uri(_settingsService.BaseUri, "/helloWorld").ToString();
	}
}

GitHub Repository

Visit our GitHub repository for the latest updates, documentation, and community contributions. https://github.com/prmeyn/CommonSettings

License

This project is licensed under the GNU GENERAL PUBLIC LICENSE.

Happy coding! 🚀🌐📚

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

NuGet packages (2)

Showing the top 2 NuGet packages that depend on uSignIn.CommonSettings:

Package Downloads
SMSwitch

Package Description

EmailSwitch

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.2.1 120 9/29/2026
10.2.0 289 7/29/2026
10.0.1 309 11/24/2025
10.0.0 223 11/24/2025
5.0.1 240 11/9/2025
5.0.0 373 4/12/2025
4.0.3 397 2/17/2025
4.0.2 251 1/30/2025
4.0.1 175 1/30/2025
4.0.0 219 1/8/2025
3.1.0 316 8/7/2024
3.0.0 181 8/6/2024
2.1.0 414 7/21/2024
2.0.0 296 7/21/2024
1.0.0 217 7/21/2024