Code

Silverlight + Astoria (and Entity Framework)

Here's an example building a data driven site using Silverlight, AJAX and Astoria (Astoria uses the Entity Framework so that's there too).

Silverlight + ASP.NET AJAX Example

This example shows how to use Silverlight and ASP.NET AJAX together.  See the blog entry here for a complete explanation:

http://wildermuth.com/2007/08/18/Silverlight_ASP_NET_AJAX_=_Good_Times.aspx

Silverlight "Loading Page" Example

This example shows how to create a simple "Loading" page for Silverlight assets.

Sidebar Gadget Built with Silverlight

Here's a Silverlight 1.0 Beta version of my Silverlight Sidebar Gadget.

MSN IM Messenger AddIn Example

To do a presentation for a user group, I wrote this quick little MSN Messenger AddIn that looks for key phrases ("how do I", "do you know how", etc.) and responds with a Google search link (with "I Feel Lucky" added)...

In any case its a bare bones example of how to write a simple add-in for MSN Messenger.

WPF/E Sidebar Gadget

Here is an example of WPF/E working in a Sidebar Gadget.  The original Rant is at:

http://wildermuth.com/2007/01/30/WPF_E_In_a_Sidebar_Gadget.aspx

DataConnectionUI Example

Chris Sells asked me today if there was a re-usable connection string user interface that I knew of.  I'd heard that you could use the dialog from Visual Studio, but I had to dig in and remember how.  I've put together this quick and dirty example for downloading.

WPF/E Server Control

I've put together a WPF/E control that will load XAML on the server into the actual page its rendered into as well as some other server tricks I've learned.  Here's the blog entry that talks about it:

http://wildermuth.com/2007/01/27/ASP_NET_Server_Control_for_WPF_E_-_UPDATED!.aspx

Here's a pic of it in action:

SQL Server Paging Demo

I've put together a quick and dirty ASP.NET 2.0 page that uses the SQL Server 2005 Ranking Functions.  Here's the rant where I explain what I did:

http://wildermuth.com/2006/11/04/SQL_Server_2005_Paging_Demo.aspx

DataSources Gone Bad

Here is an example of what's wrong with DataSources in ASP.NET.  I discuss it here:

http://wildermuth.com/2006/08/25/SqlDataSource_Issues.aspx

Internet Tester

I spent much of the day without Internet access today.  My cable provider went into the tank for most of the day. I got sick of testing it over and over so I wrote this little application to continually try and ping an internet address and when it succeeds it pops up a dialog (on top of other windows) to let me know!  It's nothing special, but if you think you might need it (don't want until your internet is down), grab it here

Initial Interface:

Alert Interface:

ASP.NET Custom Profile Provider

I wrote this custom profile provider for my article on www.serverside.net.  here's a link to the article:

http://www.theserverside.net/tt/articles/showarticle.tss?id=CreatingProfileProvider

SQL Server Monitor

I have so many SQL Server instances on my local machine others in my home office that I wanted one place to start and stop them all.  I liked the start-stop functionality in the SQL Server agent, but I have MSDE instances and SQL Server 2005 instances running too, so a single place to do it all from an icon tray was my goal.  So here I've created a simple .NET 2.0 application.  I would have done it with 1.1 to make it more accessible for users, but there were some features I needed in 2.0 to make the app work.  So if you have the .NET 2.0 Framework installed, check out this new app to control multiple instances of SQL Server a mouse-click away:

ADO.NET PowerToys

This is a package of several data related tools for Visual Studio 2002 and 2003.  These tools are not available for Visual Studio 2005 or above.

SQLExplorer

This is a WinForms app (very rough at this point) that allows you to run a query and get it in a datagrid. This example uses a DataSet instead of a DBReader object. This is more like the real day to day usage of ADO.NET.

Basic ADO Example

This is a sample commandline c# class that uses ADO.NET to run a simple query. Compiles with .NET Beta 2.

Annoying Process Killer Service

This Service takes a list of annoying processes (e.g. QuickTime's Monitor, RealPlayer Scheduler, etc.) and looks every thirty seconds to see if the process has been started. If it finds any of them, it kills them. You must use InstallUtil.exe to install the service (InstallUtil ProcKillerService.exe). There is a .config file that takes a list of processes. You can add to the list as you see fit!

Master-Detail Windows Forms Example

In response to this question, I've created a canonical example of master-detail binding in Windows Forms. Click on the question link to see a walk-through of how I created the code.

SQLExecuter

I put this example of a command-line applicaiton to execute .sql files into SQL Server. This was in response to a question that was asked.

DataSetExample

This example explains how to use Datasets with multiple tables and relations between the tables. This is a simple example using WinForms and the DataGrid.

Evaluator

This is a class that will allow for runtime compliation of expressions and test against them. See the Test project for examples of use.

System.Data.XmlClient Managed Provider

This is my first attempt at writing a Managed Provider. The idea behind it was to allow users of the Managed Provider to be able to fill DataSets from XML in a homogenious way. This way you could mix XML and database data together without having to know exactly which is from which.