Call us at 1-800-413-0939
Hands On Technology Transfer

MVC Programming Course

Attend face-to-face, remote-live, on-demand or on site at your facility.

On-Demand Training with Personal Facilitation
Top

ASP.NET MVC Programming Using C#

Delivery Options: Attend face-to-face in the classroom, remote-live or via on-demand training.

Pricing

Face-to-face or remote-live: £1945

On-demand: £1145

Discounts: We offer multiple discount options. Click here for more information.

Duration

Face-to-face or remote-live: 5 Days

On-demand: Approximately 35 hours of coursework with personal facilitation, to be completed in a four week span.

Registration

Face-to-face: Click here to view our schedules and register for in-person sessions.

Remote-live: Click here to register for live remote class sessions within a date range of your choosing.

On-demand: Click here to register for on-demand training with personal facilitation, on a start date of your choosing.

Students Will Learn

  • Using Visual Studio to create C# applications
  • Working with .NET data types
  • Creating variables with the proper scope and using operators to build complex expressions
  • Designing and using classes
  • Using control structures such as if, while and for
  • Using procedures to build complex applications
  • Throwing and trapping exceptions using the try and catch statements
  • Using single and multi-dimensional arrays
  • Working with .NET collections
  • Using LINQ to make queries
  • Defining and implementing interfaces
  • Working with enumerations
  • Architecture of ASP.NET MVC web applications
  • Using Visual Studio to create Internet and Intranet applications
  • Creating controllers containing action methods to process HTTP requests
  • Using both the ASPX and Razor view engines to design ASP.NET MVC views to render responses to HTTP requests
  • Creating data models by hand, by using typed datasets, and by using the Entity Framework
  • Creating and debugging ASP.NET MVC routines
  • Using MS Test and NUnit to create and run tests for ASP.NET MVC applications
  • Integrating ASP.NET Web Forms and ASP.NET MVC within one web application
  • Securing and deploying ASP.NET MVC web applications

Course Description

This course provides students with hands on experience using Visual Studio to create dynamic web applications using ASP.NET MVC, C#, and the .NET 4.0 - 4.8 Frameworks. The class provides a thorough introduction to the C# programming language, including coverage of the essentials of the C# programming language, built in data types, operators, control structures, classes and methods, collections and exception handling.

Students learn how to leverage the power of the Model-View-Controller design pattern with the ASP.NET MVC Framework to separate the layers of a web application. Students will use the ASPX and Razor view engines to design a user interface. Students learn how to build models to manage an application's data layer using both the Entity Framework and LINQ to SQL. Students also learn how to build controllers containing action methods to manage communication between views and models.

Other topics include data scaffolding; URL routing; implementing security; using MVC and Web Forms in the same application; unit testing; and deploying ASP.NET MVC applications. Comprehensive labs provide the students with experience creating, debugging, testing and deploying dynamic ASP.NET MVC 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, WCF or Windows Presentation Foundation should contact HOTT or refer to HOTT's complete course listing for additional training courses.

Students who are already familiar with C# language syntax and wish to learn about ASP.NET MVC applications in the context of .NET Frameworks 4.0 through 4.8 may want to take the 3-day ASP.NET MVC Programming for Experienced C# Programmers course instead.

Students who are already familiar with the C# language and wish to learn about ASP.NET MVC applications in the context of the .NET Core Framework may be better served taking the 4-day Introduction to ASP.NET Core MVC class instead.

Course Prerequisites

Knowledge of fundamental HTML syntax is helpful, but not required. Prior experience with a scripting or programming language is required.

Course Overview

Introduction to .NET
  • Overview of the .NET Framework
  • How .NET is Different from Traditional Programming
  • Common Language Runtime (CLR)
  • Common Language Specification (CLS)
  • Common Type System (CTS)
  • .NET Assemblies
  • Microsoft Intermediate Language (CIL)
  • .NET Namespaces
  • .NET Framework Class Library
Introduction to Visual Studio
  • Creating a Project
  • Using the Code Editor
  • Correcting Syntax Errors
  • Setting Project Properties
  • Adding References
  • Compiling a Program
  • Running a Program
  • Debugging a Program
  • Using the MSDN (Help)
Language Fundamentals
  • C# Program Structure
  • Defining Namespaces
  • Understanding C# Data Types
  • Defining Variables and Constants
  • Comparing Value Types vs. Reference Types
  • Working with Operators and Expressions
  • Performing Type Conversions
  • Using Console I/O
  • Formatting Numbers, Date and Times
Conditionals and Looping
  • if/else
  • switch
  • while and do/while
  • for
  • foreach
Methods and Parameters
  • Defining Static and Instance Methods
  • Passing Parameters by value and by reference
  • Overloading Methods
  • Using Variable Length Parameter Lists
Exception Handling
  • What are Exceptions?
  • .NET Exception Hierarchy
  • Catching Exceptions
  • Throwing Exceptions
  • Managing Resources with Finally
Collections
  • Defining and Using Arrays
  • Understanding System.Array
  • .NET Collections vs Generic Collections
  • Working with Lists
  • Working with Dictionaries
  • Using LINQ to Objects
Object-Oriented Programming
  • Overview of Object-Oriented Programming
  • Building Classes
  • Defining Properties
  • Using Auto-Implemented Properties
  • Defining Methods
  • Understanding Constructors
  • Extending .NET Classes via Inheritance
  • Defining and Implementing Interfaces
  • Understanding the Role of Interfaces in .NET
Overview of ASP.NET MVC
  • Overview of Model-View-Controller Design Pattern
  • ASP.NET MVC Application Architecture
  • Understanding the MVC Execution Process
  • Building an ASP.NET MVC Application Using Visual Studio
  • Visual Studio MVC Project Templates
  • Using a web.config File
Developing Controllers
  • Creating Controllers
  • Defining Action Methods
  • Mapping URLs to Action Methods
  • Understanding ActionResult Types
  • Working with ViewData and ViewBag
Developing Views
  • Creating Views
  • Understanding View Engines
  • Using the ASMX View Engine
  • Using the Razor View Engines
  • Using HTML Helpers
  • Adding Validation
  • Working with Strongly-Typed Views
Developing Models
  • Creating Model Classes
  • Working with the Entity Framework
  • Working with LINQ to SQL
  • Using Scaffolding
Routing Control
  • Understanding Routing in ASP.NET MVC
  • Defining URL Routes
  • Registering Routes
  • Adding Constraints to Routes
  • Debugging Routes
Integrating ASP.NET MVC and Web Forms
  • What are Web Forms
  • Using Web Forms in an MVC Application
  • Using MVC in a Web Form Application
  • Linking to MVC Actions from Web Forms
MVC Unit Testing
  • Test-Driven Development
  • Designing Test Cases
  • Creating Unit Tests
  • Using MS Test
Securing MVC Applications
  • ASP.NET Security
  • Windows vs Forms Authentication
  • Configuring Authentication
  • Configuring Authorization
  • Building a Secure Web Site
  • Defending against Attacks
    • Cross-site Scripting
    • Session Hijacking
    • SQL Injection
    • Input Forgery
Deploying ASP.NET MVC Applications
  • Understanding Deployment Issues
  • Required MVC Assemblies
  • Server Requirements
  • Configuring an ASP.NET Application for Deployment
  • Using XCOPY Deployment
  • Using WebDeploy

Related Courses

Course Benefits

  • Course materials include student guide, hands-on lab manual and USB flash drive for examples and lab work
  • Students receive a certificate of completion at the end of class
  • Students can retake any portion of a class that has been completed, within 12 months at no extra cost
  • There are no registration fees or cancellation fees

Testimonials

This course was excellent. I will be going through the lab exercises again once I'm back in the office. The instructor was extremely helpful and knowledgeable on the material. I will definitely look for my next training course with HOTT.
— R.B.,CSDB


Excellent instructor. This class provided me with the training that I really needed and wanted to create real life applications. The pace of the class is perfect - not too slow, not too fast. I highly recommend this class for people who want .NET training.
— N.B., Plains All American

Course Schedule

Choose a city below to view a schedule and registration options. If you have any questions, please call us at 1.800.413.0939 between 9:00 am - 5:00 pm Eastern Standard Time.