question

LanceFaver-0840 avatar image
0 Votes"
LanceFaver-0840 asked YihuiSun-MSFT answered

How to configure My Web APP (.NET CORE ASP) to call for APIs which is connected to my SQL Databse

I've created WEB api app(.NET CORE ASP), have issues to configure it for REST API calls, not sure how to configure with my database to call for GET and POST requests?

dotnet-aspnet-core-general
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

YihuiSun-MSFT avatar image
0 Votes"
YihuiSun-MSFT answered

Hi @LanceFaver-0840,

You can use EF Core, which can act as an object-relational mapper (O/RM) to help you deal with databases that use .NET objects.

You can click this link to learn how to use EF Core in api projects.

At the same time, you can click this link to learn Entity Framework Core.


If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best Regards,
YihuiSun

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.