Subscribe: DDITDev
http://blogs.msdn.com/dditweb/rss.aspx
Preview: DDITDev

DDITDev



A crack team of devs in the Developer Division. ASP.NET, SQL, C#, development practices.



Last Build Date: Tue, 06 May 2008 17:34:18 +0000

 



LINQ to SQL and multiple result sets in Stored Procedures

Tue, 06 May 2008 17:34:18 +0000

In this post I'm going to demonstrate how you would return and consume multiple result sets from a stored procedure in LINQ to SQL. Imagine you have a stored procedure like this one below. Very simple – it’s just returns all customers and all orders. In my LINQ to SQL Data Context, I have the...



VS2008 Tip – Remove unused ‘using’ statements

Wed, 19 Mar 2008 12:51:00 +0000

Did you know that VS2008 has a great feature to remove any unused 'using' statements in your code? Simply right click anywhere in your code file, select 'Organize Usings' and select 'Remove Unused Usings'. You then end up with only the using statements you are actually using! (no pun intended ;)) Other options include sorting...



Working with Virtual Machines in PowerShell, SCVMM and C#

Mon, 17 Mar 2008 15:09:05 +0000

Lately I've been experimenting with SCVMM and PowerShell, and I wondered how hard it would be to automate the creation of a Virtual Machine via C#. Well the good news is that's it not that hard at all! In this post I'm going to demonstrate how to: Create a new VM Get an existing VM /...



Creating Arcs and Changing Centers with Expression

Mon, 17 Sep 2007 13:32:43 +0000

I know I had a hard time trying to work this out when I was starting to use Expression, so I thought it might be useful to share! Thanks Tim! Creating Arcs and Changing Centers with Expression Jason



A Real-Time Trace Listener/Watcher

Thu, 06 Sep 2007 22:00:00 +0000

Goals of this post: Example for writing a custom trace listener which outputs real-time information over the network, which can then be consumed by a remote client. Example for writing that remote client, which functions much like FileMon in showing real-time data from the trace listener: The whole solution is attached to the post. Written [hurriedly]...



Using Virtual Earth in your WPF application

Wed, 22 Aug 2007 21:23:45 +0000

Technorati Tags: virtual earth, wpf, ve, geotagging I wanted to experiment more with WPF, since I don't get to use it in my Real Job. Also, I love me some Virtual Earth, so I was looking to find a way to merge the two. What I came up with is an application which would allow you to tag...



Speeding up image loading in WPF using thumbnails

Wed, 22 Aug 2007 19:55:53 +0000

Technorati Tags: wpf, thumbnails, image, performance, slow, BitmapImage During a recent WPF session I needed to build a ListBox that showed a bunch of images loaded from an arbitrary directory. Thanks to WPF's data binding, this was trivial - I just needed to get a collection of objects that each had a property pointing to...



SQL Server Management Studio – Quick Tip

Thu, 09 Aug 2007 00:37:25 +0000

Just a quick tip I thought I would share... When working in SQL Server Management Studio, an easy way to hide the results of a query is to press CTRL + R. Press it again to toggle showing the results. Jason



Quality & Trust

Fri, 06 Jul 2007 13:13:33 +0000

Recently we had a new release of an application that didn't go as well as planned, which I'm sure a lot of you can probably relate to - after all, how many rollouts do go as planned? This new release contained miles of bug fixes and enhancements and was being touted as a major step...



Windows Live Writer Beta 2

Fri, 01 Jun 2007 12:30:29 +0000

If you've read my earlier post, Windows Live Writer Plugins & Dirty Diapers!, you'll know that I'm a big fan of Windows Live Writer. Well good news! They've just released Beta 2 and it just keeps getting better. You can check it out and download it here. - Jason