ZXingBlazor 1.0.2
See the version list below for details.
dotnet add package ZXingBlazor --version 1.0.2
NuGet\Install-Package ZXingBlazor -Version 1.0.2
<PackageReference Include="ZXingBlazor" Version="1.0.2" />
paket add ZXingBlazor --version 1.0.2
#r "nuget: ZXingBlazor, 1.0.2"
// Install ZXingBlazor as a Cake Addin #addin nuget:?package=ZXingBlazor&version=1.0.2 // Install ZXingBlazor as a Cake Tool #tool nuget:?package=ZXingBlazor&version=1.0.2
ZXing Blazor Component 0.2.6
English | <a href="https://blazor.app1.es/"> Other Blazor components</a>
Introduction
This project is a Blazor component library packaged with ZXing, Support barcode, QR code, PDF417 format.
Demo
https://zxingblazorwasm.app1.es
Nuget
https://www.nuget.org/packages/ZXingBlazor/
Screenshot
Instructions:
NuGet install pack
ZXingBlazor
_Imports.razor or Razor page
@using ZXingBlazor.Components
Razor page
Razor
https://github.com/densen2014/ZXingBlazor/blob/master/Demo.Server/Pages/Index.razor<b>Result:</b> <br /> <pre>@BarCode</pre> <BarcodeReader ScanResult="ScanResult" /> @code{ /// <summary> /// BarCode /// </summary> public string? BarCode { get; set; } private void ScanResult(string e) { BarCode = e; ShowScanBarcode = !ShowScanBarcode; } }
Updates
2022.11.23 Add optiones
- Pdf417Only: decode only Pdf417 format
- Decodeonce: decode Once or Decode Continuously, default is Once
- DecodeAllFormats: decodde All Formats, performance is poor, you can set options.formats to customize specify the encoding formats. The default is false
2022.3.6 Upgrade to js isolated version, add image browser Viewer component, and upgrade demo project to net6 format
2021.5.13 BarcodeReader supports defining button text and supports multiple languages
Participate in contribution
- Fork this project
- Create new Feat_xxx branch
- Submit the code
- New Pull Request
ZXing Blazor 扫码组件 0.2.6
<a href="https://blazor.app1.es/"> 其他 Blazor 组件</a>
项目介绍
本项目是利用 ZXing 进行封装的 Blazor 组件库, 支持条码,二维码,PDF417格式.
演示地址
ssr https://zxingblazor.app1.es
wasm https://zxingblazorwasm.app1.es
Nuget 包安装
https://www.nuget.org/packages/ZXingBlazor/
使用步骤:
安装 NuGet 包
ZXingBlazor
_Imports.razor 或者 Razor 页面引用
@using ZXingBlazor.Components
Razor 页面代码
Razor
https://github.com/densen2014/ZXingBlazor/blob/master/Demo.Server/Pages/Index.razor<b>Result:</b> <br /> <pre>@BarCode</pre> <BarcodeReader ScanResult="ScanResult" /> @code{ /// <summary> /// BarCode /// </summary> public string? BarCode { get; set; } private void ScanResult(string e) { BarCode = e; ShowScanBarcode = !ShowScanBarcode; } }
更新
2022.11.23 添加选项
- Pdf417Only: 只解码 Pdf417 格式 / decode only Pdf417 format
- Decodeonce: 单次|连续解码,默认单次 / Decode Once or Decode Continuously, default is Once
- DecodeAllFormats: 解码所有编码形式,性能较差, 开启后可用 options.formats 指定编码形式.默认为 false | Decodde All Formats, performance is poor, you can set options.formats to customize specify the encoding formats. The default is false
2022.3.6 升级为js隔离版本,添加图片浏览器 Viewer组件, 演示工程升级为net6格式
2021.5.13 BarcodeReader 支持定义按钮文本,支持多语言
参与贡献
- Fork 本项目
- 新建 Feat_xxx 分支
- 提交代码
- 新建 Pull Request
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. |
-
net6.0
- Microsoft.AspNetCore.Components.Web (>= 6.0.0)
-
net7.0
- Microsoft.AspNetCore.Components.Web (>= 7.0.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on ZXingBlazor:
Package | Downloads |
---|---|
FenixAlliance.ACL.Dependencies
Application Component for the Alliance Business Suite. |
|
BootstrapBlazor.Densen.All
Blazor 组件懒人包 |
|
Oarw.Blazor.InputScan
Provides an input control for use in a blazor form that combines multiple meethods of barcode and QR code scanning. |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on ZXingBlazor:
Repository | Stars |
---|---|
densen2014/BlazorHybrid
关于BlazorHybrid的一切研究. 用 c # 和 Razor 创建本机移动应用和桌面应用。快速开发共享代码库运行于 Windows (Winforms/WPF/UWP)、Android、iOS、macOS、Linux 的应用。
|
Version | Downloads | Last updated | |
---|---|---|---|
1.1.5 | 7,781 | 7/20/2024 | |
1.1.4 | 17,342 | 12/9/2023 | |
1.1.3 | 2,269 | 12/2/2023 | |
1.1.2 | 662 | 12/2/2023 | |
1.1.1 | 668 | 12/2/2023 | |
1.1.0 | 1,436 | 11/15/2023 | |
1.0.10 | 1,696 | 11/8/2023 | |
1.0.9 | 663 | 11/7/2023 | |
1.0.8 | 1,077 | 11/5/2023 | |
1.0.7 | 704 | 11/5/2023 | |
1.0.6 | 780 | 11/2/2023 | |
1.0.5 | 628 | 11/2/2023 | |
1.0.4 | 777 | 11/1/2023 | |
1.0.3 | 6,747 | 8/15/2023 | |
1.0.2 | 997 | 8/15/2023 | |
1.0.1 | 2,106 | 8/14/2023 | |
1.0.0 | 17,143 | 6/7/2023 | |
0.2.7 | 19,775 | 1/26/2023 | |
0.2.6 | 8,856 | 11/24/2022 | |
0.2.5 | 1,505 | 11/22/2022 | |
0.2.4 | 1,099 | 11/22/2022 | |
0.2.3 | 545,461 | 3/31/2022 | |
0.2.2 | 1,352 | 3/29/2022 | |
0.2.1 | 1,273 | 3/27/2022 | |
0.2.0 | 8,209 | 3/6/2022 | |
0.1.6 | 34,846 | 5/13/2021 | |
0.1.5 | 1,692 | 2/26/2021 | |
0.1.4 | 1,595 | 10/5/2020 | |
0.1.3 | 1,427 | 10/5/2020 | |
0.1.2 | 1,370 | 9/26/2020 | |
0.1.0 | 1,789 | 9/25/2020 |