CanDoItAll.Components.QRCode
0.3.0
dotnet add package CanDoItAll.Components.QRCode --version 0.3.0
NuGet\Install-Package CanDoItAll.Components.QRCode -Version 0.3.0
<PackageReference Include="CanDoItAll.Components.QRCode" Version="0.3.0" />
<PackageVersion Include="CanDoItAll.Components.QRCode" Version="0.3.0" />
<PackageReference Include="CanDoItAll.Components.QRCode" />
paket add CanDoItAll.Components.QRCode --version 0.3.0
#r "nuget: CanDoItAll.Components.QRCode, 0.3.0"
#:package CanDoItAll.Components.QRCode@0.3.0
#addin nuget:?package=CanDoItAll.Components.QRCode&version=0.3.0
#tool nuget:?package=CanDoItAll.Components.QRCode&version=0.3.0
CanDoItAll.Components.QRCode
QRCode provides Blazor building blocks for showing and scanning QR codes: SVG rendering, copy-friendly dialog content, page-header actions, a scanner shell, and typed scan results. It stays payload-neutral, so your application decides what a QR code represents and how to validate or act on it.
Quick start
Register the renderer, make the dialog host available through BaseLib, then render a payload:
// Program.cs
builder.Services.AddCanDoItAllBaseLib();
builder.Services.AddCanDoItAllQrCode();
@using CanDoItAll.Components.QRCode
@using CanDoItAll.Components.QRCode.Components
<QrCodeView Payload="https://example.test/invite/7K3D"
Caption="Scan to open the invitation."
AriaLabel="Invitation QR code" />
Use QrCodeButton to open a QR dialog from a toolbar or page header. Use QrScanButton and its Scanned callback to receive a QrScanResult; preserve a manual-text path when camera access is unavailable. The Sandbox /groups/qr route shows the expected host setup.
The project owns generic QR UI only. Address, ticket, transaction, business-object, and other payload semantics belong in the consuming application or domain component library.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. |
-
net10.0
- CanDoItAll.Components.BaseLib (>= 0.3.0)
- Microsoft.AspNetCore.Components.Web (>= 10.0.14)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.14)
- Net.Codecrete.QrCodeGenerator (>= 3.2.1)
- ZXingBlazor (>= 1.1.8)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on CanDoItAll.Components.QRCode:
| Package | Downloads |
|---|---|
|
CanDoItAll.Ledger.Components
Blazor account workspaces, transaction inspectors, shared purchase links, and business-object galleries for WebAssembly and server-hosted CanDoItAll Ledger applications. |
GitHub repositories
This package is not used by any popular GitHub repositories.