filmov
tv
WEB API, IMAGES, FILESYSTEM | #8: How to write CRUD unit tests using an in-memory database - PART 3

Показать описание
This video demonstrates an approach that you can take to write unit tests for controller action methods. This is the final part of unit testing sequel where we explore writing unit tests for the Get, Put, Post, and Delete action methods. We also conclude by writing a unit test using the data test method approach.
🧡🧡 If you find the video helpful give it a LIKE and SUBSCRIBE. 🧡🧡
#AspNetCoreTutorial #WebApiTutorial #SaveImages #EFCoreTutorial
PlayList:
Time Stamps:
00:00 Introduction
00:58 Data Transfer Objects
01:59 End Point Setup (Options Pattern)
03:13 Cars Controller
04:12 Entity to Model Converter
05:08 Get Many Cars Action Method
06:03 Get Single Car Action Method
06:38 Post Action Method
06:47 Put Action Method
07:59 Delete Action Method
09:17 Get Cars using Postman
09:27 Get Car using Postman
09:43 Put Car using Postman
10:15 Recap
10:32 Alter table name using migrations
11:20 Database Inspection
Help:
Any code queries or need help with code? Paste your code snippet -
Source code: 💎💎
Help support the channel and get the source code -
Resources:
Music:
Youtube Audio Library
🧡🧡 If you find the video helpful give it a LIKE and SUBSCRIBE. 🧡🧡
#AspNetCoreTutorial #WebApiTutorial #SaveImages #EFCoreTutorial
PlayList:
Time Stamps:
00:00 Introduction
00:58 Data Transfer Objects
01:59 End Point Setup (Options Pattern)
03:13 Cars Controller
04:12 Entity to Model Converter
05:08 Get Many Cars Action Method
06:03 Get Single Car Action Method
06:38 Post Action Method
06:47 Put Action Method
07:59 Delete Action Method
09:17 Get Cars using Postman
09:27 Get Car using Postman
09:43 Put Car using Postman
10:15 Recap
10:32 Alter table name using migrations
11:20 Database Inspection
Help:
Any code queries or need help with code? Paste your code snippet -
Source code: 💎💎
Help support the channel and get the source code -
Resources:
Music:
Youtube Audio Library