Seminar ASP.NET MVC Programming for Experienced C# Programmers Seminar

Presented by Hands-On Technology Transfer

Hands On Technology Transfer Computer Training

Bring this seminar on-site to your facility for groups of 10 or more.

This course provides students with hands on experience using Visual Studio to create service-oriented applications using Windows Communication Foundation (WCF) and C#

Course Description/Agenda


This course provides students with hands on experience using Visual Studio to create dynamic web applications using the ASP.NET MVC 3 Framework and C#. Students learn how to leverage the power of the Model-View-Controller pattern with the ASP.NET MVC Framework to separate the layers of a web site into input handling (model), user interface (view) and business/data logic (controller). Students will learn the benefits of using the MVC pattern for web site development while creating models, views and controllers.

Other topics include data scaffolding; URL routing; streamlining view development using the Razor View Engine; accessing databases using ADO.NET, LINQ and the ADO.NET Entity Framework; implementing security; unit testing; and deployment of ASP.NET MVC applications. Comprehensive labs and exercises provide the students with experience creating and deploying dynamic web applications.

This course provides thorough coverage of the use of ASP.NET MVC for creation of web applications. Students requiring additional coverage of ASP.NET Web Forms, Windows Forms or Windows Presentation Foundation should consider additional training courses.

Students unfamiliar with the C# programming language should register for the 5-day ASP.NET MVC Programming Using C# course instead.

Course Prerequisites: Knowledge of fundamental HTML syntax is helpful, but not required. Prior experience with C# is required.


Course Overview

Overview of ASP.NET MVC
  • Model-View-Controller Pattern Explained
  • ASP.NET MVC Platform Architecture
  • Advantages/Disadvantages of MVC
  • Advantages/Disadvantages of WebForms
  • Using WebForms and MVC together
    • Sharing Data
    • Using Web Form Controls in MVC Views
    • Linking to MVC Actions from Web Forms
Developing ASP.NET MVC Applications
  • Installing Necessary Components
  • Using Action Methods
  • Using Different View Engines
  • ActionResult and ViewResult Classes
  • Rendering a View
  • Using Embedded Scripts
  • Strongly-Typed Views
ASP.NET MVC Application Components
  • The Model
  • The View
  • The Controller
  • Understanding the MVC Execution Process
  • Developing Forms
  • Using HTML Helper Functions
  • Validating User Input
Developing Models
  • Creating Model Classes using ADO.NET
  • Creating Model Classes using LINQ
  • ADO.NET Entity Framework 4.1
  • Using MvcScaffolding
Developing Views
  • Working with Views
  • Using the Razor-View Engine to Create Dynamic Web Pages
  • Strongly-Typed Views
  • Rendering Elements with Helper Objects
  • Adding Validation
  • HTML5 Project Templates
Developing Controllers
  • Defining Action Methods
  • ActionResult Types
    • ViewResult
    • RedirectResult
    • JsonResult
  • IController Interface
  • Designing a Controller Class
  • ActionFilters
Routing Control
  • Routing in ASP.NET MVC
  • Defining URL Routes
  • Registering Routes
  • Creating URLs from Routes
  • Adding Constraints to Routes
  • Debugging Techniques
MVC Unit Testing
  • Test-Driven Development
    • Test Cases and Classes
  • Using NUnit
  • Dependency Injection
  • Creating Unit Tests
  • Testing and Mocking Frameworks for ASP.NET MVC Applications
Securing MVC Applications
  • Defending against Attacks
    • Cross-site Scripting
    • Session Hijacking
    • SQL Injection
    • Input Forgery
  • Using Attributes to Secure an Application
Deploying MVC Applications
  • Required MVC Assemblies
  • Server Requirements
  • XCOPY
  • Automating Deployment with WebDeploy
  • Publishing an MVC Application

 

More Seminar Information

Hands-On Technology Transfer
Hands On Technology Transfer Computer Training

Course Summary

This course provides students with hands on experience using Visual Studio to create service-oriented applications using Windows Communication Foundation (WCF) and C#

Delivery Method

Seminar Seminar

Also Available As

On-Site Training On-Site Training

Who Should Attend

Experienced C# Programmers

 
Search similar training
Email this page
Print this document
 

Dates and Locations

This date could not be found.


see all dates/locations

 

Frequently Asked
Questions

Payment Options
Bill Me/Invoice
Credit Card

Register
Online
Fax Form

Availability
Select a date from the list at the bottom of the page for specific information about that class.

Other Information
Seminar

All Date/Location Information