In this article you will learn about ASP.NET MVC.
Overview In the last couple of weeks I was just randomly going through a questionnaire section and found out there are many questions on MVC, particularly at the beginner level, or newbie level to ASP.NET you could say. There are many question about which is best, webforms or MVC, and if MVC, which version. As there are some nice articles which are related to MVC on C Sharp Corner, this article will brief you about MVC, versions, a sample application, and answer the question: Why MVC? Introduction Today if you do market research the demand for MVC is huge and it's growing in numbers. Each and every company these days needs a MVC developer because whenever a new project for development comes they just want to develop their product in MVC. MVC Version 5 has been released with new features and the popularity of MVC is growing day by day. So let’s start. If your existing project is in webforms and you find it perfectly normal, you will say why MVC, why not webforms? This URL here will give you a perfect picture as to why.
MVC (Model-View-Controller)
First let's see a simple diagram to give you an idea of how MVC Works. As you can see in the above simple representation of how MVC works you see IIS, as MVC is a framework that is used to build web applications. Model Model is the part of your application that handles all logic sections; such as a request from user to insert or retrieve data from database. View Views are created from Model Data and the main role of View is display data to Users. Controller This handles all validations from users, reads data from view and also sends data to Model.
Conclusion This is all about a basic MVC application. In the next article I will explain more about controllers, models and views. Hope this was helpful to those who are new to MVC.
Getting Started with ASP.NET 4.5 Web Forms and Visual Studio 2013