Skip to content

.NET: Add ServiceLifetime support for Hosting DI registration#4476

Merged
westey-m merged 1 commit into
microsoft:mainfrom
westey-m:add-lifetime-support-for-agent-hosting
Mar 6, 2026
Merged

.NET: Add ServiceLifetime support for Hosting DI registration#4476
westey-m merged 1 commit into
microsoft:mainfrom
westey-m:add-lifetime-support-for-agent-hosting

Conversation

@westey-m

@westey-m westey-m commented Mar 4, 2026

Copy link
Copy Markdown
Contributor

Motivation and Context

Description

  • Allow passing ServiceLifetime when registering agents for hosting.

Contribution Checklist

  • The code builds clean without any errors or warnings
  • The PR follows the Contribution Guidelines
  • All unit tests pass, and I have added new tests where possible
  • Is this a breaking change? If yes, add "[BREAKING]" prefix to the title of the PR.

Copilot AI review requested due to automatic review settings March 4, 2026 19:02
@markwallace-microsoft markwallace-microsoft added the .NET Usage: [Issues, PRs], Target: .Net label Mar 4, 2026
@github-actions github-actions Bot changed the title Add ServiceLifetime support for Hosting DI registration .NET: Add ServiceLifetime support for Hosting DI registration Mar 4, 2026
@westey-m westey-m requested review from DeagleGross and lokitoth and removed request for Copilot and lokitoth March 4, 2026 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

.NET Usage: [Issues, PRs], Target: .Net

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants