1 / 7

What do we know about ASP.Net MVC 5.1?

ASP.NET MVC is used widely by web developers to simplify development and maintenance of complex web applications by taking advantage of model-view-controller (MVC) programming paradigm. In addition to implementing MVC pattern, the web framework developed by Microsoft also enables web developers to accelerate custom web application development by availing the robust features and tools provided by ASP.NET.

Download Presentation

What do we know about ASP.Net MVC 5.1?

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. What do we know about ASP.Net MVC 5.1?

  2.  ASP.NET MVC is used widely by web developers to simplify development and maintenance of complex web applications by taking advantage of model-view- controller (MVC) programming paradigm.  In addition to implementing MVC pattern, the web framework developed by Microsoft also enables web developers to accelerate custom web application development by availing the robust features and tools provided by ASP.NET.  Microsoft has been updating ASP.NET MVC to help developers to build better web applications based on innovative ideas and latest technologies.  Each new version of ASP.NET MVC comes with several new and improved features to meet the emerging trends in web application development.  ASP.NET MVC 5.1 came with a number of new features and fixes for various issues. These features make ASP.NET MVC 5.1 different from its predecessors.

  3. Overview of New Features and Enhancements Provided by ASP.NET MVC 5.1 Attribute Routing Improvement  Microsoft released ASP.NET 5 with new attribute routing features. ASP.NET MVC 5.1 comes with several improvements in attribute routing. The improved attribute routing feature supports route versioning, constraints, and route selection based on header. Also, the developers have option to customize several aspects of the attribute routing feature.

  4. Enum Support in Views  While working with ASP.NET MVC 5.1 view, the developers can take advantage of HTML helpers to use Enum as list. The helper enables developers to display values in the Enum as lists. For instance, @Html.EnumDropDownListFor() helper method to display Enum values as a dropdown list. Likewise, they can use the EnumHelper.GetSelectList() method to manipulate the selected list before calling. the developers can use the Bootstrap Support for Editor Templates  The EditorFor() helper method provided by ASP.NET MVC makes it easier for programmers to build form elements. But the earlier versions of the web framework did not allow developers to pass HTML attributes while using the helper method for building form elements in views. ASP.NET MVC 5.1 comes with an improved EditFor() helper. The developers can use the updated helper to pass HTML attributes as anonymous objects.

  5. Unobtrusive Validation for String and Array Types  ASP.NET MVC 5.1 supports client-side validation for both string and array types. The ASP .Net MVC developers can implement the unobtrusive validation for various properties which are decorated with the MinLength and MaxLength attributes. Hence, a developer has option to decorate a string or array in the model with the MinLength and MaxLength attributes, and validate their values on the client-side. “This” Context Support in Unobtrusive AJAX  The earlier versions of ASP.NET MVC did not provide any mechanism can be used by callbacks to locate the invoking element. ASP.NET MVC 5.1 enables callbacks to locate the invoking elements by supporting this context in unobtrusive AJAX. The “this” keyword is being supported by commonly used callback functions like OnBegin, OnComplete, OnSuccess and OnFailure. The developers can use “this” object to make the callback functions locate the corresponding invoking element.

  6. Breaking Changes  In addition to providing a number of new and improved features, ASP.NET MVC 5.1 requires developers to adopt some breaking changes. For instance, the ambiguities in attribute routing will generate errors instead of choosing the first attribute. Likewise, the developers have to update Visual Studio to take advantage of the syntax highlighting feature for Razor views.  On the whole, Microsoft released ASP.NET MVC 5.1 with several new features and enhancements. But it has been updating the web framework regularly since the release of ASP.NET MVC 5.1. Hence, it is always important for web application developers to use the latest version of the web framework to avail a number of advanced features, in addition to the features and enhancements provided by ASP.NET MVC 5.1.

  7. Content Designed By: Mindfire Solutions

More Related