Skip to main content

ActionResult in MVC

ActionResult is a parent class that represents result of an action method. After execution of action method, it will return an object of ActionResult class or a child class derived from ActionResult class. In ASP.Net MVC, it is recommended to specify return type of every action method as ActionResult. You can return any type of […]

Read More

Bootstrap in MVC

Please see my article ‘First MVC Application’ before reading this article because this article is dependent on my previous article. We will use CSS framework ‘Bootstrap’ in our MVC project. In this article we will learn to install bootstrap package in MVC project. We will add nuget package of Bootstrap. Bootstrap package has some dependency […]

Read More

MVC Controller

Controller is a class that defines execution flow in MVC application.Controller receives request from browser, it calls the model and perform business logic then it calls the view to render output on UI. It is recommended to create controller class as public class.Controller class should inherit from System.Web.MVC.Controller base class This base class provides necessary […]

Read More

ASP.Net MVC Overview

ASP.Net MVC is a web application framework, that gives you a powerful MVC architecture based way to build dynamic web applications, enables a clean separation of concerns and gives you full control over markup.To overcome the problems associated with ASP.Net Web Forms , Microsoft instroduced ASP.Net MVC in 2009. Main Advantages:1.Clean separation of concernWe can […]

Read More