This article will focus on the new stuff coming up with ASP.NET MVC 5.
- OWIN and Katana
- Identity and Membership
- Boostrap 3
- WebAPI 2
- Entity Framework 6
- Visual Studio 2013
Upgrading from ASP.NET MVC 4 to MVC 5
- Update .NET framework to at least .NET 4.5
Update all NuGet packages
- Microsoft.AspNet.Helpers.Mvc has been renamed (you will need to remove it)
update-packageon the Package Manager Console if you are sure that you can update all dependencies
- or, update only core assemblies ASP.NET MVC, Entity Framework, WebAPI, etc.
Web.Configassembly versions (from 220.127.116.11 to 18.104.22.168, or 22.214.171.124 to 126.96.36.199 in the case of MVC)
- Install ASP.NET web helpers library.
- Remove GUID that identifies project as an MVC project
OWIN and Katana
Historically ASP.NET MVC has always been hosted in IIS. IIS provides a big collection of features to ASP.NET: session state, caching, authentication, compression, request tracing, etc. Over the last couple of years we have seen a shift in the way we architect web applications (Single Page Applications) in which the client performs a lot of the processing and the server only sends raw data (as opposed to rendering all the views in the backend as we did before). This shift means that, instead of IIS, it would be more interesting to use a fast, ligthweight and extensible host for web apps and services (particularly in the case of cloud applications). And within this context is were Katana appears.
Katana is a Microsoft implementation of the OWIN (Open Web Interface for .NET) standard. OWIN defines a standard interface between .NET web servers and web applications.
Identity and Membership
Entity Framework 6
Visual Studio 2013
Written by Jaime González García , Dad, Husband, Front-end software engineer, UX designer, amateur pixel artist, tinkerer and master of the arcane arts. You should follow him on Twitter where he shares useful stuff! (and is funny too).Follow @vintharas