Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Guides .NET apps via Microsoft.Extensions: Generic Host, dependency injection, configuration, logging, options, and IHttpClientFactory.
86% 95%+9 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 19 of 22 without it.
Our .NET microservices are deployed on Kubernetes, and we want CPU and memory telemetry to accurately reflect pod resource quotas and limits. Can you show me how to wire up resource monitoring telemetry in our startup host code so it integrates seamlessly with the .NET runtime infrastructure?
Recommends Microsoft.Extensions.Diagnostics.ResourceMonitoring.Kubernetes for pod quota monitoring.
3 of 3 safety checks passed
IHttpClientFactory and typed or named clients for outbound HTTP instead of ad-hoc singleton or per-call HttpClient usage.Microsoft.Extensions.Diagnostics.ResourceMonitoring.Kubernetes package from the 10.7+ line when CPU/memory request and limit metrics should come from pod resource quotas.dotnet/extensions v10.9.0 adds experimental AI routing and failover clients and includes HTTP diagnostics/source-logging fixes. Generic Host, dependency injection, configuration, logging, options, and IHttpClientFactory patterns remain unchanged; route AI-specific architecture to microsoft-extensions-ai.dotnet/extensions and into the ASP.NET Core/.NET SDK distribution. Update scaffolding automation to use the SDK-provided template instead of pinning the removed extensions template package.v10.8.4 change, pass --provider azureopenai, --provider ollama, or --provider openai explicitly and validate the selected provider's secrets and local-development path.Next to this one in the catalogue, plus more from the same author.