ProReception.DistributionServerInfrastructure 0.1.0

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

// Install ProReception.DistributionServerInfrastructure as a Cake Tool
#tool nuget:?package=ProReception.DistributionServerInfrastructure&version=0.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 87 10/23/2024
1.0.0 86 10/23/2024
0.2.0 106 7/9/2024
0.1.19 102 7/9/2024
0.1.18 98 7/9/2024
0.1.17 124 6/18/2024
0.1.16 113 4/24/2024
0.1.15 124 4/16/2024
0.1.14 129 4/1/2024
0.1.13 134 3/6/2024
0.1.12 137 3/6/2024
0.1.11 137 3/6/2024
0.1.10 119 3/6/2024
0.1.9 126 3/6/2024
0.1.8 131 2/27/2024
0.1.7 115 2/24/2024
0.1.6 122 2/21/2024
0.1.5 137 2/21/2024
0.1.4 132 2/21/2024
0.1.3 126 2/15/2024
0.1.2 109 2/15/2024
0.1.1 134 2/6/2024
0.1.0 118 2/6/2024
0.0.28 108 2/6/2024
0.0.27 134 1/24/2024
0.0.26 235 11/14/2023
0.0.25 169 9/13/2023
0.0.24 150 9/5/2023
0.0.23 178 8/15/2023
0.0.22 154 8/15/2023
0.0.21 163 7/26/2023
0.0.20 181 7/12/2023
0.0.19 186 7/12/2023
0.0.18 207 7/5/2023
0.0.17 197 7/5/2023
0.0.16 178 6/22/2023
0.0.15 186 6/13/2023
0.0.14 183 6/13/2023
0.0.13 159 6/13/2023
0.0.12 184 6/11/2023
0.0.11 180 6/6/2023
0.0.10 208 4/11/2023
0.0.9 241 3/15/2023
0.0.8 243 3/15/2023
0.0.7 220 3/15/2023
0.0.6 241 3/15/2023
0.0.5 222 3/15/2023
0.0.4 234 3/15/2023
0.0.3 226 3/15/2023
0.0.2 214 3/15/2023
0.0.1 206 3/15/2023