BootstrapBlazor.CodeEditor
9.0.0-beta01
Prefix Reserved
See the version list below for details.
dotnet add package BootstrapBlazor.CodeEditor --version 9.0.0-beta01
NuGet\Install-Package BootstrapBlazor.CodeEditor -Version 9.0.0-beta01
<PackageReference Include="BootstrapBlazor.CodeEditor" Version="9.0.0-beta01" />
paket add BootstrapBlazor.CodeEditor --version 9.0.0-beta01
#r "nuget: BootstrapBlazor.CodeEditor, 9.0.0-beta01"
// Install BootstrapBlazor.CodeEditor as a Cake Addin #addin nuget:?package=BootstrapBlazor.CodeEditor&version=9.0.0-beta01&prerelease // Install BootstrapBlazor.CodeEditor as a Cake Tool #tool nuget:?package=BootstrapBlazor.CodeEditor&version=9.0.0-beta01&prerelease
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 Standard 2.1 based, with direct reference to the rich .NET ecosystem.
- Supports NET5. (Server-Side, WASM)
- 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 2019 lastest Official website
git clone https://github.com/dotnetcore/BootstrapBlazor.git
cd BootstrapBlazor/src/BootstrapBlazor.Server
dotnet run
Create a new project from the dotnet new template
- Install the template
dotnet new install Bootstrap.Blazor.Templates::*
- Create the Boilerplate project with the template
dotnet new bbapp
Install Bootstrap Blazor Project Template
- Download Project Template
Microsoft Market link
- Double Click BootstrapBlazor.UITemplate.vsix
Import Bootstrap Blazor into an existing project
- Go to the project folder of the application and install the Nuget package reference
dotnet add package BootstrapBlazor
- Add the
stylesheet
javascripts
file to your main index file -Pages/_Host.cshtml (Server)
orwwwroot/index.html (WebAssembly)
HTML
<!DOCTYPE html>
<html lang="en">
<head>
. . .
<link rel="stylesheet" href="_content/BootstrapBlazor/css/bootstrap.blazor.bundle.min.css">
</head>
<body>
. . .
<script src="_framework/blazor.server.js"></script>
<script src="_content/BootstrapBlazor/js/bootstrap.blazor.bundle.min.js"></script>
</body>
</html>
- Open the
~/Startup.cs
file in the and register theBootstrap Blazor
service:
C#
namespace BootstrapBlazorAppName
{
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
//more code may be present here
services.AddBootstrapBlazor();
}
//more code may be present here
}
}
Visual Studio Integration
To create a new Bootstrap Blazor
UI for Blazor application, use the Create New Project Wizard. The wizard detects all installed versions of Bootstrap Blazor
for Blazor and lists them in the Version combobox—this enables you to start your project with the desired version. You can also get the latest version to make sure you are up to date.
- Get the Wizard
To use the Create New Project Wizard, install the Bootstrap Blazor
UI for Blazor Visual Studio Extensions. You can get it from the:
- Visual Studio Marketplace (for Windows)
- Start the Wizard
To start the wizard, use either of the following approaches
Using the Project menu:
- Click File > New > Project.
- Find and click the C# Blazor Application option (you can use the search, or filter by Blazor templates).
- Follow the wizard.
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. |
-
net6.0
- BootstrapBlazor (>= 9.0.0-rc03)
-
net7.0
- BootstrapBlazor (>= 9.0.0-rc03)
-
net8.0
- BootstrapBlazor (>= 9.0.0-rc03)
-
net9.0
- BootstrapBlazor (>= 9.0.0-rc03)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on BootstrapBlazor.CodeEditor:
Package | Downloads |
---|---|
ThingsGateway.Gateway.Razor
Package Description |
|
ThingsGateway.Blazor.RulesEngine
Package Description |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on BootstrapBlazor.CodeEditor:
Repository | Stars |
---|---|
dotnetcore/BootstrapBlazor
Bootstrap Blazor is an enterprise-level UI component library based on Bootstrap and Blazor.
|
|
ThingsGateway/ThingsGateway
ThingsGateway is a cross platform high-performance edge acquisition gateway based on Net8, providing underlying PLC communication libraries, communication debugging software, and more.
|
Version | Downloads | Last updated |
---|---|---|
9.0.0 | 938 | 11/13/2024 |
9.0.0-beta02 | 80 | 11/7/2024 |
9.0.0-beta01 | 115 | 11/1/2024 |
8.2.0 | 829 | 10/16/2024 |
8.1.1 | 404 | 10/11/2024 |
8.1.0 | 134 | 10/11/2024 |
8.0.2 | 2,261 | 4/1/2024 |
8.0.1 | 178 | 4/1/2024 |
8.0.0 | 1,975 | 11/15/2023 |
7.0.0 | 516 | 10/31/2023 |