BootstrapBlazor.WebAPI
7.2.2
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package BootstrapBlazor.WebAPI --version 7.2.2
NuGet\Install-Package BootstrapBlazor.WebAPI -Version 7.2.2
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.2.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BootstrapBlazor.WebAPI --version 7.2.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: BootstrapBlazor.WebAPI, 7.2.2"
#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.2.2 // Install BootstrapBlazor.WebAPI as a Cake Tool #tool nuget:?package=BootstrapBlazor.WebAPI&version=7.2.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Blazor WebAPI 组件 (浏览器信息/电池信息/网络信息/截屏/录像/上传/Cookie/LocalStorage)
- 电池信息类
- 网络信息类
- 浏览器信息类
- 截屏录像类
- 上传
- Cookie/LocalStorage
示例:
https://blazor.app1.es/screencapture
https://blazor.app1.es/Storages
https://blazor.app1.es/UploadToBase64s
使用方法:
1.nuget包
BootstrapBlazor.WebAPI
2._Imports.razor 文件 或者页面添加 添加组件库引用
@using BootstrapBlazor.Components
3.razor页面
<WebApi OnBatteryResult="@OnBatteryResult" OnNetworkInfoResult="@OnNetworkInfoResult" OnUserAgentResult="OnUserAgentResult" OnError="@OnError" ShowInfo />
<Capture OnCaptureResult="@OnCaptureResult" OnError="@OnError" Camera="false" />
@code{
private Task OnBatteryResult(BatteryStatus item)
{
xx = item;
StateHasChanged();
return Task.CompletedTask;
}
private Task OnNetworkInfoResult(NetworkInfoStatus item)
{
xx = item;
StateHasChanged();
return Task.CompletedTask;
}
private Task OnUserAgentResult(UAInfo item)
{
xx = item;
StateHasChanged();
return Task.CompletedTask;
}
private Task OnError(string message)
{
this.message = message;
StateHasChanged();
return Task.CompletedTask;
}
//OCR库
private OCR? OCR { get; set; }
private async Task OnCaptureResult(Stream item)
{
if (OCR!=null) await OCR.OCRFromStream(item);
StateHasChanged();
}
}
更新历史
v7.2.2
- Capture 组件添加指定高宽,可保存高质量图片
v7.2
- 添加 Cookie / LocalStorage 服务
- 添加 上传图片 UploadToBase64 组件
- Capture 组件优化
Blazor 组件
AlexChow
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. 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 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. 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.
-
net6.0
- Microsoft.AspNetCore.Components.Web (>= 6.0.0)
- UAParser (>= 3.1.47)
-
net7.0
- Microsoft.AspNetCore.Components.Web (>= 7.0.0)
- UAParser (>= 3.1.47)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on BootstrapBlazor.WebAPI:
Package | Downloads |
---|---|
BlazorShared
BlazorMaui , 整合Blazor,BootstrapBlazor UI组件库,Maui的共享跨平台工程示例共享库 |
|
BootstrapBlazor.Densen.All
Blazor 组件懒人包 |
|
BlazorHybrid.Maui.Permissions
用于 Maui Blazor 框架的跨平台库权限包 |
|
BootstrapBlazor.OpenAI
Bootstrap UI OpenAI components experience |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on BootstrapBlazor.WebAPI:
Repository | Stars |
---|---|
densen2014/BlazorMaui
用 c # 和 Razor 创建本机移动应用和桌面应用。使用 Blazor.BB.Maui,可以快速开发共享代码库运行于 Windows (Winforms/WPF/UWP)、Android、iOS、macOS 的应用。
|
|
densen2014/BlazorHybrid
关于BlazorHybrid的一切研究. 用 c # 和 Razor 创建本机移动应用和桌面应用。快速开发共享代码库运行于 Windows (Winforms/WPF/UWP)、Android、iOS、macOS、Linux 的应用。
|
Version | Downloads | Last updated | |
---|---|---|---|
9.0.0 | 34 | 1/21/2025 | |
8.0.5 | 2,648 | 4/26/2024 | |
8.0.4 | 1,603 | 12/12/2023 | |
8.0.3 | 179 | 12/9/2023 | |
8.0.2 | 213 | 12/2/2023 | |
8.0.1 | 139 | 12/2/2023 | |
8.0.0 | 572 | 11/15/2023 | |
7.5.3 | 812 | 11/2/2023 | |
7.5.2 | 155 | 11/2/2023 | |
7.5.1 | 155 | 11/1/2023 | |
7.5.0 | 888 | 9/24/2023 | |
7.4.6 | 173 | 9/21/2023 | |
7.4.5 | 131 | 9/20/2023 | |
7.4.4 | 391 | 9/10/2023 | |
7.4.3 | 186 | 9/10/2023 | |
7.4.2 | 186 | 9/10/2023 | |
7.4.1 | 272 | 9/8/2023 | |
7.4.0 | 158 | 9/7/2023 | |
7.3.6 | 198 | 9/7/2023 | |
7.3.5 | 176 | 9/6/2023 | |
7.3.4 | 167 | 9/6/2023 | |
7.3.3 | 158 | 9/6/2023 | |
7.3.2 | 155 | 9/6/2023 | |
7.3.1 | 170 | 9/5/2023 | |
7.3.0 | 169 | 9/5/2023 | |
7.2.6 | 230 | 9/2/2023 | |
7.2.5 | 670 | 7/28/2023 | |
7.2.4 | 192 | 7/28/2023 | |
7.2.3 | 243 | 7/8/2023 | |
7.2.2 | 204 | 7/6/2023 | |
7.2.1 | 187 | 7/6/2023 | |
7.1.2 | 236 | 6/9/2023 | |
7.1.1 | 192 | 6/9/2023 | |
7.1.0 | 177 | 6/7/2023 | |
7.0.10 | 187 | 6/7/2023 | |
7.0.9 | 177 | 6/7/2023 | |
7.0.7 | 178 | 6/6/2023 | |
7.0.6 | 187 | 6/6/2023 | |
7.0.5 | 825 | 3/15/2023 | |
7.0.4 | 226 | 3/15/2023 | |
7.0.3 | 340 | 2/28/2023 | |
7.0.2 | 974 | 1/24/2023 | |
7.0.1 | 753 | 12/7/2022 | |
7.0.0 | 923 | 11/9/2022 | |
6.2.1 | 551 | 10/12/2022 | |
6.2.0 | 383 | 10/12/2022 |