How to encrypt connection string?
Posted on 2009-05-05
I have a .net 3.5 winforms app and want to encrypt the connectionString. I have renamed app.config to web.config so it can be used with aspnet_regiis. I'm in the app root folder and running this command line:
C:\src\project1\myapp>aspnet_regiis -pef "connectionSrings" -app "myapp"
No matter how I change the command line, I always get the help output. No errors. The app doesn't have an IIS website and is a web application project. Any suggestions?