[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
Watch video .NET 5 | Model Binding online without registration, duration hours minute second in high quality. This video was added by user Shahbaaz Khan 24 May 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 18 once and liked it 1 people.