ProReception.DistributionServerInfrastructure
1.1.2
dotnet add package ProReception.DistributionServerInfrastructure --version 1.1.2
NuGet\Install-Package ProReception.DistributionServerInfrastructure -Version 1.1.2
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.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ProReception.DistributionServerInfrastructure --version 1.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ProReception.DistributionServerInfrastructure, 1.1.2"
#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.2 // Install ProReception.DistributionServerInfrastructure as a Cake Tool #tool nuget:?package=ProReception.DistributionServerInfrastructure&version=1.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Pro Reception Distribution Server Infrastructure
Helper library with common infrastructure code for our distributed apps
Status
How to use
- Install via NuGet:
Install-Package ProReception.DistributionServerInfrastructure
- 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 fromISettingsManagerBase
using DistributionServerInfrastructure.Settings; public interface ISettingsManager : ISettingsManagerBase { }
- Create new
SettingsManager
class, which inherits fromSettingsManagerBase
and implementsISettingsManager
using DistributionServerInfrastructure.Settings; public class SettingsManager : SettingsManagerBase<MySettings>, ISettingsManager { public SettingsManager(string appName, string cryptKey, string authKey) : base(appName, cryptKey, authKey) { } }
- Create new class for storing your settings, which inherits from
- In your
Program.cs
file, create a new instance of yourSettingsManager
class, and add the infrastructure configurationvar settingsManager = new SettingsManager( "My App Name", "some crypt key", "some auth key"); builder.AddProReceptionDistributionServerInfrastructure<ISettingsManager, SettingsManager>(settingsManager);
- 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 | Versions 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.
-
net8.0
- AuthenticatedEncryption (>= 2.0.0)
- FluentValidation (>= 11.11.0)
- Flurl.Http (>= 4.0.2)
- JetBrains.Annotations (>= 2024.3.0)
- Microsoft.AspNetCore.Components.Web (>= 8.0.10)
- Microsoft.AspNetCore.SignalR.Client (>= 9.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 9.0.0)
- MudBlazor (>= 7.14.0)
- Polly.Core (>= 8.5.0)
- Polly.RateLimiting (>= 8.5.0)
- Serilog.AspNetCore (>= 9.0.0)
- Serilog.Sinks.File (>= 6.0.0)
- Serilog.Sinks.Observable (>= 3.0.0)
- System.IdentityModel.Tokens.Jwt (>= 8.3.0)
- System.Reactive (>= 6.0.1)
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.2 | 0 | 12/23/2024 |
1.1.1 | 0 | 12/23/2024 |
1.1.0 | 96 | 10/23/2024 |
1.0.0 | 91 | 10/23/2024 |
0.2.0 | 110 | 7/9/2024 |
0.1.19 | 106 | 7/9/2024 |
0.1.18 | 102 | 7/9/2024 |
0.1.17 | 128 | 6/18/2024 |
0.1.16 | 119 | 4/24/2024 |
0.1.15 | 126 | 4/16/2024 |
0.1.14 | 134 | 4/1/2024 |
0.1.13 | 136 | 3/6/2024 |
0.1.12 | 139 | 3/6/2024 |
0.1.11 | 139 | 3/6/2024 |
0.1.10 | 123 | 3/6/2024 |
0.1.9 | 128 | 3/6/2024 |
0.1.8 | 134 | 2/27/2024 |
0.1.7 | 117 | 2/24/2024 |
0.1.6 | 125 | 2/21/2024 |
0.1.5 | 139 | 2/21/2024 |
0.1.4 | 134 | 2/21/2024 |
0.1.3 | 128 | 2/15/2024 |
0.1.2 | 111 | 2/15/2024 |
0.1.1 | 136 | 2/6/2024 |
0.1.0 | 120 | 2/6/2024 |
0.0.28 | 110 | 2/6/2024 |
0.0.27 | 136 | 1/24/2024 |
0.0.26 | 237 | 11/14/2023 |
0.0.25 | 171 | 9/13/2023 |
0.0.24 | 153 | 9/5/2023 |
0.0.23 | 180 | 8/15/2023 |
0.0.22 | 156 | 8/15/2023 |
0.0.21 | 167 | 7/26/2023 |
0.0.20 | 183 | 7/12/2023 |
0.0.19 | 188 | 7/12/2023 |
0.0.18 | 209 | 7/5/2023 |
0.0.17 | 199 | 7/5/2023 |
0.0.16 | 180 | 6/22/2023 |
0.0.15 | 188 | 6/13/2023 |
0.0.14 | 185 | 6/13/2023 |
0.0.13 | 161 | 6/13/2023 |
0.0.12 | 187 | 6/11/2023 |
0.0.11 | 182 | 6/6/2023 |
0.0.10 | 210 | 4/11/2023 |
0.0.9 | 244 | 3/15/2023 |
0.0.8 | 245 | 3/15/2023 |
0.0.7 | 223 | 3/15/2023 |
0.0.6 | 243 | 3/15/2023 |
0.0.5 | 224 | 3/15/2023 |
0.0.4 | 236 | 3/15/2023 |
0.0.3 | 228 | 3/15/2023 |
0.0.2 | 216 | 3/15/2023 |
0.0.1 | 208 | 3/15/2023 |