Im lost what happened to asp net mvc 5

Understanding ASP.NET MVC 5

ASP.NET MVC 5 is a powerful web framework that allows developers to build dynamic and scalable web applications. However, if you are feeling lost and unsure about what happened to ASP.NET MVC 5, this article aims to provide clarity and guide you through the changes.

Introduction to ASP.NET MVC

ASP.NET MVC is a framework that follows the Model-View-Controller architectural pattern. It provides a structured approach to building web applications by separating the concerns of data, presentation, and user interaction.

With ASP.NET MVC, developers can clean and maintainable code by dividing the into three main components:

  • Model: Represents the data and business logic of the application.
  • View: Handles the presentation and user interface of the application.
  • Controller: Manages the flow of the application and handles user interactions.

Transition to ASP.NET Core

ASP.NET Core is the next generation of ASP.NET and is a complete rewrite of the framework. It introduces improvements and enhancements over its predecessor, better performance, cross-platform support, and a more modular architecture.

ASP.NET Core also brings changes to the MVC framework. Instead of ASP.NET MVC 5, developers now use ASP.NET Core MVC. This new version retains the core concepts and principles of ASP.NET MVC 5 but introduces some changes and improvements.

Example: ASP.NET Core MVC Code

using Microsoft.AspNetCore.Mvc;

public  HomeController : Controller
    public IActionResult Index()
        return View();

In the above example, we have a simple ASP.NET Core MVC controller named HomeController. It inherits from the Controller class provided by the framework. The Index action method a View, which represents the corresponding view for the requested page.


In conclusion, ASP.NET MVC 5 has evolved into ASP.NET Core MVC. The transition brings numerous improvements and enhancements to the framework, making it more powerful and flexible. By embracing ASP.NET Core MVC, developers can take advantage of the latest features and build modern web applications.

to update your development environment and familiarize yourself with the changes introduced in ASP.NET Core MVC. With the and knowledge, you can continue building robust and scalable web applications using the latest version of the framework.

Rate this post

Leave a Reply

Your email address will not be published. Required fields are marked *

Table of Contents