BuzzBlazor 0.1.0-preview.3

This is a prerelease version of BuzzBlazor.
dotnet add package BuzzBlazor --version 0.1.0-preview.3
                    
NuGet\Install-Package BuzzBlazor -Version 0.1.0-preview.3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BuzzBlazor" Version="0.1.0-preview.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BuzzBlazor" Version="0.1.0-preview.3" />
                    
Directory.Packages.props
<PackageReference Include="BuzzBlazor" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add BuzzBlazor --version 0.1.0-preview.3
                    
#r "nuget: BuzzBlazor, 0.1.0-preview.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package BuzzBlazor@0.1.0-preview.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=BuzzBlazor&version=0.1.0-preview.3&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=BuzzBlazor&version=0.1.0-preview.3&prerelease
                    
Install as a Cake Tool

BuzzBlazor

BuzzBlazor is a Blazor component framework focused on reusable UI, accessibility, theming, and practical AI-assisted UX patterns.

Packages

NuGet package IDs:

  • BuzzBlazor
  • BuzzBlazor.Core
  • BuzzBlazor.Provider.OpenAI
  • BuzzBlazor.Provider.Ollama

Current preview line:

  • 0.1.0-preview.3

Installation

  1. Create a Blazor app (Blazor Web App in Visual Studio or dotnet new blazor).
  2. Install packages:
dotnet add package BuzzBlazor --version 0.1.0-preview.3
dotnet add package BuzzBlazor.Core --version 0.1.0-preview.3
dotnet add package BuzzBlazor.Provider.OpenAI --version 0.1.0-preview.3
dotnet add package BuzzBlazor.Provider.Ollama --version 0.1.0-preview.3

Basic Setup

Register Buzz and providers in Program.cs:

builder.Services.AddBuzzFramework(builder.Configuration, options =>
{
    options.DefaultProviderName = "openai";
    options.ProviderFailoverOrder = ["openai", "ollama", "mock"];

    // Cost controls
    options.AiMaxPromptCharacters = 1800;
    options.AiMaxUserInputCharacters = 350;
    options.AiMaxRequestsPerDay = 400;
    options.AiBudgetExceededBehavior = "fallback-mock";
});

if (!string.IsNullOrWhiteSpace(builder.Configuration["Buzz:OpenAI:ApiKey"]
    ?? Environment.GetEnvironmentVariable("OPENAI_API_KEY")))
{
    builder.Services.AddBuzzOpenAI(builder.Configuration);
}

if (!string.IsNullOrWhiteSpace(builder.Configuration["Buzz:Ollama:BaseUrl"]))
{
    builder.Services.AddBuzzOllama(builder.Configuration);
}

builder.Services.AddBuzzMock();

Provider Behavior

Provider selection order is:

  1. Buzz:DefaultProvider
  2. Buzz:ProviderFailoverOrder
  3. any remaining registered providers

This makes it easy to prefer OpenAI or Ollama while keeping a safe fallback.

For daily development, use these practical defaults:

  • AiMaxPromptCharacters: 1200-2000
  • AiMaxUserInputCharacters: 250-500
  • AiMaxRequestsPerDay: 200-500
  • AiBudgetExceededBehavior: fallback-mock
  • Buzz:OpenAI:MaxOutputTokens: 120-300
  • Buzz:OpenAI:Temperature: 0.1-0.3

Learn More

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
0.1.0-preview.3 86 3/27/2026
0.1.0-preview.2 73 3/19/2026
0.1.0-preview.1 76 3/19/2026