Page 1 of 1

Customizing SQL Connection String

Posted: Mon Aug 08, 2022 2:33 pm
by rkopp01234

Hi there,

in the latest version update news it states : " Improved: Add TrustServerCertificate=True to connection string (MSSQL)".
How to I activate this feature?

Also, is it possible to completely customize the SQL Connection string to my needs, such as adding Encrypt = "Yes" ect.?

Thanks

Rainer


Re: Customizing SQL Connection String

Posted: Tue Aug 09, 2022 7:56 am
by MichaelG

You can use the Database_Connecting server event to customize your connection string. Please refer to example in:
https://aspnetmaker.dev/docs/#/customsc ... ver-events