如何将Blazor C#App连接到Azure SQL数据库?苹果系统 [英] How to connect Blazor C# App to Azure SQL Database? MacOS

查看:216
本文介绍了如何将Blazor C#App连接到Azure SQL数据库?苹果系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是一个初学者,试图获取Blazor C#应用程序以连接到我在Azure上创建的SQL数据库.

I am a beginner trying to get a Blazor C# App to connect to the SQL database I created on Azure.

我很难弄清楚如何在MacOS Visual Studio上连接这两者.我找到了一些论坛来描述它是如何在Windows中完成的,但是我似乎无法在Mac上弄清楚.任何帮助将不胜感激.

I am having trouble trying to figure out how to connect these two on MacOS Visual Studio. I have found a few forums describing how it is done in windows but I can't seem to figure it out on mac. Any help would be appreciated.

推荐答案

您可以阅读文章,然后按照以下步骤创建演示或下载

You can read this article, and follow the step to create a demo or download EndToEnd.sln to find out how to connect db on MAC OSX.

我已经尝试并成功.我的macOS Catalina版本10.15.5.使用Visual Studio在Windows和Mac中有一些不同.因此,我建议您首先在Windows中迁移数据库.然后,您可以将数据库连接粘贴到下载项目中.然后,您可以看到该网站成功运行.您可以在此站点上执行凝乳操作.祝你好运 !

I have try it and success. My macOS Catalina version 10.15.5. There are some different in windows and mac by using visual studio. So I suggest you need to mirgration db first in windows. Then you can paste your db connections in your download project. Then you can see the website run successfully. You can do curd operations in this site. Good Luck !

如果您需要进一步的帮助,请告诉我.

If u need further help, pls let me know.

这篇关于如何将Blazor C#App连接到Azure SQL数据库?苹果系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆