Learn your way! Get started

MVC 4.0, Part 08 of 11: Architecture

with expert Don Kiely


Watch trailer


Course at a glance

Included in these subscriptions:

  • Dev & IT Pro Video
  • Dev & IT Pro Power Pack

Release date 7/8/2013
Level Advanced
Runtime 1h 10m
Closed captioning Included
Transcript Included
eBooks / courseware N/A
Hands-on labs Included
Sample code Included
Exams Included


Enterprise Solutions

Need reporting, custom learning tracks, or SCORM? Learn More



Course description

In this course we’ll explore some of these real-time communication options, including HTTP polling, HTTP long polling, server-sent events, and the news of the bunch, Web sockets. You’ll also learn about Microsoft’s response to this need with a variety of technologies, including the SignalR library. Next we’ll explore two pieces of the basic ASP.NET infrastructure that are useful in some situations when building applications. The first is HTTP handlers and the other is HTTP modules, each of which are implemented as .NET classes that implement specific interfaces. An HTTP handler executes whenever a client makes a request for a certain path or file so that you can generate a response on the fly or retrieve resources from unusual places. An HTTP module executes with every client request, letting you implement various cross-cutting features in your application.

Prerequisites

This course assumes that you are familiar and experienced with Microsoft’s .NET Framework and ASP.NET development tools. You should be familiar with Web development and understand how HTTP and HTML work to produce Web pages for the user. You should have experience writing applications with ASP.NET 4.0 or later Web forms, and be familiar with how ASP.NET processes page requests, and have strong experience with .NET Framework 4.0 or later programming. You should have experience with Visual Studio 2012 for building Web application projects. Experience with building database applications using these tools will be helpful, although not strictly necessary.

Learning Paths

This course will help you prepare for the following certifications and exams:
MCSD: SharePoint Applications
MCSD: Web Applications
70-486: Developing ASP.NET MVC Web Applications

This course is part of the following LearnNowOnline SuccessPaths™:
Building MVC Web Applications

Meet the expert

Don Kiely is a featured instructor on many of our SQL Server and Visual Studio courses. He is a nationally recognized author, instructor, and consultant specializing in Microsoft technologies. Don has many years of teaching experience, is the author or co-author of several programming books, and has spoken at many industry conferences and user groups. In addition, Don is a consultant for a variety of companies that develop distributed applications for public and private organizations.

Course outline



Architecture

Real Time Communications (32:13)
  • Introduction (01:16)
  • Communication Models (01:33)
  • HTTP Polling (02:37)
  • HTTP Long Polling (02:21)
  • Server-Sent Events (01:42)
  • Web Sockets (01:27)
  • Communication with SignalR (01:56)
  • Programming and Communication (04:24)
  • Demo: Nuget Package (01:32)
  • Demo: Run App (01:26)
  • Demo: View App Code (03:12)
  • Demo: Global.asax (01:01)
  • Demo: Server and Client Side (01:36)
  • Demo: Chatter View (03:51)
  • Demo: JS Scripts (01:39)
  • Summary (00:32)
HTTP Handlers and Modules (38:13)
  • Introduction (01:17)
  • HTTP Handlers (03:25)
  • Synchronous and Asynchronous (02:11)
  • What is Reusable (02:43)
  • Demo: Overview of App (02:31)
  • Demo: Home Controller (01:29)
  • Demo: Views (01:23)
  • Demo: Image Handler (05:15)
  • Demo: Invoking the Handler (01:28)
  • HTTP Modules (03:07)
  • Demo: HTTP Module (01:57)
  • Demo: MiniProfiler (04:38)
  • Demo: MiniProfiler File (03:04)
  • Demo: Code for Module (03:10)
  • Summary (00:27)