WebPx.Web.HealthUI.Razor
1.0.0
dotnet add package WebPx.Web.HealthUI.Razor --version 1.0.0
NuGet\Install-Package WebPx.Web.HealthUI.Razor -Version 1.0.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="WebPx.Web.HealthUI.Razor" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WebPx.Web.HealthUI.Razor --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: WebPx.Web.HealthUI.Razor, 1.0.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 WebPx.Web.HealthUI.Razor as a Cake Addin #addin nuget:?package=WebPx.Web.HealthUI.Razor&version=1.0.0 // Install WebPx.Web.HealthUI.Razor as a Cake Tool #tool nuget:?package=WebPx.Web.HealthUI.Razor&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
WebPx.Web.HealthUI
A library for displaying a basic health check UI for your web application.
Setup
To use the Health Checks in your project you can add both libraries [Microsoft.Extensions.Diagnostics.HealthChecks] and WebPx.Web.HealthUI to your project.
- Add required Nuget packages
- You can add the required nuget packages to your project file
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Diagnostics.HealthChecks" Version="8.0.12" />
<PackageReference Include="WebPx.Web.HealthUI" Version="1.0.0" />
</ItemGroup>
- Or Install the packages in the Package Manager:
install-package Microsoft.Extensions.Diagnostics.HealthChecks
install-package WebPx.Web.HealthUI
- Or Install the packages in the command prompt
dotnet add package Microsoft.Extensions.Diagnostics.HealthChecks --version 8.0.12
dotnet add package WebPx.Web.HealthUI --version 1.0.0
- Add the depenencies from CDNJS to your libman.json file or create a new libman.json file with the following content
{
"version": "3.0",
"defaultProvider": "cdnjs",
"libraries": [
{
"provider": "cdnjs",
"library": "bootstrap@5.3.3",
"destination": "wwwroot/lib/bootstrap/",
"files": [
"js/bootstrap.bundle.min.js",
"js/bootstrap.bundle.min.js.map",
"css/bootstrap.min.css",
"css/bootstrap.min.css.map"
]
},
{
"provider": "cdnjs",
"library": "bootstrap-icons@1.11.3",
"destination": "wwwroot/lib/bootstrap-icons/",
"files": [
"font/fonts/bootstrap-icons.woff2",
"font/fonts/bootstrap-icons.woff",
"font/bootstrap-icons.min.css"
]
}
]
}
- To customize where the files the template should find them, add the following code to your Program.cs file. Remember just to change the paths if you have a different folder structure, do not include the .css or .js filename
builder.Services.AddHealthUI(c =>
{
c.BaseUri = "/";
c.BootstrapPath = "/lib/bootstrap";
c.BootstrapIconPath = "/lib/bootstrap-icons";
});
- You can also set this settings in your appsettings.json file
{
"WebPx": {
"Health": {
"UI": {
"BaseUri": "/",
"BootstrapPath": "/lib/bootstrap",
"BootstrapIconPath": "/lib/bootstrap-icons"
}
}
}
}
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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
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 | 43 | 1/27/2025 |