About 4,810,000 results
Open links in new tab
  1. What Data.SqlClient can be used with .net 8 - Stack Overflow

    Microsoft.Data.SqlClient is not supported on this platform I then tried to lower the versions of Microsoft.Data.SqlClient to 4.0.5 and when calling this class from a Console application I receive …

  2. Connect to SQL using "microsoft.data.sqlclient - Stack Overflow

    Jan 19, 2023 · The question contains the answer. The provided article is the "source code" for the official documentation which is here. It shows us how to connect to Azure SQL with a managed identity …

  3. c# - How to use SqlClient in ASP.NET Core? - Stack Overflow

    210 I think you may have missed this part in the tutorial: Instead of referencing System.Data and System.Data.SqlClient you need to grab from Nuget: System.Data.Common and …

  4. Unable to locate System.Data.SqlClient reference

    I have also attempted to use System.Data, but no reference to SqlClient is located within. I have manually added the dll/reference for System.Data, but also did not resolve the reference issue.

  5. How to use Microsoft.Data.SqlClient with Microsoft.Aspnet.identity ...

    Dec 18, 2024 · I have a new requirement to use azure managed identity, so I need to replace System.Data.SqlClient to Microsoft.Data.SqlClient and change the connection string. This works …

  6. How to install Microsoft.Data.SqlClient, but not in a Project

    Jun 24, 2021 · The question was about Microsoft.Data.SqlClient, not System.Data.SqlClient. The former has replaced the latter. You therefore need to replace this in the code as well: using …

  7. When to use Microsoft.Data.SqlClient.SqlException vs System.Data ...

    Nov 12, 2021 · I understand that around 2019 Microsoft created Microsoft.Data.SqlClient as their replacement for System.Data.SqlClient. System.Data.SqlClient will be supported ongoing but new …

  8. sql - C# - SQLClient - Simplest INSERT - Stack Overflow

    Oct 18, 2016 · I'm basically trying to figure out the simplest way to perform your basic insert operation in C#.NET using the SqlClient namespace. I'm using SqlConnection for my db link, I've already had …

  9. c# - Microsoft.Data.SqlClient is not supported on this platform ...

    Jun 22, 2020 · Microsoft.Data.SqlClient is not supported on this platform - Entity Framework Core 3.1 Asked 5 years, 5 months ago Modified 2 years ago Viewed 22k times

  10. .net - When should I be using Odbc, OleDb, SQLClient? What are the ...

    Oct 21, 2015 · 4 System.Data.SQLClient Connects to SQL Server 2000 and later only, but you will get optimal performance when connecting to those databases. System.Data.OledbClient Connects to …