In previous chapter, we covered a quick refresher of MVC and its components in ASP.NET. In this chapter, we will go deeper into MVC in ASP.NET Core, which is MVC 6 while in beta.
Two common questions from developers are: How do I upgrade my older MVC projects to ASP.NET Core MVC? Is there an automatic migration process? Migrating from MVC 5 to the new MVC in ASP.NET Core involves a few manual steps, since there is no automatic migration process. You can copy all of your static client-side files into the wwwroot
location and adjust any references to these files to refer to the correct location.
For server-side code, you can migrate over your models, views, and controllers without many changes. This chapter will cover what you need to know about each of the following areas:
Controllers
Views
Models
Parts of this chapter will be familiar to developers who have already worked with previous versions of ASP.NET MVC. We will go through some familiar material, while revealing...