Azure SQL Database Samples
Explore a variety of code samples, tutorials, and quickstarts to help you build and manage your Azure SQL Database solutions.
Basic Connectivity Sample
Learn how to establish a connection to your Azure SQL Database using common programming languages like C#, Python, and Java.
View SampleCRUD Operations with EF Core
Demonstrates performing Create, Read, Update, and Delete operations on your Azure SQL Database using Entity Framework Core.
View SamplePerformance Tuning Guide
Practical examples and best practices for optimizing the performance of your Azure SQL Database queries and schema.
View SampleHigh Availability with Failover Groups
Implement and test disaster recovery strategies using active geo-replication and auto-failover groups.
View SampleServerless Compute Samples
Examples showcasing how to leverage serverless capabilities for cost-effective scaling of your database workloads.
View SampleSecurity Best Practices
Code snippets and configurations for securing your Azure SQL Database, including authentication, authorization, and encryption.
View Sample