Skip to content

Infragistics Community Forum / Web / Ignite UI for Blazor / Unable to solve System.Data.SqlClient not supported with Blazor?

Unable to solve System.Data.SqlClient not supported with Blazor?

New Discussion
Sean Doherty
Sean Doherty asked on Mar 14, 2022 7:02 PM

I’m getting the following error:

– System.Data.SqlClient is not supported on this platform

When using:

– using System.Data.SqlClient;

– using (IDbConnection connection = new SqlConnection(connectionSting)){}

Using the following:

– System,Data.SqlClient is 4.8.3

– .Net Framework 5.0

– Edge Browser

– VS 2019

Can’t for the life of me figure out why this isn’t working?

Thanks

Sign In to post a reply

Replies

  • 0
    Andrew Goldenbaum
    Andrew Goldenbaum answered on Mar 14, 2022 7:02 PM

    Hello Sean,

    I have been investigating into the behavior you are seeing, and it appears from the following GitHub page that the Microsoft.Data.SqlClient is unfortunately not supported in Blazor: https://github.com/dotnet/SqlClient/issues/599.

    Please let me know if you have any other questions or concerns on this matter.

    • 0
      Sean Doherty
      Sean Doherty answered on Mar 15, 2022 2:26 PM

      Hey Andrew,

      When you say it's not supported in Blazor, I'm assuming/hoping you're saying its not supported as a Blazor Web Assembly, but it works on Blazor server?

      Thanks

    • 0
      Gretchen Bronstein
      Gretchen Bronstein answered on Jul 26, 2023 3:49 PM

      I have the working by converting a datatable into a list of getter/setter models because I don't like EF.   However all the Microsoft new stuff is using EF that is slower than ADO.NET.  

  • You must be logged in to reply to this topic.
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
Sean Doherty
Favorites
0
Replies
1
Created On
Mar 14, 2022
Last Post
2 years, 7 months ago

Suggested Discussions

Tags

No tags

Created by

Created on

Mar 14, 2022 7:02 PM

Last activity on

Feb 12, 2026 8:46 AM