Casing in SqlServerStorage parsing connectionstring

Hi,

I was struggling for half an hour before discovering that my Connectionstring contains a connectionstring all in lowercase, and the ToString Method searches for “Database”, “Server” …

The Dashboard writes always a “Connection String cannot be parsed” message.

It would be more error-prone to make the method case insensitive

Regards,

Dredy

foreach (var alias in new[] { “Data Source”, “Server”, “Address”, “Addr”, “Network Address” })
{
if (parts.ContainsKey(alias))
{
builder.AppendFormat("{1}", alias, parts[alias]);
break;
}
}