17. (ASP.NET Core 1.0 & MVC) Model Binding

preview_player
Показать описание
This MVC Model Binding video is part of the ASP.NET Core 1.0 beginner programming tutorial course hosted by Steve Bishop, and covers passing data from an HTML form to an action parameter. The ASP.NET Core 1.0 beginner course is a free .NET tutorial series that helps beginning programmers learn the basics of ASP.NET Core 1.0. These free ASP.NET Core programming tutorials cover a variety of basic topics such as downloading and installing ASP.NET Core, setup and configuration of ASP.NET Core, the MVC architecture, Razor View engine, ASP.NET Identity, Entity Framework 7.0, and other topics. After watching this beginner series on ASP.NET Core 1.0, you should be able to create your own website or web application.

Рекомендации по теме
Комментарии
Автор

The best explanation, not only this video but the whole series, definitely can't find better than these. Hope the things didn't change for these 8 months and I am still on track for .NET.

harishaxhimehmeti
Автор

Thank you for this video, especially for showing the network traffic with Fiddler too (helpful if someone wants to build the request via Ajax).

samsunny
Автор

Great straight forward explanation for binding. 1000x better than anything Microsoft has put out

greentomato
Автор

I finally understood what all those attributes in the form tag and the name attribute in the input tag are for. I feel so enlightened (°o°)
I always wondered why was there a need for a name if you could assign an id.

eldanx
Автор

Been hunting for a while for a simple form submit example. Thanks a ton!

systemdeadlock
Автор

As always very good explenation. thanks a lot.
Really help me to complitly understand this small and important subject.

bennymargalit
Автор

Hi Programming,

Thanks for the great course, I enjoy it a lot. When we have a "indexWithForm.html", we return View("indexWithForm") to get it route to that HTML file, but what if we need a string as a param to the View and we want to choose to render other html files?
Cheers

hakunamatata
Автор

suppose i have link on this form like forgot password link and we want to call httpget method on link click with one field passed to method. How we will fetch value of that field

nishthakapur
Автор

Is any difference between datetime and other classes. i have problem with that. I have test ser and post my model to controller but is null! I found a soulution to change datetimestringformmater but it is nit a good solution. how can do this in better way?

rezamousazadeh
Автор

Can you show us an example how to bind nest objects and even collections of objects?

Thank you very much,

chrissun
Автор

When I click on the submit button the http post event does not fire. The works as described, but the [httppost] index event never gets invoked when the submit button is clicked.  Fiddler doesn't show the post either.  Any ideas?

pauldietz