Customizing SQL Connection String

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.
Post Reply
rkopp01234
User
Posts: 23

Customizing SQL Connection String

Post 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


MichaelG
User
Posts: 1095

Post 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


Post Reply