[This video has chapter times at the end of description]
In this video we dive into model binding in .NET. I am using a custom made UI to send several HTTP request containing data to our API. The purpose of using a custom UI is to demonstrate the model binding with complete flow from request from UI to response from API. I have explained the setup of UI and API in detail. You can download the source code from here
Source code: https://github.com/shabbyk/Model_Bind...
This video explains requests such as GET Requests, POST Request, Sending complex types using HTTP requests. Attribute such as From Query ([FromQuery]), From Route ([FromRoute]), From Header ([FromHeader]), From Form ([FromForm]), From Body ([FromBody]).
Apart from these, you will also see an example of how to send HTTP request with a file and how you can read a file from that request. I hope this content will be beneficial for you. Please like and subscribe. Also, share it if you think this video might help a friend. Happy coding! : )
chapter times:
App setup : 00:43
Demo UI Explanation : 03:49
what is model binding : 05:15
GET request : 06:03
GET with Query String : 11:47
Default source order : 13:39
Source : 15:32
[FromQuery] : 16:48
[FromRoute] : 18:22
Set class property : 19:38
[BindProperty] : 20:12
[BindProperties] : 22:28
GET request with COMPLEX Type : 23:25
[FromHeader] : 27:37
POST request with COMPLEX Type : 30:39
POST COMPLEX type as FORM DATA : 33:18
[FromForm] : 34:12
Upload file : 37:36
Multipart form : 41:23
[FromBody] : 42:26
Смотрите видео .NET 5 | Model Binding онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Shahbaaz Khan 24 Май 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 188 раз и оно понравилось 11 людям.