BootstrapBlazor.WebAPI 7.0.0

.NET 6.0
There is a newer version of this package available.
See the version list below for details.
dotnet add package BootstrapBlazor.WebAPI --version 7.0.0
NuGet\Install-Package BootstrapBlazor.WebAPI -Version 7.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="BootstrapBlazor.WebAPI" Version="7.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BootstrapBlazor.WebAPI --version 7.0.0
#r "nuget: BootstrapBlazor.WebAPI, 7.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 BootstrapBlazor.WebAPI as a Cake Addin
#addin nuget:?package=BootstrapBlazor.WebAPI&version=7.0.0

// Install BootstrapBlazor.WebAPI as a Cake Tool
#tool nuget:?package=BootstrapBlazor.WebAPI&version=7.0.0

Blazor WebAPI 组件 (电池信息/网络信息)

  1. 电池信息类
  2. 网络信息类





2._Imports.razor 文件 或者页面添加 添加组件库引用

@using BootstrapBlazor.Components


<WebApi OnError="@OnError" />


    private string message;

    private Task OnError(string message)
        this.message = message;
        return Task.CompletedTask;

Product Versions
.NET net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on BootstrapBlazor.WebAPI:

Package Downloads

BlazorMaui , 整合Blazor,BootstrapBlazor UI组件库,Maui的共享跨平台工程示例共享库


Blazor 组件懒人包

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
7.0.5 80 3/15/2023
7.0.4 57 3/15/2023
7.0.3 122 2/28/2023
7.0.2 268 1/24/2023
7.0.1 395 12/7/2022
7.0.0 531 11/9/2022
6.2.1 340 10/12/2022
6.2.0 212 10/12/2022