BootstrapBlazor.WebAPI
11.0.0-rc.2
Prefix Reserved
This is a prerelease version of BootstrapBlazor.WebAPI.
dotnet add package BootstrapBlazor.WebAPI --version 11.0.0-rc.2
NuGet\Install-Package BootstrapBlazor.WebAPI -Version 11.0.0-rc.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="11.0.0-rc.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BootstrapBlazor.WebAPI" Version="11.0.0-rc.2" />
<PackageReference Include="BootstrapBlazor.WebAPI" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add BootstrapBlazor.WebAPI --version 11.0.0-rc.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: BootstrapBlazor.WebAPI, 11.0.0-rc.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.
#:package BootstrapBlazor.WebAPI@11.0.0-rc.2
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=BootstrapBlazor.WebAPI&version=11.0.0-rc.2&prerelease
#tool nuget:?package=BootstrapBlazor.WebAPI&version=11.0.0-rc.2&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Bootstrap Blazor Component
A set of enterprise-class UI components based on Bootstrap and Blazor.
Features
- Enterprise-class UI designed for web applications.
- A set of high-quality Blazor components out of the box.
- Supports WebAssembly-based client-side and SignalR-based server-side UI event interaction.
- Supports Progressive Web Applications (PWA).
- Build with C#, a multi-paradigm static language for an efficient development experience.
- .NET 6.0, with direct reference to the rich .NET ecosystem.
- Seamless integration with existing ASP.NET Core MVC and Razor Pages projects.
Online Examples
Installation Guide
- Install .net core sdk Official website
- Install Visual Studio lastest Official website
git clone https://github.com/dotnetcore/BootstrapBlazor.git
cd BootstrapBlazor/src/BootstrapBlazor.Server
dotnet run
Quick Installation Guide
Install Package
dotnet add package BootstrapBlazor
Add the following to _Imports.razor
@using BootstrapBlazor.Components
Add the following to the MainLayout.razor
<BootstrapBlazorRoot>
@Body
</BootstrapBlazorRoot>
Add the following to your HTML head section
it's either index.html or _Layout.cshtml/_Host.cshtml/App.razor depending on whether you're running WebAssembly or Server
<link rel="stylesheet" href="_content/BootstrapBlazor/css/bootstrap.blazor.bundle.min.css" />
Add the following script at the end of the body
<script src="_content/BootstrapBlazor/js/bootstrap.blazor.bundle.min.js"></script>
Add the following to the relevant sections of Program.cs
builder.Services.AddBootstrapBlazor();
Usage
<Display Value="@_text"></Display>
<Button Text="Button" OnClick="@ClickButton"></Button>
@code {
private string? _text;
private void ClickButton(MouseEventArgs e)
{
_text = DateTime.Now.ToString();
}
}
Install CLI Template
- Install the template
dotnet new install Bootstrap.Blazor.Templates::*
- Create the Boilerplate project with the template
dotnet new bbapp
| 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 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 is compatible. 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. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. net11.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- BootstrapBlazor (>= 11.0.1)
- UAParser (>= 3.1.47)
-
net11.0
- BootstrapBlazor (>= 11.0.1)
- UAParser (>= 3.1.47)
-
net6.0
- BootstrapBlazor (>= 11.0.1)
- UAParser (>= 3.1.47)
-
net7.0
- BootstrapBlazor (>= 11.0.1)
- UAParser (>= 3.1.47)
-
net8.0
- BootstrapBlazor (>= 11.0.1)
- UAParser (>= 3.1.47)
-
net9.0
- BootstrapBlazor (>= 11.0.1)
- 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 | |
|---|---|---|---|
| 11.0.0-rc.2 | 39 | 10/17/2026 | |
| 9.0.0 | 1,335 | 1/21/2025 | |
| 8.0.5 | 5,783 | 4/26/2024 | |
| 8.0.4 | 4,373 | 12/12/2023 | |
| 8.0.3 | 358 | 12/9/2023 | |
| 8.0.2 | 407 | 12/2/2023 | |
| 8.0.1 | 280 | 12/2/2023 | |
| 8.0.0 | 946 | 11/15/2023 | |
| 7.5.3 | 1,178 | 11/2/2023 | |
| 7.5.2 | 313 | 11/2/2023 | |
| 7.5.1 | 308 | 11/1/2023 | |
| 7.5.0 | 2,199 | 9/24/2023 | |
| 7.4.6 | 298 | 9/21/2023 | |
| 7.4.5 | 287 | 9/20/2023 | |
| 7.4.4 | 665 | 9/10/2023 | |
| 7.4.3 | 364 | 9/10/2023 | |
| 7.4.2 | 361 | 9/10/2023 | |
| 7.4.1 | 603 | 9/8/2023 | |
| 7.4.0 | 319 | 9/7/2023 | |
| 7.3.6 | 390 | 9/7/2023 |
Loading failed