Hello friends, I hope you all are doing great. Today, I am going to share the second tutorial in ASP.NET MVC series and I will explain the concept of Model in ASP.NET MVC. In our previous tutorial, we have seen How to Setup Your First Project in ASP.NET MVC.
So, before developing our web app, we first have to discuss some concepts in MVC Framework and Model is one of them, which we will cover in today's tutorial. So, let's get started with it:
What is a Model in ASP.NET MVC ?
In, ASP.NET MVC Framework structure, we have to understand 3 very simple blocks, which are:
Models
Controllers
Views
Model connects our web application with our SQL Database, it takes commands from the Controller and then get or set values in the Database an ...