Browse by Tags

C# @ The MongoDB Conference!
26 April 10 11:22 PM | mrdecav | 1 comment(s)
I will be speaking at the MongoDB conference in New York City on May 21st. I will cover their .NET/C# Development segment. We have a great demo lined up, and I look forward to seeing you all there. MongoDB is an excellent open-source database which specializes...
Introducing PowerShell Pages - Script Style HTML Rendering
05 July 08 11:59 PM | mrdecav | 2 comment(s)
Early in the web development world, scripting languages such as ASP or PHP were used to compose pages. Although this proved great for relatively static pages, the dynamic web, filled with rich applications called for a more powerful framework. Thus, frameworks...
Gatsb.com Now Open Source (A Case Study in Geotagging, Workflow Foundation, SMS/MMS Parsing)
14 June 08 09:37 PM | mrdecav | with no comments
After hosting Gatsb.com for a year, I have decided to open source the project. I haven't had time to promote it the way I wanted to promote it, and it therefore hasn't caught on with too many users. I've been busy with other projects, other...
Invoking PowerShell Scripts from An Application
02 May 08 02:01 AM | mrdecav | with no comments
If you want to run your PowerShell scripts from a piece of code you're writing, and would prefer not to use Process.Start , you can easily use the PowerShell runtime classes to run those scripts for you, completely in-process. The code snippit below...
Solution: "Unknown error", LDAP connection strings and System.DirectoryServices
02 May 08 01:50 AM | mrdecav | with no comments
If you've been using System.DirectoryServices . DirectoryEntry class, or the newer System.DirectoryServices.AccountManagement namespace to access your LDAP or Active Directory server, you may have experienced the following error: COMException: "Unknown...
Cluster Primitives: MPI, MPI.NET, Large Data, and Passing Classes
27 April 08 11:06 AM | mrdecav | 2 comment(s)
The Message Passing Interface (MPI) standard , and its .NET implementation, MPI.NET have been some of the cornerstones of development on compute clusters. The standard supplies a simple yet primitive way of both sending and receiving data between running...
WPF Compute Cluster Monitor Demo - Using 3D, Transparency and Styles
20 February 08 02:22 AM | mrdecav | 3 comment(s)
Here's a cool demo that Ronald Lintag and I threw together for Lab49. The application is supposed to demo a basic GUI that shows the status of nodes and jobs on a compute cluster. We're showing off the use of WPF 3D and styles to create a cool...
Distributed/Grid Computing with Silverlight
26 December 07 01:07 PM | mrdecav | 3 comment(s)
Daniel Vaughan has a very cool project up on CodeProject.com. He's built an awesome grid computing "platform" using Silverlight for his compute nodes. Think SETI@Home style. CodeProject article: http://www.codeproject.com/KB/silverlight...
Windows Compute Cluster (HPC) Basics: Running Map/Reduce Models on CCS 2003
26 December 07 12:31 PM | mrdecav | 2 comment(s)
After not writing anything about HPC or Windows Compute Cluster for a while, I figured its about time I write *something* about it because I've been working with it so much recently! Download the Sample Project (Visual Studio 2008, Beta 2) Windows...
WTF: "Problems" with Anonymous Delegates, LINQ, Lambdas within "foreach" or "for" Loops
19 November 07 12:30 AM | mrdecav | 1 comment(s)
Sample code available here that exemplifies this bug (requires Visual Studio 2008 Beta 2 and SQL Server). So here is an incredibly unintuitive problem I ran into with anonymous delegates (same will happen for lambda expressions ) in C# while using them...
Tricky Generics: "New" Keyword and Generics
17 November 07 12:42 AM | mrdecav | 1 comment(s)
Trying to decide how to write some unit test helper classes, I ran into an interesting question. What happens when you use the new keyword along with .NET generics? The example below shows my dilemma: 1: [TestMethod] 2: public void DoBase() 3: { 4: DoT<Base>...
WCF: ConfigurationErrorsException When Defining Behavior Extensions
06 November 07 11:16 PM | mrdecav | with no comments
Just a quick note: There is a bug that looks like it won't be fixed for a while in the configuration of the <behaviorExtensions> section of the systm.serviceModel WCF configuration. You may get the ConfigurationErrorsException when adding a...
WCF: Throwing Exceptions With WebHttpBinding
04 November 07 03:42 AM | mrdecav | 2 comment(s)
One of the very cool new features in Windows Communication Foundation is the ability to create REST or POX services. Unfortunately, you will quickly find that WebHttpBinding and WebHttpBehavior (both the binding and behavior that are used to pull off...
Strong Typed Functional Programming In C#
17 September 07 09:34 AM | mrdecav | 1 comment(s)
Functional Programming in C# Sample Solution (.NET 3.5) I had an interesting discussion the other day with a collegue at Lab49 about the uses for functional programming over object-oriented programming . Although I traditionally have been very OO-focused...
Live Updating Line Graph in WPF
26 August 07 12:14 AM | mrdecav | 11 comment(s)
See a ClickOnce (.NET 3.5) Sample Here Download the Source Code (VS 2008 Beta 2) Here A live, updating graph in Windows Presentation Foundation and .NET 3.5 is a natural use of the new framework, and is something that WPF is well suited to do. You can...
More Posts Next page »