ASP.NET MVC3 Vs MVC4 Vs MVC5

In this ASP.NET MVC tutorial, we will have a quick look into new and important features introduced in major versions of Microsoft ASP.NET MVC starting from MVC 3 to MVC 5 (the latest one so far).

ASP.NET MVC 3 Vs ASP.NET  MVC 4 Vs ASP.NET MVC 5
Building your ASP.NET MVC Application using Entity Framework

ASP.NET MVC 3

  • New Project Templates having support for HTML 5 and CSS 3.
  • Improved Model validation.
  • Razor View Engine introduced with a bundle of new features.
  • Having support for Multiple View Engines i.e. Web Forms view engine, Razor or open source.
  • Controller improvements like ViewBag property and ActionResults Types etc.
  • Unobtrusive JavaScript approach.
  • Improved Dependency Injection with new IDependencyResolver.
  • Partial page output caching.

ASP.NET MVC 4

  • ASP.NET Web API, a framework that simplifies the creation of HTTP services and serving a wide range of clients. Follow to create your first ASP.NET Web API service.
  • Adaptive rendering and other look-n-feel improvements to Default Project Templates.
  • A truly Empty Project Template.
  • Based on jQuery Mobile, new Mobile Project Template introduced.
  • Support for adding controller to other project folders also.
  • Task Support for Asynchronous Controllers.
  • Controlling Bundling and Minification through web.config.
  • Support for OAuth and OpenID logins using DotNetOpenAuth library.
  • Support for Windows Azure SDK 1.6 and new releases.

ASP.NET MVC 5

Creating your first ASP.NET MVC 5 Application in 4 simple steps
  • Bootstrap replaced the default MVC template.
  • ASP.NET Identity for authentication and identity management.
  • Authentication Filters for authenticating user by custom or third-party authentication provider.
  • With the help of Filter overrides, we can now override filters on a method or controller.
  • Attribute Routing is now integrated into MVC 5.
Hopefully, this article will help you in comparing core features of ASP.NET MVC in different versions.

Nguồn: Web Development Tutorial

Pro ASP.Net MVC 5, 5th edition

The ASP.NET MVC 5 Framework is the latest evolution of Microsoft’s ASP.NET web platform. It provides a high-productivity programming model that promotes cleaner code architecture, test-driven development, and powerful extensibility, combined with all the benefits of ASP.NET.
mvc5
ASP.NET MVC 5 contains a number of advances over previous versions, including the ability to define routes using C# attributes and the ability to override filters. The user experience of building MVC applications has also been substantially improved. The new, more tightly integrated, Visual Studio 2013 IDE has been created specifically with MVC application development in mind and provides a full suite of tools to improve development times and assist in reporting, debugging and deploying your code.

The popular Bootstrap JavaScript library has also now been included natively within MVC 5 providing you, the developer, with a wider range of multi-platform CSS and HTML5 options than ever before without the penalty of having to load-in third party libraries.

What you’ll learn

  • Gain a solid architectural understanding of ASP.NET MVC 5
  • Explore the entire ASP.NET MVC Framework as a cohesive whole
  • Learn what’s new in version 5 and how best to apply these new features to your own work
  • See how MVC and test-driven development work in action
  • Capitalize on your existing knowledge quickly and easily through comparison of features in classic ASP.NET to those in ASP.NET MV

Who this book is for

This book is for web developers with a basic knowledge of ASP.NET and C#who want, or need, to start using the new ASP.NET MVC 5 Framework.

Download

Table of Contents

Part I: Introducing ASP.NET MVC 5

1. What’s The Big Idea

2. Your first MVC Application

3. The MVC Pattern

4. Essential Language Features

5. Working with Razor

6. Essential Tools for MVC

7. Sports Store: A Real Application

8. Sports Store: Navigation

9. Sports Store: Cart

10. Sports Store: Mobile

11. Sports Store: Admin

12. Sports Store: Security and Finishing Touches

13. Deployment

Part II: ASP.NET MVC 5 In Detail

14. Overview of MVC5 Projects

15. URL Routing

16. Advanced Routing Features

17. Controllers and Actions

18. Filters

19. Controllers Extensibility

20. Views

21. Helper Methods

22. Templated Helper Methods

23. URL and Ajax Helper Meothods

24. Model Binding

25. Model Validation

26. Bundles

27. WebAPI and Single Page Applications

Download