Microsoft.Agents.Hosting.AspNetCore
0.2.271-alpha
Prefix Reserved
This is a prerelease version of Microsoft.Agents.Hosting.AspNetCore.
dotnet add package Microsoft.Agents.Hosting.AspNetCore --version 0.2.271-alpha
NuGet\Install-Package Microsoft.Agents.Hosting.AspNetCore -Version 0.2.271-alpha
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="Microsoft.Agents.Hosting.AspNetCore" Version="0.2.271-alpha" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.Agents.Hosting.AspNetCore" Version="0.2.271-alpha" />
<PackageReference Include="Microsoft.Agents.Hosting.AspNetCore" />
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 Microsoft.Agents.Hosting.AspNetCore --version 0.2.271-alpha
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Microsoft.Agents.Hosting.AspNetCore, 0.2.271-alpha"
#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.
#addin nuget:?package=Microsoft.Agents.Hosting.AspNetCore&version=0.2.271-alpha&prerelease
#tool nuget:?package=Microsoft.Agents.Hosting.AspNetCore&version=0.2.271-alpha&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Microsoft.Agents.Hosting.AspNetCore
- Required package for a hosting an Agent in AspNet.
- Provides extension methods to add an Agents using DI.
How-to use
builder.AddAgent<TAgent>();
Or
builder.AddAgent(sp =>
{
var options = new AgentApplicationOptions()
{
};
var app = new AgentApplication(options);
return app;
});
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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Microsoft.Agents.Builder (>= 0.2.271-alpha)
- Microsoft.AspNetCore.Authentication.JwtBearer (>= 8.0.11)
- Microsoft.AspNetCore.Authorization (>= 8.0.11)
- Microsoft.IdentityModel.Validators (>= 8.7.0)
- System.Text.Json (>= 9.0.2)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Microsoft.Agents.Hosting.AspNetCore:
Package | Downloads |
---|---|
Microsoft.TeamsFx
This package aims to reduce the developer tasks of implementing identity and access to cloud resources down to single-line statements with "zero configuration". |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Microsoft.Agents.Hosting.AspNetCore:
Repository | Stars |
---|---|
microsoft/Agents
The Microsoft 365 Agent SDK simplifies building full stack, multichannel, trusted agents for platforms including M365, Teams, Copilot Studio, and Webchat.
|
Version | Downloads | Last updated |
---|---|---|
0.2.271-alpha | 57 | 3/29/2025 |
0.2.267-alpha | 87 | 3/28/2025 |
0.2.257-alpha | 96 | 3/27/2025 |
0.2.180-alpha | 428 | 3/26/2025 |
0.2.171-alpha | 403 | 3/21/2025 |
0.2.162-alpha | 157 | 3/19/2025 |
0.2.154-alpha | 217 | 3/18/2025 |
0.2.153-alpha | 79 | 3/15/2025 |
0.2.151-alpha | 100 | 3/14/2025 |
0.2.146-alpha | 221 | 3/12/2025 |
0.2.141-alpha | 172 | 3/8/2025 |
0.2.137-alpha | 249 | 3/7/2025 |
0.1.26 | 1,239 | 11/18/2024 |