title: Defining connectionString for remotely hosted SQL Server
body: <p>At the moment I have the following <code>&lt;connectionStrings&gt; definition in my </code>Web.config` file:</p>
  <pre><code>  &lt;connectionStrings&gt;
      &lt;add name=&quot;ApplicationServices&quot; connectionString=&quot;data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true&quot; providerName=&quot;System.Data.SqlClient&quot;/&gt;
    &lt;/connectionStrings&gt;
  </code></pre>
  <p>I didn't write this though, so I have a feeling that it was automatically created by Visual Studio.</p>
  <p>My database is hosted on a separate server on our network, so how do I define it and the database username and password?</p>
  <p>For the sake of the example, the server information and credentials are:</p>
  <blockquote>
  <p>Server address: sql-database / 10.0.0.11</p>
  <p>Username: myUsername</p>
  <p>Password: myPassword</p>
  </blockquote>