Skip to content

Use .NET Host DI container #6284

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Use .NET Host DI container #6284

wants to merge 2 commits into from

Conversation

calebkiage
Copy link
Contributor

closes #6265

@msgraph-bot msgraph-bot bot added this to Kiota Mar 14, 2025
Copy link

Quality Gate Failed Quality Gate failed for 'kiota'

Failed conditions
12.0% Duplication on New Code (required ≤ 3%)
D Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

var httpClientHandler = new HttpClientHandler();
if (overrides.GetEffectiveDisableSslValidation())
{
httpClientHandler.ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator;

Check failure

Code scanning / SonarCloud

Server certificates should be verified during SSL/TLS connections High

Enable server certificate validation on this SSL/TLS connection See more on SonarQube Cloud
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

Use dependency injection and the new generic host to register common services in the Kiota CLI
1 participant