encrypt/decrypt fields/objects in appsettings.json

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

encrypt/decrypt fields/objects in appsettings.json

Post by mah2563 »

How to encrypt/decrypt fields/objects in appsettings.json (asp.net maker 2018)?
I want to encrypt the connection string in appsetings.json and decrypt before passing.


Webmaster
User
Posts: 9425

Post by Webmaster »

Currently there is no simple way. You need to implement your own encrypt/decrypt logic. Modify the content of the generated appsettings.json and use the Database_Connecting server event to do the decryption.


Post Reply