filmov
tv
ASP.NET Core Web API | 3-Layer Architecture + AutoMapper (Step By Step) [04]
Показать описание
In this video, we will divide our solution into 3 projects: DAL, BLL and Web API. We will also use the AutoMapper to map Entities to class Models and vice verca. We will also use Microsoft's class "ActionResult" in our API.
Leave a like and subscribe if this helped!
Any video suggestions? Let me know in the comments.
0:00-1:05 : Recap of previous episode
1:05-1:41 : Introducing the Topics (Multi-Layer Application and AutoMapper)
1:42-4:26 : Adding 2 Different Class library Projects
4:26- 5:06: Explaining Business Logic Layer and Data Access Layer
5:07- 6:24 : Adding the project references
6:24-7:00: Moving the repository folder to the DAL
7:01-9:02 : Installing Entity Framework packages in DAL
9:02-9:33 : Deleting unused packages from Web API
9:33-11:14 : Calling PersonBLL from PersonController APIs
11:15-12:05 : Introducing Model classes vs Entities Idea
12:05-13:28: Calling the DAL functions from BLL
13:28-14:35 : Explaining each layer's function to clear confusion
14:36-15:24 : Fixing errors
15:25-15:38 : Testing the Get Api with the new Project Structure
15:39-16:42 : Creating a PersonModel Class in BLL
16:43-17:11 : Why Use Class Models since we have Entity Classes?
17:12-20:50 : Reason #1 to use Class Models
20:51-21:40 : Reason #2 to use Class Models
21:41-21:58: Introducting the AutoMapper
21:58- 25:04: Dividing the GetPersonByID API function through 3 different layers
25:05-27:13 : Returning ActionResult Type in our Controller APIs
27:13-28:28 : Installing AutoMapper Package
28:28-30:33 : Creating and configuring our PersonMapper
30:34-34:23 : Using our PersonMapper in BLL
34:24-35:19 : Testing the GET APIs that return Class Models
35:19- 38:25 : Dividing The Post API through the different layers + Mapping with AutoMapper
38:26-39:40 : Testing the Post API after the changes
39:41 - 40:29 : Outro
Leave a like and subscribe if this helped!
Any video suggestions? Let me know in the comments.
0:00-1:05 : Recap of previous episode
1:05-1:41 : Introducing the Topics (Multi-Layer Application and AutoMapper)
1:42-4:26 : Adding 2 Different Class library Projects
4:26- 5:06: Explaining Business Logic Layer and Data Access Layer
5:07- 6:24 : Adding the project references
6:24-7:00: Moving the repository folder to the DAL
7:01-9:02 : Installing Entity Framework packages in DAL
9:02-9:33 : Deleting unused packages from Web API
9:33-11:14 : Calling PersonBLL from PersonController APIs
11:15-12:05 : Introducing Model classes vs Entities Idea
12:05-13:28: Calling the DAL functions from BLL
13:28-14:35 : Explaining each layer's function to clear confusion
14:36-15:24 : Fixing errors
15:25-15:38 : Testing the Get Api with the new Project Structure
15:39-16:42 : Creating a PersonModel Class in BLL
16:43-17:11 : Why Use Class Models since we have Entity Classes?
17:12-20:50 : Reason #1 to use Class Models
20:51-21:40 : Reason #2 to use Class Models
21:41-21:58: Introducting the AutoMapper
21:58- 25:04: Dividing the GetPersonByID API function through 3 different layers
25:05-27:13 : Returning ActionResult Type in our Controller APIs
27:13-28:28 : Installing AutoMapper Package
28:28-30:33 : Creating and configuring our PersonMapper
30:34-34:23 : Using our PersonMapper in BLL
34:24-35:19 : Testing the GET APIs that return Class Models
35:19- 38:25 : Dividing The Post API through the different layers + Mapping with AutoMapper
38:26-39:40 : Testing the Post API after the changes
39:41 - 40:29 : Outro
Комментарии