Skip to content

Set TrustServerCertificate=True for entire application? #1406

@MojoDK

Description

@MojoDK

Instead of setting TrustServerCertificate=true on every connectionstring, is it possible to set it for the entire application?

I was hoping for some kinda ... "Microsoft.Data.SqlClient.TrustServerCertificate = True".

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Enhancement 💡Issues that are feature requests for the drivers we maintain.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions