Veranstaltungsort

München

Inhouse-Seminar

Haben Sie Interesse an einer individuellen Inhouse-Schulung zu diesem Thema? Nehmen Sie einfach Kontakt mit uns auf.

»Anfrage für Inhouse-Seminar

Ansprechpartner

Steffen Hertlein
Tel.: +49 (0)69 630089 11
Fax: +49 (0)69 630089 89
E-Mail: shertlein@entwickler
-akademie.de

ASP.NET 4 Master Class

Dauer

4 Tage

Seminarbeschreibung

For many years a large share of developers targeting the Microsoft Web platform overlooked design patterns and software design principles. One of the reasons for this is certainly the focus that Microsoft itself put on tools and rapid application development. The classic ASP.NET programming model—the Web Forms model—leaves developers and architects the burden of applying principles such as “Separation of Concerns”, “Testability”, or “Low Coupling”.

The ASP.NET MVC framework is an alternative model designed from the grounds up to address good software principles. The framework forces developers to think in terms of distinct components—the controller and the view primarily—and the framework itself exposes its own internal pieces through interfaces and greatly simplifies testing, mocking, extensibility. Although based on the same runtime environment as ASP.NET Web Forms, ASP.NET MVC is significantly different and requires a paradigm shift. As a result, today you have two equally valid options when it comes to building a Web application.

This class is intended to sync you up with latest developments in the ASP.NET arena. With the release of .NET 4 and Visual Studio 2010, the two frameworks that collectively form the ASP.NET platform—Web Forms and ASP.NET MVC—are updated and enhanced. The class will review the state of the art of the Web Forms addressing what’s new in the latest version and what could be further improved in the future. Next, reasoning about the structural limitations of the Web Forms model the class smoothly takes you to consider an alternate model—ASP.NET MVC. . You’ll learn how to design areas, controllers and views, how to interact with the business layer, inspect the ASP.NET MVC runtime, and test your pages. A significant section of the class is also dedicated to the options available for generating the final HTML, including an analysis of the view engine and facilities such as HTML helpers and templates.

Finally, the class explores the AJAX support on both frameworks and takes the plunge in client-side templates, script refactoring, data binding, jQuery. By taking the class, you’ll master the new wave of ASP.NET features and double your capabilities of building effective ASP.NET applications that fully integrates with the IIS7 environment. You’ll deep dive into the differences between Web Forms and ASP.NET MVC and figure out a few basic rules to make a thoughtful choice.

Agenda

Day 1

  • Web Forms and the IIS runtime environment
  • HTTP handlers and HTTP modules
  • The “Page Controller” pattern of Web Forms
  • Web Forms enhancements in Visual Studio 2010
    • Viewstate control
    • Algorithms for generating control IDs
    • New caching features
  • Improving the architecture of Web Forms applications
    • MVP pattern
    • Service Layer
Day 2
  • The ASP.NET MVC runtime shell
  • Areas
  • Controllers
  • The view engine
  • Creating a view
  • Passing data to a view
Day 3
  • View Model
  • Data annotations
  • HTML Helpers
  • Templated helpers
  • Input and validation
  • Routing and URL design
  • Testability
  • Design for testability
  • Code contracts in C#4
Day 4
  • ASP.NET AJAX: basics
    • Partial rendering
    • Service scripting
    • AJAX patterns
  • ASP.NET AJAX: enhancements in Visual Studio 2010
    • Client-side templates
    • Data binding
  • The jQuery library
    • Selectors
    • Visual effects
    • AJAX functions
    • Caching
    • jQuery UI
  • AJAX features in ASP.NET MVC
    • Partial updates
    • AJAX controller
    • Using jQuery in ASP.NET MVC

Teilnehmerkreis

ASP.NET and Web developers, architects needing guidance of present and future choices.

Teilnehmervoraussetzungen

The class assumes a working knowledge of the ASP.NET Web Forms framework, including basic AJAX stuff. No knowledge is required on the ASP.NET MVC side.