Skip to content

Instantly share code, notes, and snippets.

@carloswm85
Last active November 8, 2024 17:09
Show Gist options
  • Save carloswm85/95db3bad2b1492eedb7605bd68fbc8a9 to your computer and use it in GitHub Desktop.
Save carloswm85/95db3bad2b1492eedb7605bd68fbc8a9 to your computer and use it in GitHub Desktop.
Connection string when Entity Framework Core 7 connection certificate trust exception, with NET Core 8.0
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*",
"ConnectionStrings": {
"RazorPagesMovieContext": "Server=localhost;Database=RazorPagesMovieContext-d67b7425-08c7-4b61-ad49-6d9eda3c0a16;Trusted_Connection=True;MultipleActiveResultSets=true;TrustServerCertificate=True;Encrypt=False"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment