Reference the Windows Assembly in a C# Project

The case may arise where you want to include the Windows assembly, as used in Windows 8 apps, in a project which doesn’t reference it by default. Referencing this assembly isn’t as trivial a task as it may seem, as the Windows assembly simply doesn’t appear in the list of available assemblies in the Reference Manager in most projects. The reason for this is that the assembly is only available for reference in applications which specifically target Windows 8. In order to make this the case for your project, you need to make a small modification to your.csproj file. In the first “PropertyGroup” element of your project file, add the following XML tag:

The Great Big Microsoft Certification 70-487 Study Guide - Materials

So, I ended up passing the certification. I hope that you’ll find the links as helpful as I did. As an added bonus, I’ve decided to post here two files which helped me study for the certification:

The Great Big Microsoft Certification 70-487 Study Guide

Update: I passed the exam, so this guide isn’t completely useless :). I’ve also posted two files that I used to help me better prepare for the exam. You can find them here.

Sending Email From C# Via Hotmail/Outlook/Windows Live

I recently found myself wanting to send an email from an ASP.NET web application. I didn’t want to go to all the hassle of setting up an SMTP server just to test my code, so decided to do it through an outlook.com email account. Here’s how: