Step by Step Tutorial - .Net Core MVC REST API

Опубликовано: 25 Октябрь 2024
на канале: Les Jackson
99,230
2k

A full step by step tutorial on how to create a .Net Core MVC REST API completely from scratch. We additionally use Entity Framework Core with Microsoft SQL Server to ensure we have a persistent data back-end.

My Book: https://www.apress.com/gp/book/978148...
Patreon Site (Exclusive Member Benefits!):   / binarythistle  
BLOG: https://dotnetplaybook.com/develop-a-...
GITHUB SOURCE: https://github.com/binarythistle/S02E...


GEAR
----

I created this video using all the following gear, (which I paid for myself!) - it would not exist without it:

My Camera: https://amzn.to/2W4ULRc
Wide Angle Lens: https://amzn.to/2FfEDGK
USB3 Docking Station: https://amzn.to/2T7T2IY
Memory Cards:https://amzn.to/2TKVLxf
Lavalier Mic: https://amzn.to/2FcfdbM
Video Editing: https://amzn.to/2FhKL1j
Productivity: https://amzn.to/2Ckywza

Note: I may receive a small commission if you choose to buy something from Amazon after clicking any of the links above.

TIMELINE
----------------

1:27 : Introduction
1:49: Quick Peek at the API
4:35: What You'll Learn
5:47 : Application Architecture
10:39 : Create the Project
11:24 : Anatomy of a ASP.NET MVC app
13:52 : Program & Startup Classes
16:50 : Run Our App
18:10 : Updating our Startup Class
20:01 : Using Postman
22:22 : Create Our Controller
30:33 : Create Our Model
34:15 : Quick Look at SQL Server
35:32 : Entity Framework Core Command Line
37:09 : Create our DB Context
41:30 : Connection String in appsettings.json
46:05 : Updating our Startup Class - Again!
54:02 : Create Migrations & Update Database
58:52 : Adding Test data to SQL Server
1:02:11 : Updating our Controller - our first GET Action
1:10:49 : Updating our Controller - our 2nd GET Action
1:15:59 : Updating our Controller - our POST Action
1:23:48 : Updating out Controller - our PUT Action
1:32:42 : Updating our Controller - our DELETE Action