ProReception.DistributionServerInfrastructure 1.1.0

dotnet add package ProReception.DistributionServerInfrastructure --version 1.1.0                
NuGet\Install-Package ProReception.DistributionServerInfrastructure -Version 1.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.
<PackageReference Include="ProReception.DistributionServerInfrastructure" Version="1.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ProReception.DistributionServerInfrastructure --version 1.1.0                
#r "nuget: ProReception.DistributionServerInfrastructure, 1.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.
// Install ProReception.DistributionServerInfrastructure as a Cake Addin
#addin nuget:?package=ProReception.DistributionServerInfrastructure&version=1.1.0

// Install ProReception.DistributionServerInfrastructure as a Cake Tool
#tool nuget:?package=ProReception.DistributionServerInfrastructure&version=1.1.0                

Pro Reception Distribution Server Infrastructure

Helper library with common infrastructure code for our distributed apps

Status

GitHub Workflow Status (with branch) Nuget

How to use

  1. Install via NuGet: Install-Package ProReception.DistributionServerInfrastructure
  2. Add custom settings:
    • Create new class for storing your settings, which inherits from BaseSettings
      using DistributionServerInfrastructure.Settings.Models;
      
      public class MySettings : BaseSettings
      {
      }
      
    • Create new ISettingsManager interface, which inherits from ISettingsManagerBase
      using DistributionServerInfrastructure.Settings;
      
      public interface ISettingsManager : ISettingsManagerBase
      {
      }
      
    • Create new 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)
          {
          }
      }
      
  3. In your 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);
    
  4. Use the infrastructure config after building the app:
    app.UseProReceptionDistributionServerInfrastructure();
    

Configuration

These are the expected configuration values.

Pro Reception API

There has to be a section in the configuration called ProReceptionApi:

{
  "ProReceptionApi": {
    "BaseUrl": "https://localhost:7016"
  }
}

Components

The components can be used inside your Razor views.

Pro Reception login component

@using ProReception.DistributionServerInfrastructure.Components

<ProReceptionConnection />

Logs component

@using ProReception.DistributionServerInfrastructure.Components

<Logs />
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. 
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
1.1.0 82 10/23/2024
1.0.0 83 10/23/2024
0.2.0 103 7/9/2024
0.1.19 99 7/9/2024
0.1.18 95 7/9/2024
0.1.17 121 6/18/2024
0.1.16 110 4/24/2024
0.1.15 121 4/16/2024
0.1.14 126 4/1/2024
0.1.13 131 3/6/2024
0.1.12 134 3/6/2024
0.1.11 134 3/6/2024
0.1.10 116 3/6/2024
0.1.9 123 3/6/2024
0.1.8 128 2/27/2024
0.1.7 112 2/24/2024
0.1.6 119 2/21/2024
0.1.5 134 2/21/2024
0.1.4 129 2/21/2024
0.1.3 123 2/15/2024
0.1.2 106 2/15/2024
0.1.1 131 2/6/2024
0.1.0 115 2/6/2024
0.0.28 105 2/6/2024
0.0.27 131 1/24/2024
0.0.26 232 11/14/2023
0.0.25 166 9/13/2023
0.0.24 147 9/5/2023
0.0.23 175 8/15/2023
0.0.22 151 8/15/2023
0.0.21 160 7/26/2023
0.0.20 178 7/12/2023
0.0.19 183 7/12/2023
0.0.18 204 7/5/2023
0.0.17 194 7/5/2023
0.0.16 175 6/22/2023
0.0.15 183 6/13/2023
0.0.14 180 6/13/2023
0.0.13 156 6/13/2023
0.0.12 181 6/11/2023
0.0.11 177 6/6/2023
0.0.10 205 4/11/2023
0.0.9 238 3/15/2023
0.0.8 238 3/15/2023
0.0.7 217 3/15/2023
0.0.6 238 3/15/2023
0.0.5 219 3/15/2023
0.0.4 231 3/15/2023
0.0.3 223 3/15/2023
0.0.2 211 3/15/2023
0.0.1 203 3/15/2023