title: The database alias name or database name "" could not be found. SQLSTATE=42705
body: <p>I am using .Net Core 2.1 to build an application and below is my <code>appsetting.json</code> file entry for the data connection. I am using an alias to connect to the database. This setting works for Microsoft .NET Framework 4.7.2 app but not for the .Net Core app.</p>
  
  <p>I am using <strong>IBM.Data.DB2.Core</strong> NuGet package. If I replace <strong>myaliasname</strong> with the actual database name it connects successfully. I do not want to use the direct connection as the alias has alternate connections defined in case of failure.</p>
  
  <pre><code>"ConnectionStringOptions": {
      "datasource": "Database=myaliasname;UID={0};PWD={1};Pooling=true;Min Pool Size=1;Max Pool Size=100;"
    }
  </code></pre>
  
  <p>How can I use an alias in .Net Core app for Db2?</p>