Package Description
License
—
Deps
13
Install Size
—
Vulns
✓ 0
Published
Feb 18, 2026
$ dotnet add package ProReception.DistributionServerInfrastructureHelper library with common infrastructure code for our distributed apps
Install-Package ProReception.DistributionServerInfrastructureBaseSettings
using DistributionServerInfrastructure.Settings.Models;
public class MySettings : BaseSettings
{
}
ISettingsManager interface, which inherits from ISettingsManagerBase
using DistributionServerInfrastructure.Settings;
public interface ISettingsManager : ISettingsManagerBase
{
}
SettingsManager class, which inherits from SettingsManagerBase and implements ISettingsManager
using DistributionServerInfrastructure.Settings;
public class SettingsManager : SettingsManagerBase<MySettings>, ISettingsManager
{
public SettingsManager(string appName, string cryptKey, string authKey) : base(appName, cryptKey, authKey)
{
}
}
Program.cs file, create a new instance of your SettingsManager class, and add the infrastructure configuration
var settingsManager = new SettingsManager(
"My App Name",
"some crypt key",
"some auth key");
builder.AddProReceptionDistributionServerInfrastructure<ISettingsManager, SettingsManager>(settingsManager);
app.UseProReceptionDistributionServerInfrastructure();
These are the expected configuration values.
There has to be a section in the configuration called ProReceptionApi:
{
"ProReceptionApi": {
"BaseUrl": "https://localhost:7016"
}
}
The components can be used inside your Razor views.
@using ProReception.DistributionServerInfrastructure.Components
<ProReceptionConnection />
@using ProReception.DistributionServerInfrastructure.Components
<Logs />