Meine Vorträge auf der BASTA 2013 starten heute mit einem ganztägigen C# Workshop. In diesem Blogartikel stelle ich Unterlagen und Links, die ich dabei verwende, zur Verfügung.
You can download the entire slidedeck in PDF format. At the end of the workshop I will also publish the slides in my Slideshare account for online viewing.
One of the topics we cover in the workshop is NuGet. If you want to follow my sample you can use the following code snippet (.nuspec file) so you do not have to type XML by hand:
Here are the two (very simple) content files. The first one is Tool1.cs.pp, the second one app.config.transform:
MAF (Managed Addin Framework aka System.Addin)
In the morning we will also speak about MEF vs. MAF. The example I use to demonstrate MAF is a modified and upgraded (to .NET 4.5) version of Microsoft's original WPF Calculator sample. If you want to play with my version of the sample, you can download it here.
In the afternoon I have built a async/await WPF application following the MVVM design principle. Some people asked me to publish the live coded sample. Here it is. If you don't want to download the whole sample and you just want to look at the async view model we have built, here is the C# code followed by the XAML view:
Finally I forgot to answer a question I was asked. Sorry for that. I promised during the workshop I would but time was running and so I didn't remember this todo. Someone asked me how to use await to wait for two tasks which run in parallel. The answer is Task.WhenAll. Here is a code snippet:
Recently, I have been doing some conference sessions about C# 7. My next talk in that series will be at Techorama in Belgium tomorrow. In this blog post I summarize the talk and share the samples I will do.