title: EF Core PlatformNotSupported on Linux
body: <p>I'm trying to develop a small web application using <a href="https://dotnet.microsoft.com/en-us/download/dotnet/6.0" rel="nofollow noreferrer">.NET 6</a> + <a href="https://docs.microsoft.com/en-us/ef/core/get-started/overview/install" rel="nofollow noreferrer">EF Core</a>. So far I have been able to run the application but when trying to connect to my Azure DB database it fails dramatically throwing a Strings.PlatformNotSupported Exception, as shown in the following stack trace:</p>
  <pre><code>System.PlatformNotSupportedException: Strings.PlatformNotSupported_DataSqlClient
     at Microsoft.Data.SqlClient.SqlConnectionStringBuilder..ctor(String connectionString)
     at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.&lt;&gt;c.&lt;get_IsMultipleActiveResultSetsEnabled&gt;b__7_0(String cs)
     at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
     at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.get_IsMultipleActiveResultSetsEnabled()
     at Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.SqlServerCompiledQueryCacheKeyGenerator.GenerateCacheKey(Expression query, Boolean async)
     at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
     at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
     at System.Linq.Queryable.First[TSource](IQueryable`1 source)
     at Gepro.Seguimiento.Core.Controllers.UsuariosController.Index() in /home/barclow/Documents/Desarrollo/Gepro.Seguimiento.Core/Controllers/UsuariosController.cs:line 24
     at lambda_method18(Closure , Object , Object[] )
     at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
     at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()
     at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State&amp; next, Scope&amp; scope, Object&amp; state, Boolean&amp; isCompleted)
     at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
  </code></pre>
  <p>Is EF Core compatible with Linux? - I remember deploying this proof of concept to a linux docker in azure and it worked, but somehow, I can't make it work on my manjaro linux. I understand this shouldn't be an issue related to my installation of linux, since I'm able to run the web app perfectly.</p>