ASP.NET Core Controllers

Passing Data from View To Controller using Model Binding in ASP.NET Core
ASP.NET Core

Model Binding : Passing Data from View to Controller

In this Model binding in ASP.NET Core article, we will learn How to pass data from View to Controller.  We learn what is Model binding is and how it works. The ASP.NET core allows us to bind data from various binding sources like HTML Forms using [FromForm], Route Values using [FromRoute], Query string using [FromQuery], Request body using [FromBody] and From Request Header using [FromHeader]. We will look at all these in this chapter

Passing data from Controller to View in ASP.NET Core
ASP.NET Core

Passing data from Controller to View in ASP.NET Core MVC

In this tutorial, we are going to learn how to pass data from Controller to View. We should create View Models with all of the needed data and pass it from the controller to the View. The View Models can be passed to the View by creating a dynamic property in ViewBag. It can be passed using the Model Property of the ViewData. The Model property allows us to create the strongly typed Views using the @model directive. We will look at all these in this tutorial.

Introduction to ASP.NET Core MVC Controller
ASP.NET Core

ASP.NET Core Controller Basics

In this tutorial.  We will introduce to you to the basic concepts of ASP.NET Core controllers. We will look at the controller action method and the return type from the Controller Action i.e Action Results.

Scroll to Top