Ettissal 1.0.0
dotnet add package Ettissal --version 1.0.0
NuGet\Install-Package Ettissal -Version 1.0.0
<PackageReference Include="Ettissal" Version="1.0.0" />
paket add Ettissal --version 1.0.0
#r "nuget: Ettissal, 1.0.0"
// Install Ettissal as a Cake Addin #addin nuget:?package=Ettissal&version=1.0.0 // Install Ettissal as a Cake Tool #tool nuget:?package=Ettissal&version=1.0.0
<p align="center"> <img src="https://github.com/mabroukmahdhi/Ettissal/blob/main/ic_connected.png"> </p>
Ettissal
A nuget package that provides a component for Blazor WASM to check application connectivity to internet.
Installation
Install the nuget package in your Blazor WASM project:
dotnet add package Ettissal
Or,
NuGet\Install-Package Ettissal
How to use?
You have a Blazor WASM project and you want to check the application connectivity to internet. You can use the Ettissal
component to do that.
Add Ettissal Library
Add the following line to the service collection in Program.cs
file:
builder.Services.AddEttissal();
Use Ettissal ConnectedComponent
Using this component, you can check the application connectivity to internet. You can use it in any page or component in your Blazor WASM project.
<ConnectedComponent>
<Online>
<p>You're Online</p>
</Online>
<Offline>
<p>You're Offline</p>
</Offline>
</ConnectedComponent>
This will help you to show the content based on the application connectivity to internet. As you can see, you can use the Online
and Offline
components to show the content when the application is online or offline.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
Author
Contact
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. 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. |
-
net7.0
- Microsoft.AspNetCore.Components.Web (>= 7.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.0.0 | 223 | 12/17/2022 |