Windows 7 – VHD Boot – Setup Guideline

Windows 7 has a really useful feature called “VHD Boot”. With that you can boot your entire Windows out of a Virtual Hard Disk file (as those used with Virtual PC or Virtual Server). This VHD file is mounted as a virtual disk, you can use it as a normal hard disk drive, but all…

24

SQL Server User Provisioning Tool for Vista

After installing SQL Server 2005 or Express on Windows Vista you may have noticed, that your user accounts (even though being in the local computer’s administrators group) are not allowed to connect to the SQL Server. Which is bad if you’re not running in Mixed Mode… With the newly released Service Pack 2 for SQL…

15

WPF Control Development – 3 Ways to build an ImageButton

During a WPF workshop last week I was asked to do an ImageButton control. *Huh* I thought, this is going to be an easy task (as probably most of you think right now). 1st Way: Use Buttons Content Property directly: And it was easy: Thanks to the concept of ContentControls I easily assigned the Button.Content…

9

Free mail with Windows Live – Custom Domains

Recently I came across a really cool live server called “Custom Domains”. This service is currently evolving into “Windows Live Admin Center”. What does it do?! You get an e-mail server for your custom domain for free! You can then create up to 500 mail accounts on this service, each with 5GB storage. Neat, isn’t…

9

LINQ-To-Everywhere – List of LINQ Providers

This weekend I’ve built a small application, which queries the “Simpsons” seasons guide data and updates the filenames/descriptions. To do this I needed to query a CSV file. While searching for a LINQ to CSV file implementation I’ve found an interesting list of LINQ Providers provider by MVP Charlie Calvert. LINQ to CSV LINQ to…

8

A Must Have Tool – VS 2008 Snippet Designer

Mathew Manela from the Online Tools Group at Microsoft has written a really cool tool, which adds a feature missing for a long time in Visual Studio: Code Snippet Creation. The tool, which is available at http://www.codeplex.com/SnippetDesigner allows a bunch of functionality for working with custom snippets. Add a new .SNIPPET file via File-New-File–Code Snippet…

7

Visual Studio Templates – Composite WPF Guidance – Installation

First of all download the template package from here. For an overview of the functionality see another post.   Extract the zip file and move to the Bin folder. In the bin folder three files are located: install.bat does all the work to setup the templates (run the .VSI and add the .DLL to the…

7

"Hacking" System.Net.Mail.SmtpClient

In .NET 2.0 there is a cool class called SmtpClient within System.Net.Mail. With this class you can send mail (at least I thought).The requirement was to send an email over a server of one of our agencies.The mail server was secured by username/password authentication. That’s why I used the following code: SmtpClient _client = new…

6

Slides and Demos from BigDays 2009 are online!

These days I’m travelling around austria with our biggest developer & IT Pro event Big>Days 2009! This year’s theme was "packen wir’s an" – translated "let’s get to work"! Accompanying the theme we built a multi-tier application with .NET 3.5 and Silverlight called "Rent-A-Worker"! You can download the sources at http://www.codeplex.com/BigDays09/! If you’re interested in…

6

.NET Roadshow – Demo Solution

The demo solution from our .NET Beginners Roadshow is no ready for download for attendees and all others. The scenario is event management. The solution consists of 4 parts: *) Data Access layer using ADO.NET Entity Framework *) Business Logic Service hosted as a WCF service. *) Web Site, written in ASP.NET, which allows attendees…

5