Course code: GOC404« Back

New Features in .NET Framework 4.0 and Visual Studio 2010

New version of .NET framework and Visual Studio 2010 bring many useful new features. If you’re interested in development of applications or libraries in C#, you should definitely discover several improvements in C# 4.0, tools for verification and documentation of source code and new libraries for writing parallel computations. Even though examples will be mostly in C#, the course is also suitable for VB.Net developers. We won’t focus on web development in ASP.NET or on Entity Framework, because these topics are covered in separate courses.

GOPAS Official Curriculum This course has been removed from our portfolio
This section contains overview of retired courses which don’t belong to GOPAS course offer any more or were replaced by new course versions.
For more information about possibility to buy retired courses contact our customer services department (__Klientskyservis@gopas.cz) or business department (__Obchod@gopas.cz).

AffiliateDurationCatalogue priceHandbook priceITB
Praha3 16 200 CZK - 30
Brno3 16 200 CZK - 30
Bratislava3 540,00 EUR - 30

User intensity level

Who is the course for

Developers with working knowledge of .NET Framework 3.5 and are familiar with either C# or VB.Net

What we teach you

· We’ll explain the motivation behind dynamic typing in C# 4.0

· We’ll look at documentation and verification of code using Code Contracts

· We’ll introduce the field of parallel programming

· We’ll learn how to use PLINQ and Task Parallel Library

Teaching methods

Professional explanation with practical samples and examples.

Teaching materials

Powerpoint handouts.

Course Outline

New features of the C# 4.0 language

  • Dynamic typing and the “dynamic” keyword
  • Introduction to the “Dynamic Language Runtime”
  • When is dynamic typing useful in practice?
  • Optional parameters and named arguments
  • Improvements for working with COM objects (e.g. Office development)
  • Covariance and contravariance

Documentation and verification using Code Contracts

  • Writing conditions for parameter values
  • Writing conditions for the state of objects
  • Writing conditions for interfaces
  • Contract verification at runtime
  • Compile-time contract analysis
  • Distribution of libraries with contracts

Introduction to parallel programming

  • Writing parallel algorithms ing .NET 2.0
  • Parallelization of loops
  • Parallel task execution

The design of easily parallelizable applications

  • Declarative programming
  • Working with data using LINQ
  • “Immutable” objects and data types
  • Writing algorithms using “immutable” types

PLINQ and Task Parallel Library

  • Parallelization of LINQ queries
  • Working with the “Task” object

Asynchronous programming

  • Execution of long-running operations
  • Using the BeginFoo and EndFoo pattern in .NET
  • Implementing asynchronous operations using lambda expressions
Tištěné prezentace probírané látky

Price:
included in course price
The prices are without VAT.