DotNetify.ResiliencyAddon
1.0.0
dotnet add package DotNetify.ResiliencyAddon --version 1.0.0
NuGet\Install-Package DotNetify.ResiliencyAddon -Version 1.0.0
<PackageReference Include="DotNetify.ResiliencyAddon" Version="1.0.0" />
paket add DotNetify.ResiliencyAddon --version 1.0.0
#r "nuget: DotNetify.ResiliencyAddon, 1.0.0"
// Install DotNetify.ResiliencyAddon as a Cake Addin #addin nuget:?package=DotNetify.ResiliencyAddon&version=1.0.0 // Install DotNetify.ResiliencyAddon as a Cake Tool #tool nuget:?package=DotNetify.ResiliencyAddon&version=1.0.0
<p align="center"><img width="350px" src="http://dotnetify.net/content/images/dotnetify-logo.png"></p>
DotNetify-ResiliencyAddon
DotNetify-ResiliencyAddon allows dotNetify server to be more resilient when serving as an HTTP integration backend to an external Websocket API gateway. When configured with a distributed cache such as Redis, existing connections will be able to survive a server restart. Any active view model instance will be recreated and can resume its activities with connected clients when the server is restored.
Installation
Add the following library from NuGet: DotNetify.ResiliencyAddon.
Setup
Add the following in the Startup.cs:
using DotNetify.WebApi;
...
public void ConfigureServices(IServiceCollection services)
{
...
services.AddDotNetify();
services.AddDotNetifyIntegrationWebApi();
services.AddDotNetifyResiliencyAddon();
services.AddStackExchangeRedisCache(options => options.Configuration = builder.Configuration["Redis:ConnectionString"]);
...
}
public void Configure(IApplicationBuilder app)
{
...
app.UseDotNetify();
app.UseDotNetifyResiliencyAddon();
...
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- BouncyCastle.NetCore (>= 1.8.5)
- DotNetify.SignalR (>= 5.4.0)
- MemoryPack (>= 1.9.7)
- Microsoft.AspNetCore.Http.Abstractions (>= 2.2.0)
- Microsoft.Extensions.Caching.Abstractions (>= 3.1.12)
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.0.0 | 272 | 1/2/2023 |