919.870.9000 info@takenote.com

 

 

 

Modern Web Development Using ASP.NET MVC 5

Course Description

The 4-day Modern Web Development Using Microsoft ASP.NET MVC 5 course provides attendees with the knowledge and skills necessary to develop enterprise ASP.NET MVC 5 web applications using C#. Attendees will learn how to use the Model-View-Controller design pattern to create a well architected application. They will learn how to construct user interfaces with the Razor view engine, how to access data via the Entity Framework and how to work with controllers to manage the communication between models and views. Additional topics covered include working with Bootstrap to create fully responsive pages, working with jQuery and Ajax to access Web API 2 services, working with SignalR to provide real-time server-to-browser communications and deploying ASP.NET MVC applications to the Azure cloud.

*A very large portion of the content of this class applies to ASP.NET MVC 4 as well.

  • Learn about the MVC design pattern and how to use it on ASP.NET MVC 5
  • Learn how to create and manage routes
  • Learn about creating controllers and invoking controller actions
  • Learn how to construct views (and partial views) using the Razor view engine
  • Learn to make good decisions about application architecture and the choice of data access technology
  • Learn how to build models and access data with Entity Framework
  • Learn how to build a professional, responsive, rich client user interfaces with the Razor view engine, client-side JavaScript and Bootstrap 3
  • Learn how to add client-side and server side validation into an application
  • Learn how to use jQuery and Ajax to access Web API 2 services
  • Learn how to secure an ASP.NET MVC 5 application
  • Learn how to use SignalR to provide real-time communications between the browser and the server
  • Learn how to deploy an ASP.NET MVC 5 application

ASP.NET MVC 5: The View From 30,000 Feet

  • The Model-View-Controller (MVC) Design Pattern
  • Who should use MVC?
  • Understanding convention over configuration
  • Data access with Entity Framework
  • Migrating from ASP.NET Web Forms

Routing

  • Configuring routing
  • Working with route constraints

Controllers

  • Creating Controller
  • Defining Action Methods
  • Mapping URLs to Action Methods
  • Understanding ActionResult Types

Views

  • Creating Views
  • Razor view engine syntax
  • Using HTML Helpers
  • View templates
  • Default layouts

Models

  • Creating model classes
  • Understanding object-relational mapping (ORM)
  • Using scaffolding

Entity Framework

  • Using NuGet to import packages
  • Modeling with Code First
  • Implementing DbContext
  • Decorating models with data annotations
  • Working with the fluent API

HTML Helpers

  • What they do
  • HTML.DisplayFor()
  • Html.ActionLink
  • Url.Action
  • Creating a custom HTML Helper

Strongly-Typed Views

  • What is a strongly-typed view
  • Creating a strongly-typed view
  • Passing model objects from a controller

HTML Forms

  • Using the form helper
  • Action selectors
  • Model binding to controls
  • Using control helpers

Partial Views

  • Using partial views

ViewModels

  • Benefits of using a ViewModel
  • Model binding changes

Data Validation

  • Using validation attributes
  • Checking ModelState
  • Implementing client-side validation

Bootstrap 3

  • Page layout with grid system
  • Assigning classes
  • Buttons
  • Icons

jQuery and Ajax

  • Using jQuery
  • Unobtrusive JavaScript defined
  • Ajax Helpers

Action Filters

  • Authorization
  • OutputCache
  • RequireHttps
  • HandleError
  • Using Global Filters
  • Creating Custom Filters

Web API 2

  • ApiController class
  • Action Parameters
  • Routing
  • Model Binding
  • Formatters
  • Status Codes

Security

  • Configuring authentication
  • Restricting access to action methods
  • ASP.NET identity

Deployment

  • Bundling and minification
  • Web.config transformations
  • Deploying to Azure Web Sites

Attendees should possess prior experience with .NET development and have some experience with C#, HTML & JavaScript. This class will help developers with experience developing ASP.NET Web Forms applications make the move to ASP.NET MVC 5. SQL Server knowledge would be helpful but it isn’t required.

  • Developer-level machine running Windows 7 or later (min 4GB RAM)
  • Visual Studio 2012 or Visual Studio 2013 with LocalDB installed
  • Microsoft SQL Server (optional)

$2,295

Our public classes are conducted in Raleigh, NC. Private, on-site classes are available as well. Please contact us for more information.

Register