ASP.NET Core 6 Web API Using Entity Framework Core 6 Database First Approach



ASP.NET Core 6 Web API Using Entity Framework Core 6 Database First Approach

ASP.NET Core 6 Web API Using Entity Framework Core 6 Database First Approach

ASP.NET Core 6 Web API Using Entity Framework Core 6 Database First Approach

Learn how to build and test a simple API that can perform CRUD operations and implements GET,POST, PUT and DELETE REST API operations. In this lesson, you will learn how to create an API using ASP.NET Core 6, create a database using SQL Server 2019, Scaffold the database using Entity Framework and then configure the API to ensure that it is secure and efficient.

This tutorial teaches the basics of building a web API with ASP.NET Core.

In this tutorial, you learn how to:
– Create a web API project.
– Scaffold a database context and table model classes.
– Scaffold a controller with CRUD methods.
– Configure routing, URL paths, and return values.
– Call the web API with Postman.

This video gives an introduction to Database First development using Entity Framework. Database First allows you to reverse engineer data models from an existing database.

What you need?
Visual Studio 2022 with the ASP.NET and web development workload.

Learn Full API Development from these courses:
Complete Blazor (WASM & Server) and ASP.NET API Development – https://www.udemy.com/course/end-to-end-aspnet-core-31-api-and-blazor-development/?referralCode=E737D31F38F986C3FA28

Ultimate ASP.NET Core Web API Development Guide – https://www.udemy.com/course/ultimate-aspnet-5-web-api-development-guide/?referralCode=354D04A638A9196767B3

Complete Source Code: https://github.com/trevoirwilliams/BookStoreApp-Blazor-NET6/tree/a3d49741494893324556e8d0808a8bcb06e5d091

0:00 – Introduction
00:05:17 – Create ASP.NET Core 6 API Project
04:24 Tour API Project
09:44 – Add CORS Policy
14:04 – Setup Database Tables
23:55 – Scaffold Database using Entity Framework Core
39:46 – Scaffold and Test API Controllers and Endpoints
1:05:25 – Adding AutoMapper and Data Transfer Objects (DTOs)
1:32:04 – Scaffold and Test Controller with Relational Data Tables
1:36:10 – Configure AutoMapper and DTOs for Related Data
1:59:05 – Add Project to GitHub

Comments are closed.