Skip to content
Cheena Malhotra edited this page Sep 11, 2026 · 8 revisions

Microsoft.Data.SqlClient

Connect to SQL Server. Migrate with confidence. Find the answer you need.

Microsoft.Data.SqlClient is the .NET data provider for SQL Server and Azure SQL. This wiki is a practical guide to the decisions around using it, not a second API reference.

Official documentation: start with Microsoft.Data.SqlClient for SQL Server on Microsoft Learn for the complete ADO.NET driver guides. This wiki adds migration checklists, troubleshooting routes, and project direction.

Where would you like to start?

Your task Start here
Build something new Getting started: packages, prerequisites, and the first connection.
Move an existing application Migrate from System.Data.SqlClient: five focused steps from inventory to rollout.
Fix a failure Troubleshooting: start with the error or symptom.
See what is available or coming Releases and support for shipped versions; Roadmap for future direction.

Build on the basics

Feature guides connects common tasks directly to Microsoft Learn articles: parameters, asynchronous operations, streaming, bulk copy, transactions, resilience, Always Encrypted, and newer SQL data types.

Already familiar with ADO.NET? Start with the FAQ or go directly to the API reference.

Make SqlClient better

The Contributor guide points to the code, build instructions, tests, and contribution process.

For a reproducible bug, use GitHub issue templates. Do not post credentials, access tokens, or customer data. Report security vulnerabilities privately through MSRC, not a public issue.

Clone this wiki locally