BootstrapBlazor.FileViewer
9.0.0-beta01
Prefix Reserved
See the version list below for details.
dotnet add package BootstrapBlazor.FileViewer --version 9.0.0-beta01
NuGet\Install-Package BootstrapBlazor.FileViewer -Version 9.0.0-beta01
<PackageReference Include="BootstrapBlazor.FileViewer" Version="9.0.0-beta01" />
paket add BootstrapBlazor.FileViewer --version 9.0.0-beta01
#r "nuget: BootstrapBlazor.FileViewer, 9.0.0-beta01"
// Install BootstrapBlazor.FileViewer as a Cake Addin #addin nuget:?package=BootstrapBlazor.FileViewer&version=9.0.0-beta01&prerelease // Install BootstrapBlazor.FileViewer as a Cake Tool #tool nuget:?package=BootstrapBlazor.FileViewer&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)
- ce.office.extension (>= 2.0.0)
- SharpZipLib (>= 1.4.2)
- System.Drawing.Common (>= 8.0.10)
-
net7.0
- BootstrapBlazor (>= 9.0.0-rc03)
- ce.office.extension (>= 2.0.0)
- SharpZipLib (>= 1.4.2)
- System.Drawing.Common (>= 8.0.10)
-
net8.0
- BootstrapBlazor (>= 9.0.0-rc03)
- ce.office.extension (>= 2.0.0)
- SharpZipLib (>= 1.4.2)
- System.Drawing.Common (>= 8.0.10)
-
net9.0
- BootstrapBlazor (>= 9.0.0-rc03)
- ce.office.extension (>= 2.0.0)
- SharpZipLib (>= 1.4.2)
- System.Drawing.Common (>= 8.0.10)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on BootstrapBlazor.FileViewer:
Package | Downloads |
---|---|
BlazorShared
BlazorMaui , 整合Blazor,BootstrapBlazor UI组件库,Maui的共享跨平台工程示例共享库 |
|
BootstrapBlazor.Densen.All
Blazor 组件懒人包 |
|
BootstrapBlazor.Shared
Package Description |
GitHub repositories (3)
Showing the top 3 popular GitHub repositories that depend on BootstrapBlazor.FileViewer:
Repository | Stars |
---|---|
dotnetcore/BootstrapBlazor
Bootstrap Blazor is an enterprise-level UI component library based on Bootstrap and Blazor.
|
|
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 | 648 | 11/13/2024 |
9.0.0-beta02 | 81 | 11/7/2024 |
9.0.0-beta01 | 118 | 11/1/2024 |
8.3.0 | 491 | 10/16/2024 |
8.1.1 | 243 | 10/10/2024 |
8.1.0 | 461 | 9/21/2024 |
8.0.3 | 2,168 | 5/21/2024 |
8.0.3-NPOI256 | 95 | 5/21/2024 |
8.0.3-beta2 | 100 | 5/21/2024 |
8.0.3-beta1 | 104 | 5/21/2024 |
8.0.1 | 1,870 | 12/9/2023 |
8.0.0 | 632 | 11/15/2023 |
7.0.3 | 5,118 | 2/17/2023 |
7.0.2 | 270 | 2/17/2023 |
7.0.1 | 1,616 | 12/23/2022 |
7.0.0 | 323 | 12/23/2022 |
1.0.0 | 372 | 12/23/2022 |