title: How to add Azure SQL Server connection string to app.config in Windows Forms?
body: <p>I'm trying to add an Azure SQL Server connection string into my <code>app.config</code> file, but there are red underlines all over the connection string when I try to copy and paste it from Azure. I'm using Windows Forms in Visual Studio. </p>
  
  <p>Here is my connection string:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;configuration&gt;
      &lt;connectionStrings&gt;
          &lt;add name="AddSales"
               Server="tcp:Sales99.database.windows.net,1433;Initial" Catalog="Sales;Persist" Security="" Info="False;User" ID=""{your_username};Password=""{your_password};MultipleActiveResultSets=""False;Encrypt=""True;TrustServerCertificate="False;Connection" Timeout="30"
               providerName="System.Data.SqlClient" /&gt;
      &lt;/connectionStrings&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>Is there a way to fix this issue? Please advise.</p>