ASP.NET Model View Controller 5 Advanced Training

ebook

By Mike Sullivan

cover image of ASP.NET Model View Controller 5 Advanced Training

Sign up to save your library

With an OverDrive account, you can save your favorite libraries for at-a-glance information about availability. Find out more about OverDrive accounts.

   Not today
Libby_app_icon.svg

Find this title in Libby, the library reading app by OverDrive.

app-store-button-en.svg play-store-badge-en.svg
LibbyDevices.png

Search for a digital library with this title

Title found at these libraries:

Loading...

ASP.NET MVC gives you a potent, patterns-based way to build dynamic websites. MVC 5 includes features that enable rapid, test-driven development—and it is a version every .NET developer needs to know to meet the latest web standards. Join Mike Sullivan for an in-depth look at the MVC 5 framework. He demonstrates how a typical MVC application is structured, and shows how to work with views, models, and data, including developing database objects with the Entity Framework. Michael also explores how to secure applications with the ASP.NET Identity system, create and conduct unit tests, use JavaScript libraries to communicate with controllers and pass data to client-side scripts, and deploy to cloud-based platforms like Azure and AppHarbor. Two hands-on practice challenges allow you to test what you have learned along the way.

Topics include:

  • Exploring ASP.NET routing

  • Applying action selectors

  • Working with layouts

  • Employing HTML helpers

  • Displaying and validating model properties

  • Generating database objects with Entity Framework

  • Adding transactions

  • Authenticating users

  • Unit testing

  • Performing partial page updates with Ajax and jQuery

  • Deploying ASP.NET MVC applications

    ASP.NET MVC makes use of activity methods to allow you in discovering the essential functionalities. Similarly users can also identify and discover all the essential functionalities of Web API also. However beginners often have a hard time in adopting the ASP.NET MVC methodology and also how to proceed with a Web API.

    Let's take a close look on some of the key differences between ASP.NET MVC as well as Web API which might be of help for beginners while selecting between the two.

    Discover the most important features of Web Application Interfaces

    There are instances during which ASP.NET MVC might satisfy your requirements. Since ASP.NET MVC is usually attached to single and specific web application, it is known to have the ability to uncover the entire type of application requirements instantly with the help of AJAX. Thus ASP MVC controller avoids the need to create a new API as the methodology has the potential to work quickly for uncovering the essential necessities for any given application while working with web applications. However if you are willing to make a comprehensive REST services that are not at all attached with any single application, then Web API would be the best choice to work with. Web API services serves the best if you are looking forward for a rich and flawless solution and also if the application functionalities are mostly information driven. However ASP.NET MVC is the best choice if you are about to work with UI/View driven programming methodologies that ranges from Ajax driven pages as well as stacking HTML sections etc.

    Information Groups that needs to be managed

    The output of an ASP.NET MVC would be displayed in the form of HTML mark-up or JSON form since ActionResult or JsonResult is returned by a model view controller. The essential working features could be uncovered by harnessing the potential of activity strategies whenever the information groups suffice the requirements during a specific event. However Webpage API will choose the information process wherein the form of Accept Header is taken in to consideration whereas the MVC controller indicates the working design in the form of ActionResult or JsonResult while comprising the action methods.

    Content Transaction

    The returning content in the Accept Header format are what...

  • ASP.NET Model View Controller 5 Advanced Training