Blazor.Tools.BlazorBundler
3.1.20
dotnet add package Blazor.Tools.BlazorBundler --version 3.1.20
NuGet\Install-Package Blazor.Tools.BlazorBundler -Version 3.1.20
<PackageReference Include="Blazor.Tools.BlazorBundler" Version="3.1.20" />
paket add Blazor.Tools.BlazorBundler --version 3.1.20
#r "nuget: Blazor.Tools.BlazorBundler, 3.1.20"
// Install Blazor.Tools.BlazorBundler as a Cake Addin #addin nuget:?package=Blazor.Tools.BlazorBundler&version=3.1.20 // Install Blazor.Tools.BlazorBundler as a Cake Tool #tool nuget:?package=Blazor.Tools.BlazorBundler&version=3.1.20
BlazorBundler
BlazorBundler is a utility tool designed to simplify the process of bundling multiple packages, particularly for Blazor applications. This tool allows you to download and bundle essential files and dependencies, such as Bootstrap and Bootstrap Icons, to enhance your Blazor projects.
Version Information
- Package Version: $packageVersion
- Assembly Version: $assemblyVersion
- File Version: $fileVersion
Features
- Automated Package Bundling: Easily download and bundle multiple packages with a single command.
- Bootstrap Integration: Seamlessly include Bootstrap and Bootstrap Icons in your Blazor projects.
- Asynchronous Downloads: Efficiently download multiple files simultaneously for faster setup.
- Bundle:
- Blazor.Bootstrap version 1.11.1
- Blazored.Typeahead version 4.7.0
- Bogus version 35.6.0
- Bootstrap Icons version 1.11.3
- ClosedXml version 0.102.3
- Dapper version 2.1.35
- HtmlAgilityPack version 1.11.61
- ICSharpCode.Decompiler version version 9.0.0.7660-preview2
- Microsoft.AspNetCore.Components version 9.0.0-preview.7.24406.2
- Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore version 9.0.0-rc.1.24452.1
- Microsoft.AspNetCore.Identity.EntityFrameworkCore version 9.0.0-rc.1.24452.1
- Microsoft.Build version 17.10.4
- Microsoft.CodeAnalysis.CSharp version 4.11.0
- Microsoft.Data.SqlClient version 5.2.2
- Microsoft.Extensions.Configuration version 9.0.0-preview.7.24405.7
- Microsoft.EntityFrameworkCore.SqlServer version 8.0.6
- Microsoft.EntityFrameworkCore.Tools version 8.0.6
- Microsoft.ML version 3.0.1
- Microsoft.VisualStudio.Azure.Containers.Tools.Targets version 1.21.0
- Mono.Cecil version 0.11.5
- Newtonsoft.Json version 13.0.3
- System.Data.OleDb version 9.0.0-preview.7.24405.7
- System.Configuration.ConfigurationManager version 8.0.0
- System.Data.SqlClient version 4.8.6
- System.Diagnostics.PerformanceCounter version 8.0.0
Installation
You can install BlazorBundler via NuGet Package Manager, Package Manager Console or from a terminal:
Nuget Package Manager
- Search for Blazor.Tools.BlazorBundler in nuget.org and click Install.
Package Manager Console
Install-Package Blazor.Tools.BlazorBundler
Terminal console
dotnet add package Blazor.Tools.BlazorBundler
After-Install Setup Commands
Note: After installing the package, you have to manually run the Install-Pkgs module file to install required nuget packages. First replace the values of the $userProfileName and $targetPath variables.
$userProfileName should contain your Windows UserProfile Name
$sourcePath should not be changed
$targetPath should contain the full path of your project file
Open PowerShell and run:
$version = "$packageVersion"
$userProfileName = "solom"
$sourcePath = "C:\Users\$userProfileName\.nuget\packages\blazor.tools.blazorbundler\$version"
$targetPath = "C:\repo\Blazor.Tools\Blazor.Tools\Blazor.Tools.csproj"
Install-Pkgs -SourcePath $sourcePath -TargetProjectPath $targetPath
Setup your App.razor stylesheets and javascripts
Add these to your <head> section:
<link rel="stylesheet" href="bootstrap/bootstrap.min.css" />
<link rel="stylesheet" href="bundler/bootstrap-icons/font/bootstrap-icons.min.css" />
<link rel="stylesheet" href="bundler/blazor-bootstrap/blazor.bootstrap.css" />
<link rel="stylesheet" href="bundler/css/bundler.css" />
<link rel="stylesheet" href="Blazor.Tools.styles.css" />
<script src="bundler/blazored-typeahead/blazored-typeahead.js"></script>
<script src="bundler/js/site.js"></script>
<HeadOutlet @rendermode="@InteractiveServer" />
Add these to your <body> section:
<Routes @rendermode="@InteractiveServer" />
<script src="_framework/blazor.web.js"></script>
<script src="bundler/js/bootstrap.bundle.min.js"></script>
<script src="bundler/blazor-bootstrap/blazor.bootstrap.js"></script>
Add this to your Program.cs file:
builder.Services.AddBlazorBootstrap();
Uninstallation
First, uninstall the package from the Nuget Package Manager, Package Manager Console or from a terminal.
Nuget Package Manager
- Search Blazor.Tools.BlazorBundler and uninstall it.
Package Manager Console
Uninstall-Package Blazor.Tools.BlazorBundler
Terminal console
dotnet remove package Blazor.Tools.BlazorBundler
Clean-up
Note: After uninstalling the package, you have to manually run the Uninstall module file to uninstall the packages. First replace the values of the $userProfileName and $targetPath variables.
$projectPath should contain the path to your project folder
$projectName should contain the name of your project
Open PowerShell and run:
$projectPath = "C:\repo\Blazor.Tools\Blazor.Tools\"
$projectName = "Blazor.Tools.csproj"
Uninstall-Pkgs -ProjectPath $projectPath -ProjectName $projectName
Change Logs
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. |
-
net9.0
- Blazor.Bootstrap (>= 3.0.0)
- Blazor.Tools.BlazorBundler.Entities (>= 3.1.20)
- Blazor.Tools.BlazorBundler.Entities.SampleObjects.Data (>= 3.1.20)
- Blazor.Tools.BlazorBundler.Entities.SampleObjects.Models (>= 3.1.20)
- Blazor.Tools.BlazorBundler.Entities.SampleObjects.ViewModels (>= 3.1.20)
- Blazor.Tools.BlazorBundler.Extensions (>= 3.1.20)
- Blazor.Tools.BlazorBundler.Factories (>= 3.1.20)
- Blazor.Tools.BlazorBundler.Interfaces (>= 3.1.20)
- Blazor.Tools.BlazorBundler.Models (>= 3.1.20)
- Blazor.Tools.BlazorBundler.SessionManagement (>= 3.1.20)
- Blazor.Tools.BlazorBundler.Utilities (>= 3.1.20)
- Bogus (>= 35.6.1)
- ClosedXML (>= 0.104.0-rc1)
- Dapper (>= 2.1.35)
- HtmlAgilityPack (>= 1.11.66)
- Humanizer (>= 3.0.0-beta.54)
- ICSharpCode.Decompiler (>= 9.0.0.7660-preview2)
- Microsoft.AspNetCore.Components (>= 9.0.0-rc.1.24452.1)
- Microsoft.Build (>= 17.11.4)
- Microsoft.CodeAnalysis.CSharp (>= 4.12.0-2.final)
- Microsoft.Data.SqlClient (>= 6.0.0-preview1.24240.8)
- Microsoft.Extensions.Configuration (>= 9.0.0-rc.1.24431.7)
- Microsoft.ML (>= 4.0.0-preview.24378.1)
- Mono.Cecil (>= 0.11.5)
- System.Data.OleDb (>= 9.0.0-rc.1.24431.7)
- System.Data.SqlClient (>= 4.8.6)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
3.1.20 | 172 | 9/28/2024 |
3.1.19 | 172 | 9/27/2024 |
3.1.18 | 186 | 9/26/2024 |
3.1.17 | 111 | 9/25/2024 |
3.1.16 | 134 | 9/25/2024 |
3.1.15 | 124 | 9/25/2024 |
3.1.14 | 128 | 9/25/2024 |
3.1.13 | 101 | 9/25/2024 |
3.1.12 | 121 | 9/25/2024 |
3.1.11 | 112 | 9/25/2024 |
3.1.10 | 99 | 9/25/2024 |
3.1.9 | 147 | 9/24/2024 |
3.1.8 | 176 | 9/24/2024 |
3.1.7 | 151 | 9/24/2024 |
3.1.6 | 128 | 9/24/2024 |
3.1.5 | 169 | 9/24/2024 |