ProReception.DistributionServerInfrastructure 0.1.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package ProReception.DistributionServerInfrastructure --version 0.1.4                
NuGet\Install-Package ProReception.DistributionServerInfrastructure -Version 0.1.4                
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="0.1.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ProReception.DistributionServerInfrastructure --version 0.1.4                
#r "nuget: ProReception.DistributionServerInfrastructure, 0.1.4"                
#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=0.1.4

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

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 77 10/23/2024
1.0.0 80 10/23/2024
0.2.0 102 7/9/2024
0.1.19 98 7/9/2024
0.1.18 94 7/9/2024
0.1.17 120 6/18/2024
0.1.16 109 4/24/2024
0.1.15 120 4/16/2024
0.1.14 124 4/1/2024
0.1.13 130 3/6/2024
0.1.12 133 3/6/2024
0.1.11 133 3/6/2024
0.1.10 115 3/6/2024
0.1.9 120 3/6/2024
0.1.8 128 2/27/2024
0.1.7 111 2/24/2024
0.1.6 119 2/21/2024
0.1.5 133 2/21/2024
0.1.4 126 2/21/2024
0.1.3 122 2/15/2024
0.1.2 105 2/15/2024
0.1.1 130 2/6/2024
0.1.0 114 2/6/2024
0.0.28 102 2/6/2024
0.0.27 130 1/24/2024
0.0.26 231 11/14/2023
0.0.25 165 9/13/2023
0.0.24 147 9/5/2023
0.0.23 174 8/15/2023
0.0.22 148 8/15/2023
0.0.21 159 7/26/2023
0.0.20 177 7/12/2023
0.0.19 182 7/12/2023
0.0.18 203 7/5/2023
0.0.17 193 7/5/2023
0.0.16 174 6/22/2023
0.0.15 182 6/13/2023
0.0.14 179 6/13/2023
0.0.13 155 6/13/2023
0.0.12 181 6/11/2023
0.0.11 176 6/6/2023
0.0.10 204 4/11/2023
0.0.9 238 3/15/2023
0.0.8 237 3/15/2023
0.0.7 217 3/15/2023
0.0.6 237 3/15/2023
0.0.5 218 3/15/2023
0.0.4 230 3/15/2023
0.0.3 222 3/15/2023
0.0.2 210 3/15/2023
0.0.1 202 3/15/2023