SoloX.BlazorHeartbeat
1.0.0-alpha.1
See the version list below for details.
dotnet add package SoloX.BlazorHeartbeat --version 1.0.0-alpha.1
NuGet\Install-Package SoloX.BlazorHeartbeat -Version 1.0.0-alpha.1
<PackageReference Include="SoloX.BlazorHeartbeat" Version="1.0.0-alpha.1" />
paket add SoloX.BlazorHeartbeat --version 1.0.0-alpha.1
#r "nuget: SoloX.BlazorHeartbeat, 1.0.0-alpha.1"
// Install SoloX.BlazorHeartbeat as a Cake Addin #addin nuget:?package=SoloX.BlazorHeartbeat&version=1.0.0-alpha.1&prerelease // Install SoloX.BlazorHeartbeat as a Cake Tool #tool nuget:?package=SoloX.BlazorHeartbeat&version=1.0.0-alpha.1&prerelease
BlazorHeartbeat
BlazorHeartbeat is a Blazor component that maintains the SignalR connection in a Server side Blazor application. It is particularly useful when your application is hosted behind an Application Gateway with a connection timeout.
Don't hesitate to post issue, pull request on the project or to fork and improve the project.
License and credits
BlazorHeartbeat project is written by Xavier Solau. It's licensed under the MIT license.
Installation
You can checkout this Github repository or you can use the NuGet package:
Install using the command line from the Package Manager:
Install-Package SoloX.BlazorHeartbeat -version 1.0.0-alpha.1
Install using the .Net CLI:
dotnet add package SoloX.BlazorHeartbeat --version 1.0.0-alpha.1
Install editing your project file (csproj):
<PackageReference Include="SoloX.BlazorHeartbeat" Version="1.0.0-alpha.1" />
How to use it
Note that you can find code examples in this repository in this location: src/examples
.
Basically, all you need to do is to add the Heartbeat
element at the end of the App.rasor
file in your Blazor Server-Side application.
You can optionally specify the PingDelay.
<Heartbeat PingDelay="60000" />
Don't forget to add the using directive in the _Imports.razor
file:
@using SoloX.BlazorHeartbeat
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 | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. 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.0
- Microsoft.AspNetCore.Components (>= 3.1.8)
- Microsoft.AspNetCore.Components.Web (>= 3.1.8)
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 | 2,582 | 3/9/2021 |
1.0.0-alpha.1 | 336 | 10/15/2020 |
- Implement Heartbeat to use in server side Blazor application.