Friday, 30 April 2021

Create a model, controller, view in asp.net MVC | எப்படி model, controller and View create பன்றது?| Coding Tamizha |#தமிழில்.

 Overview 

This article explains how to create a model, controller, view in ASP.NET MVC C#. then pass the data from controller to view using by model. The following steps here.


Step -1: 

Create a new project in visual studio 2019.

create mvc



Step-2:

Create a Model Class in Model folder - Right click on Model folder - Add new class - enter the class name as studentmodel.cs


 

 

Step-3: 

Create a new controller in the controller folder. - Right-click on Model folder- Add new controller class enter the name as StudentController.cs



Step-4:


Assign to model some data to display in the view, the data passing from the controller to view displays the data in view page.


Step-5:


Create a new view page from the controller- Right-click on the Controller action method then create the view.



The top of the view page declares the model class.


Step-6:  Final OutPut.





More About:

create a model, controller, view in MVC for youtube



https://www.youtube.com/watch?v=Wt_9b6U1WL8&t=23s


Summary

this article explains how to create a simple model, controller, view in asp.net MVC C#.

thank you read my blogs..!!







ASP.NET MVC Full Course | In Tamil

  Overview: In this article, we will learn ASP.NET MVC Full Course in Tamil. We can learn additionally C#, SQL,  Bootstrap ..etc.  Model Pop...