Roo.Azure.Configuration.Common 1.0.3

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

Roo.Azure.Configuration

The Roo.Azure.Configuration packages are a C#, .NET SDK designed to simplify development and integrate with Azure services. This package is designed to allow new projects be setup with minimal configuration, standardize functionalities, improve developer productivity, and expand log information in Azure App Insights. This SDK is geared more towards a microservice architecture but can be used in any application that makes HTTP calls and/or uses Azure services. The SDK is split into 3 packages; Roo.Azure.Configuration.Common, Roo.Azure.Configuration.Common.Http, and Roo.Azure.Configuration.Common.Utilities:

Common: Header propagation, logger, Swagger setup, startup config, and simplified Azure Service Bus, Azure Feature Manager, and Redis.

Common.Http: HttpClient with custom headers, authentication (OAuth or Azure APIM), token storage, and object deserialization.

Common.Utilities: Ease of life functions such as type extensions and boiler plate's for Azure Blob and Azure File Share.

Check the Wiki out for more information on the packages, functionality, and usage.

Getting started

In your Program.cs, add values to the StartupModel then pass it to setup methods.

Web application:

var builder = WebApplication.CreateBuilder(args);
var startupModel = new StartupModel()
{
  //Set values
}
builder.AddAzureAppConfiguration(startupModel);
builder.Services.ApplicationConfiguration(startupModel);
var httpClients = new Dictionary<string, string>()
{
  { "YourClientName", "BaseUrlForTheClient" }
};
builder.Services.RooHttpClientConfig(startupModel.ChannelId, httpClients);

Console application:

var builder = HostBuilder.ConfigureServices((hostContext, services) =>
{
  var startupModel = new StartupModel()
  {
    //Set values
  }
  services.ApplicationConfiguration(startupModel);
  var httpClients = new Dictionary<string, string>()
  {
    { "YourClientName", "BaseUrlForTheClient" }
  };
  services.RooHttpClientConfig(startupModel.ChannelId, httpClients);
});

Installing the packages

You can install the packages into a project using the NuGet Package Manager in Visual Studio, just look up Roo.Azure.Configuration.Common and you'll be able to install them. If you prefer using the dotnet CLI then you can do so with:

dotnet add package Roo.Azure.Configuration.Common
dotnet add package Roo.Azure.Configuration.Common.Http
dotnet add package Roo.Azure.Configuration.Common.Utilities

Or you can add the project reference directly in your .csproj with (replace the x.x.x with your desired version):

<ItemGroup>
  <PackageReference Include="Roo.Azure.Configuration.Common" Version="x.x.x" />
  <PackageReference Include="Roo.Azure.Configuration.Common.Http" Version="x.x.x" />
  <PackageReference Include="Roo.Azure.Configuration.Common.Utilities" Version="x.x.x" />
</ItemGroup>

Having trouble?

Feel free to reach out to me or open an issue.

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 (1)

Showing the top 1 NuGet packages that depend on Roo.Azure.Configuration.Common:

Package Downloads
Roo.Azure.Configuration.Common.Http

Roo Azure Configuration SDK

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.4 145 8/8/2025
1.0.3 69 7/12/2025
1.0.2 139 7/9/2025
1.0.1 139 7/6/2025
1.0.0 138 7/6/2025