BASTA 2014 Spring - C# Workshop

18 February 2014 - C#, Visual Studio

At BASTA 2014 Spring conference I will do a full-day C# workshop again. This time we have over 90 registrations, wow! This huge interest in the workshop is awesome. In this blog post I summarize important resources for the workshop. Use them to follow the samples or recall the topics after the workshop.

Workshop Abstract

The workshop will be held in German. Therefore I only have a German abstract summarizing the workshop's content:

Es ist schwierig genug, die Anforderungen der Kunden und Kollegen im Alltag zu erfüllen. Da bleibt nicht immer genug Zeit, um auch noch up to date zu bleiben was Neuerungen in C# betrifft. Wenn Ihnen dieses Problem bekannt vorkommt, kann dieser Workshop helfen. Wir widmen einen ganzen Tag besserem C#. Rainer Stropek, bekannter BASTA!-Speaker und Microsoft MVP, zeigt Ihnen, was C# mittlerweile leisten kann. Der Schwerpunkt im Workshop liegt diesmal auf folgenden Themen:

  • Coding und Design Guidelines – Best und Worst Practices, um besseren C#-Code zu schreiben.
  • Deep Dive in Lambdas und Linq – was hinter den Kulissen geschieht, wo sie helfen und wo sie mehr schaden als zu nützen.
  • Parallele und asynchrone Programmierung mit Task Parallel Library (TPL) und async/await – praktische Anwendung am Server und im Full-Client
  • Modularisierung von .NET-Anwendungen mit NuGet, MEF und Portable Class Libraries (PCL)
  • Neuerungen in Visual Studio 2013 für C#-Entwickler – alle Beispiele werden mit Visual Studio 2013 gezeigt. Sie erfahren dabei, was VS2013 an Verbesserungen für C#-Entwickler bringt.

Rainer Stropek setzt bei den Teilnehmern C#-Wissen zumindest auf dem Level von Version 2, idealerweise auch ein wenig Version 3, voraus. Ein eigener Laptop ist nicht Voraussetzung. Alle Konzepte werden anhand vieler Live-Coding-Beispiele erklärt. Zusätzlich erhalten alle Teilnehmer eine umfangreiche Präsentation als Zusammenfassung der gezeigten Themen.

Slides

In the last years I combined slides with live coding (see this Google query if you want to get the slide decks). This year I will not use slides very much. I will implement samples live on stage and describe the relevant topics based on it. However, I know people want and need some materials as a reminder after the workshop. So I publish some related slide decks here.

If you prefer the slides as PDF instead of viewing them online, you can download a ZIP file with all the slides here.

Better C# (partly German)

Code Contracts

Modularization of .NET Applications (NuGet, MEF)

Async and Parallel

Better C#

The morning of the workshop will be dedicated to the following question: What are best and worst practices for writing C# code?

During the live coding I will cover:

A reference implementation of the sample can be found on GitHub. During the workshop coding will be live. Therefore it is likely that the sample shown in the workshop is not 100% identical with the reference implementation on GitHub.

If you want to play with the sample or follow along during the workshop, you will need the following prerequisites:

Parallel and Async Programming

I will dedicate a second sample to parallel and async programming. During the live coding I will cover:

  • Deep dive into async/await
  • Async view models for Windows Desktop and Store apps
  • Async unit tests
  • Async on the server with ASP.NET Web API

A reference implementation of the sample can be found on GitHub. During the workshop coding will be live. Therefore it is likely that the sample shown in the workshop is not 100% identical with the reference implementation on GitHub.

If you want to play with the sample or follow along during the workshop, you will just need Visual Studio 2013.