Azuresql DB Local To Cloud

Proves that code built and tested against the local Azure SQL Database container runs unchanged against Azure SQL Database in the cloud, with only the connection string changing. Use when a user wants to develop locally then deploy to the cloud, asks "will this work in Azure", "same code local and cloud", "promote to Azure SQL", "swap the connection string", "dev/prod parity", "local to cloud", or is wiring SQL_CONNECTION_STRING for an app that must target both the container and a cloud server. Use this when an app uses local SA auth but needs Microsoft Entra auth in the cloud. Covers Node (mssql), .NET (Microsoft.Data.SqlClient), and Python (pyodbc). Reach for this skill before hand-editing app code to "make it work in Azure"; the rule is the code does not change, only the connection string does.

Microsoft 1053c3e 3 files · 37.2 KB Updated 2.7k repo stars

File contents

microsoft/azure-sql-database-container/tree/main/skills/azuresql-db-local-to-cloud commit 1053c3e192

Frequently asked questions

npx skillmds@latest add microsoft/azuresql-db-local-to-cloud