FluentCards 0.2.0-beta-0005
dotnet add package FluentCards --version 0.2.0-beta-0005
NuGet\Install-Package FluentCards -Version 0.2.0-beta-0005
<PackageReference Include="FluentCards" Version="0.2.0-beta-0005" />
<PackageVersion Include="FluentCards" Version="0.2.0-beta-0005" />
<PackageReference Include="FluentCards" />
paket add FluentCards --version 0.2.0-beta-0005
#r "nuget: FluentCards, 0.2.0-beta-0005"
#:package FluentCards@0.2.0-beta-0005
#addin nuget:?package=FluentCards&version=0.2.0-beta-0005&prerelease
#tool nuget:?package=FluentCards&version=0.2.0-beta-0005&prerelease
FluentCards — .NET
A .NET 8 library for building Adaptive Cards using a fluent builder pattern with strong typing and AOT-compatible JSON serialization.
Installation
dotnet add package FluentCards
Quick Start
using FluentCards;
var card = AdaptiveCardBuilder.Create()
.WithVersion(AdaptiveCardVersion.V1_5)
.AddTextBlock(tb => tb
.WithText("Hello, FluentCards!")
.WithSize(TextSize.Large)
.WithWeight(TextWeight.Bolder)
.WithWrap(true))
.AddAction(a => a
.OpenUrl("https://adaptivecards.io")
.WithTitle("Learn More"))
.Build();
Console.WriteLine(card.ToJson());
Project Layout
dotnet/
├── src/FluentCards/ # Library source
├── tests/FluentCards.Tests/ # xUnit tests
├── samples/ # Usage examples
├── benchmarks/ # BenchmarkDotNet benchmarks
└── scripts/ # Screenshot and setup utilities
API Overview
All elements use the builder pattern: Create() → WithX() / AddX(configure) → Build().
Available builders: AdaptiveCardBuilder, TextBlockBuilder, ImageBuilder, ContainerBuilder, ColumnSetBuilder, ColumnBuilder, FactSetBuilder, RichTextBlockBuilder, TextRunBuilder, ActionSetBuilder, MediaBuilder, ImageSetBuilder, TableBuilder, ActionBuilder, BackgroundImageBuilder, RefreshBuilder, AuthenticationBuilder, and input builders (InputTextBuilder, InputNumberBuilder, InputDateBuilder, InputTimeBuilder, InputToggleBuilder, InputChoiceSetBuilder).
Build & Test
cd dotnet
dotnet build --configuration Release
dotnet test --configuration Release --no-build
See the root README for all language ports, and Schema Validation and Teams Cards for more details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
-
net8.0
- No dependencies.
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.2.0-beta-0005 | 54 | 4/27/2026 |
| 0.2.0-beta-0004 | 203 | 4/15/2026 |
| 0.2.0-beta-0001 | 51 | 4/15/2026 |
| 0.1.0-beta-0023 | 59 | 4/15/2026 |
| 0.1.0-beta-0020 | 53 | 4/15/2026 |
| 0.1.0-beta-0014 | 55 | 4/15/2026 |
| 0.1.0-beta-0013 | 55 | 4/7/2026 |
| 0.1.0-beta-0007 | 57 | 4/6/2026 |
| 0.1.0-beta-0003 | 52 | 4/6/2026 |
| 0.1.0-beta-0002 | 48 | 4/6/2026 |
Initial release with full Adaptive Cards 1.6.0 schema support, fluent builder API, AOT-compatible serialization, validation system, and comprehensive samples.