Botas 0.1.73
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Botas --version 0.1.73
NuGet\Install-Package Botas -Version 0.1.73
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="Botas" Version="0.1.73" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Botas" Version="0.1.73" />
<PackageReference Include="Botas" />
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 Botas --version 0.1.73
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Botas, 0.1.73"
#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 Botas@0.1.73
#: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=Botas&version=0.1.73
#tool nuget:?package=Botas&version=0.1.73
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
<img src="https://raw.githubusercontent.com/rido-min/botas/main/art/icon-256.png" alt="botas logo" width="96" align="right"/>
Botas
Lightweight library for building Microsoft Bot Framework bots — .NET / ASP.NET Core.
What it does
- Validates inbound JWT tokens from the Bot Framework Service
- Deserializes activities and dispatches them to registered handlers
- Runs a configurable middleware pipeline before each handler
- Authenticates outbound HTTP calls using OAuth2 client credentials
- Preserves unknown JSON properties so custom channel data round-trips safely
Installation
dotnet add package Botas
Quick start
using Botas;
var app = BotApp.Create(args);
app.On("message", async (ctx, ct) =>
{
await ctx.SendAsync($"You said: {ctx.Activity.Text}", ct);
});
app.Run();
Environment variables
| Variable | Description |
|---|---|
CLIENT_ID |
Azure AD application (bot) ID |
CLIENT_SECRET |
Azure AD client secret |
TENANT_ID |
Azure AD tenant ID (or common) |
PORT |
HTTP listen port (default: 3978) |
Documentation
License
MIT
| 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Microsoft.AspNetCore.Authentication.JwtBearer (>= 10.0.5)
- Microsoft.AspNetCore.Authentication.OpenIdConnect (>= 10.0.5)
- Microsoft.Identity.Web.AgentIdentities (>= 4.7.0)
- Microsoft.IdentityModel.Validators (>= 8.17.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.