Working with Dotnet and Sql edge on M1 mac nuget packages

Moshiko_Az 21 Reputation points
2022-04-25T21:04:30.397+00:00

Hello,
Im new to mac, I have an M1 mac mini, Im using Visual Studio for M1 mac as well

Recently I have Installed docker with sql edge container in it.

In order to make my Web API projects more efficient,

I couldn't figure it out if I need some NuGet packages to make it work,

Can you please tell which NuGet packages should I install if any ,and direct me to some guides that I can learn more about
working with dotnet and sql edge on m1 mac ?

SQL Server on Azure Virtual Machines
Developer technologies | ASP.NET | ASP.NET API
Developer technologies | .NET | Other
Developer technologies | C#
0 comments No comments
{count} votes

Accepted answer
  1. Bruce (SqlWork.com) 78,401 Reputation points Volunteer Moderator
    2022-04-25T22:18:03.767+00:00

    for all intent and purposes, azure sql edge is sqlserver 2019. use its docs.

    you should download azure data studio for the Mac:

    https://learn.microsoft.com/en-us/sql/azure-data-studio/download-azure-data-studio?view=sql-server-ver15

    if you correctly exported the port 1433 you should be able to connect

    server: localhost
    authentication type: SQL Login
    user name: sa
    password: <your sa password>

    to work with dotnet you have several options

    nuget Microsoft.Data.SqlClient (AdoNet) is the preferred for SqlServer (replacing System.Data.SqlClient)

    https://learn.microsoft.com/en-us/sql/connect/ado-net/introduction-microsoft-data-sqlclient-namespace?view=sql-server-ver15

    you can also use entity framework: Microsoft.EntityFrameworkCore

    https://learn.microsoft.com/en-us/ef/core/


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.