Using SQL Server in the ASP. CORE2.0 API

Source: Internet
Author: User

The Web API tutorials are very small, with less core2.0, Microsoft offers a tutorial for the ASPNET Core2, and a tutorial on accessing SQL Server in EF core, which can be used to make the ASPNET core 2.0 with SQL Server API program.

The reference links are as follows:

1.aspnet Core 2.0 Web API Tutorials

Https://docs.microsoft.com/en-us/aspnet/core/tutorials/first-web-api

This tutorial uses a string array to do the data source without accessing the actual database

2. Building a new SQL database WebApp with entify Framework Core

Https://docs.microsoft.com/en-us/ef/core/get-started/aspnetcore/new-db

3. Entify Framework Core builds webapp to access existing SQL databases

Https://docs.microsoft.com/en-us/ef/core/get-started/aspnetcore/existing-db

Based on these tutorials, a simple makeover has been made for the Web API program to access the SQL Server. The experiment was successful.

adjourned

Using SQL Server in the ASP. CORE2.0 API

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.