Azure / azure-sdk-for-net

This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
MIT License
5.35k stars 4.71k forks source link

[MQ][Issue] Add "Use with Dependency Injection" to the standard README template #46393

Open tg-msft opened 1 day ago

tg-msft commented 1 day ago

Information

A lot of our usage is driven by ASP.NET customers. We should add a standard README section showing a copy/pasteable sample of using a given client with ASP.NET's DI via the extensions present in every library. I'd put it right after "Authenticate the Client" as an alternative depending on your app model. We can start simple like the Aspire docs which I've found really helpful for getting started quickly.

annelo-msft commented 9 hours ago

Good idea! We are looking at the SCM-based client integration points here right now, and can be tracking these samples as deliverables to come out of that (or work toward) as part of that effort. @tg-msft do you have specific scenarios you're looking to light up here?

@m-redding FYI