C# – Connecting to SQL Server on Ubuntu20.04 -VS Code No.104
This blog provides instructions on how to connect to and run a select query in SQL Server on Ubuntu 20.04 using .NET Data Provider for SQL Server (SqlClient). Contents ▼1. Connecting to SQL Server on Ubuntu by C#2-1. Installing Ubuntu 20.04.2 LTS2-2. Installing Visual Studio Code2-3. Installing C# extension2-4. Adding “Microsoft package signing key” into the list of trusted keys and adding the package repository as well▼3. Executing a select query in SQL Server by C#3-1. Creating an application and then starting VSCode in the path where the application is generated3-2. Adding System.Data.SqlClient in MytestApp.csproj and saving this file by Ctrl+ S3-3. Restoring the dependencies and tools of a project3-4. … Continue reading “C# – Connecting to SQL Server on Ubuntu20.04 -VS Code No.104”