ASP.NET MVC 4 Web Development

Course:   ASPMVC
Duration:   4 Days
Level:   II
On our website at:   http://www.verhoef-training.com/courses/ASPMVC.html
 
Course Summary

MVC Web applications offer a clean separation of concerns between the business-logic classes, Web pages, and the controller. Microsoft ASP.NET MVC 4 offers Web developers all the benefits of MVC allied with all the power of the .NET platform. This course provides full coverage of ASP.NET MVC 4, including the new ASP.NET Web API and mobile UI API.

Topics Covered In This Course

Getting Started with ASP.NET MVC

  • ASP.NET MVC project templates
  • Understanding the structure of an ASP.NET MVC project
  • Naming conventions
  • Creating views
  • Defining controllers
  • Defining a data model

Creating a Complete ASP.NET MVC Application

  • Creating strongly-typed views
  • Understanding URLs and action methods
  • Using HTML helpers
  • Handling form post-backs
  • Data validation

Using the Razor View Engine

  • Razor design goals
  • Implementing a Razor view
  • Razor syntax
  • Accessing model data in Razor views

Industrial-Strength ASP.NET MVC Applications

  • ASP.NET application architecture best practices
  • Implementing a repository and Entity Framework data model
  • Using Dependency Injection
  • Implementing a custom controller factory

Test Driven Development with ASP.NET MVC

  • Recap of TDD
  • Unit Testing frameworks
  • Walk-through of using TDD with ASP.NET MVC

View Techniques

  • Defining and using custom HTML helpers
  • Defining a layout/master page
  • Using styles
  • Defining and using partial views
  • Razor helper method syntax

Implementing Navigation

  • Defining view-model classes
  • Implementing data filtering in a controller
  • Understanding the routing mechanism
  • Adding custom entries to a route table
  • Defining defaults, parameters, and validation
  • Generating URLs and hyperlinks
  • Custom route constraints

State Management

  • Using hidden fields
  • Session and application state
  • Custom model bindings

Additional Techniques

  • View scaffold templates
  • Controller scaffold templates
  • Global filters
  • Model binding
  • Asynchronous controllers
  • Authentication options, including enabling logins from Facebook etc.

Using Ajax and jQuery with ASP.NET MVC

  • Overview of Ajax and ASP.NET MVC
  • Unobtrusive Ajax
  • Using Ajax action links
  • Overview of jQuery
  • jQuery techniques
  • Using jQuery UI

Using the ASP.NET Web API

  • Overview of the ASP.NET Web API
  • Building servers and clients
  • Content negotiation
  • Validation
  • Queryable interfaces
  • Dependency Injection

Creating Mobile Applications

  • Overview of the mobile templates
  • Creating a mobile application
  • Understanding the underlying jQuery UI mobile APIs
Who Should Take This Course

ASP.NET developers who want to use the MVC architecture.

Recommended Prerequisites

6 months experience of C# programming. ASP.NET development experience is advantageous but not essential.

Training Style

Short lectures (50%) along with extensive hands-on practice (50%).

Related Courses
Code Course Title Duration Level
CSHWEB
C# Web Development
5 Days
I
Details
ASPCD
ASP.NET Core Development
5 Days
I
Details
MSWEBD
Web Site Development using ASP.NET
5 Days
I
Details
VBASP
Microsoft ASP.NET Using Visual Basic 2008
4 Days
II
Details

Every student attending a Verhoef Training class will receive a certificate good for $100 toward their next public class taken within a year.

You can also buy "Verhoef Vouchers" to get a discounted rate for a single student in any of our public or web-based classes. Contact your account manager or our sales office for details.