How to connect Blazor C# App to Azure SQL Database? MacOS

邮差的信 提交于 2020-06-28 06:36:27

问题


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

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.


回答1:


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.

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.



来源:https://stackoverflow.com/questions/62203548/how-to-connect-blazor-c-sharp-app-to-azure-sql-database-macos

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!