DioRed.Vermilion.Hosting
15.1.0
dotnet add package DioRed.Vermilion.Hosting --version 15.1.0
NuGet\Install-Package DioRed.Vermilion.Hosting -Version 15.1.0
<PackageReference Include="DioRed.Vermilion.Hosting" Version="15.1.0" />
<PackageVersion Include="DioRed.Vermilion.Hosting" Version="15.1.0" />
<PackageReference Include="DioRed.Vermilion.Hosting" />
paket add DioRed.Vermilion.Hosting --version 15.1.0
#r "nuget: DioRed.Vermilion.Hosting, 15.1.0"
#:package DioRed.Vermilion.Hosting@15.1.0
#addin nuget:?package=DioRed.Vermilion.Hosting&version=15.1.0
#tool nuget:?package=DioRed.Vermilion.Hosting&version=15.1.0
DioRed.Vermilion.Hosting
Generic Host integration for Vermilion.
Main entry point is IHostBuilder.AddVermilion(...), which configures logging and registers a hosted service.
using DioRed.Vermilion.Hosting;
using Microsoft.Extensions.Hosting;
Host.CreateDefaultBuilder(args)
.AddVermilion("MyBot", v =>
{
v.ConfigureChatStorage(s => s.UseInMemory());
v.ConfigureConnectors(c => c.AddTelegram());
v.ConfigureCommandHandlers(h => h.Add("/ping", () => "pong"));
})
.Build()
.Run();
Note: Vermilion requires exactly one ChatStorage, at least one Connector, and at least one CommandHandler.
v15 notes:
- command handlers are cancellation-aware
- simple registration helpers support both sync delegates and
CancellationToken-aware async delegates - chat storage providers use streaming reads and immutable
ChatMetadata
| 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
- DioRed.Common.ConfigurationExtensions (>= 0.4.0)
- DioRed.Common.Logging (>= 4.7.2)
- DioRed.Vermilion.Core (>= 15.1.0)
- Microsoft.Extensions.Hosting (>= 10.0.5)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on DioRed.Vermilion.Hosting:
| Package | Downloads |
|---|---|
|
DioRed.Vermilion
Complete Vermilion package for quick starts: Core + Hosting + Telegram connector + built-in chat storages (InMemory, JsonFile, SQLite, SQL Server, Azure Table, MongoDB). |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 15.1.0 | 0 | 4/6/2026 |
| 15.0.0 | 26 | 4/5/2026 |
| 15.0.0-preview.9 | 19 | 4/5/2026 |
| 15.0.0-preview.8 | 21 | 4/5/2026 |
| 15.0.0-preview.7 | 43 | 3/30/2026 |
| 15.0.0-preview.6 | 40 | 3/29/2026 |
| 15.0.0-preview.5 | 43 | 3/29/2026 |
| 15.0.0-preview.3 | 45 | 3/29/2026 |
| 15.0.0-preview.2 | 39 | 3/29/2026 |
| 15.0.0-preview.1 | 83 | 3/28/2026 |
| 14.0.0 | 206 | 12/25/2025 |
| 13.0.0 | 400 | 8/7/2025 |
| 12.5.0 | 453 | 7/25/2025 |
| 12.4.7 | 190 | 6/20/2025 |
| 12.4.6 | 227 | 3/23/2025 |
| 12.4.5 | 180 | 2/9/2025 |
| 12.4.4 | 166 | 2/9/2025 |
| 12.4.3 | 171 | 1/11/2025 |
| 12.4.2 | 170 | 1/11/2025 |
| 12.4.1 | 155 | 1/11/2025 |
See CHANGELOG.md and MIGRATION.md in the Vermilion repository for release details and upgrade notes.