Select a course:

Asp.Net MVC

This course is for .net developers wishing to learn about the Asp.Net MVC framework for building web applications. Delegates would typically have a background in .net development from a Windows or Asp.Net WebForms background using c# or vb.net. MVC brings a powerful, clean and testable approach to web development and this course will bring you up to speed with version 1 of the framework as well as covering the new features of version 2 (currently in Preview) that will be released with VS 2010 in March 2010.
This course lasts 5 days

Outline

MVC Essentials

  • What and Why for asp.net MVC?
  • Responsibilities of the Model, View and Controller
  • Asp.Net WebForms vs. Asp.Net MVC
  • Testability
  • Routing essentials
  • Creating your first Asp.Net MVC web Site

Controllers

  • Understanding the Controller 
  • Action Methods 
  • Working with Parameters 
  • How actions are mapped to methods 
  • Action Result Types & Helper Methods 
  • Understanding Model Binders 
  • Using Validation with Model Binders

Views

  • Responsibilities of a View 
  • Creating Asp.Net Views 
  • Strongly Typed Views 
  • Html Helper methods 
  • Creating your own HtmlHelper extension methods 
  • Forms 
  • Partial Views 
  • Validation helpers 
  • Using alternative View Engines

MVC Ajax Support

  • When to use Ajax 
  • Making Ajax Calls 
  • Using Partial Views with Ajax 
  • Using Ajax support with jQuery 
  • Using Asp.Net Ajax 
  • Support non-JavaScript enabled browsers

MVC Filters

  • Understanding Filters 
  • Built in Filters 
  • Authorize 
  • Handle Error 
  • OutputCache 
  • Creating Custom Action Filters 
  • Filter Ordering and Naming

MVC Security

  • Dealing with common security threats in Asp.Net MVC 
  • XSS 
  • XSRF 
  • Error Reporting 
  • Securing controllers 
  • Authorize and NonAction attributes

MVC Routing

  • Introduction and motivation 
  • Building your routes 
  • Route Constraints

Testing MVC Applications

  • Writing Tests for Asp.Net MVC
  • Following Test Driven Development (TDD)
  • Unit Testing best practices
  • Enforcing Isolation of tests
  • Mocking
  • Refactoring

MVC Models

  • Overview
  • Using Linq to Sql
  • Using Entity Framework
  • Extending Entities and adding business and validation rules

Patterns for MVC Development

  • The Repository pattern 
  • Using ViewModel and MVVM 
  • Understanding Validation 
  • ViewModel 
  • Domain Objects

What's coming in Asp.Net MVC 2

  • What’s coming in MVC 2? 
  • Strongly Typed Helpers 
  • Enhanced Model Validation 
  • Auto-Scaffold UI Helpers 
  • “Areas” 
  • Asynchronous Controllers support 
  • Html.RenderAction 
  • New helper functions, utilities, and API enhancements 
  • New Visual Studio tooling support
 
 

About bbits training

Professional developers and trainers

All our training courses are delivered by professional developers who are also professional trainers.  We believe that training is a particular skill that needs to be backed up by real-world experience.  

Real-world training

The courses are based around achieving real-world productivity improvements, and providing a structured, encouraging environment that means delegates get the knowledge they need efficiently.

Flexible

Our courses, though they follow a structure, can differ each time they are delivered, because our trainers can focus on the areas of the course that are most important to the delegates.  We assess delegates requirements either with managers prior to the course, or at the start of each course with the delegates, so that we can provide the best possible course.  We can provide, at no extra cost, completely customised courses with different outlines and durations for any that require it - please contact us if you have a particular requirement.

Hands-on involvement

Each delegate will have their own computer and all our course contains a large proportion of "hands-on" work.  Each section is dealt with first by the trainer, who will fully involve the delegates in discussion, and through hand's on work, and be followed by exercises that will back this up, and push the delegates to go further.

Free goodies

At the end of the course, delegates recieve copies of all the examples and exercises to take back with them, together with a certificate, and other course materials on cd or usb stick. Look out for other goodies that we also provide!

Seen our courses elsewhere?

Our courses are often contracted out for other training providers, so you may see the same content elsewhere.  In fact we often deliver the courses for other providers too, so don't be surprised if you see our courses and trainers if you book through someone else.  Of course if you want to customise a course then please contact us directly!