Illegal XML Char in encrypted string for config file.
Posted on 2007-08-01
I have an encrypted connection string that is giving me fits when I put it into my app.config
those illegal chars for <j#_Gh> tend to get in the way.
I saw remarks about using <CDATA[ ] > but that gives a lot of squiggle line in the text file in the IDE.
So how should I go about using this encrypted value? Do a regex and replace every >< " ' & in my string? Or is there a cleaner CDATA way that I am missing?