Andre de Cavaignac

Let's blog it out...

Browse by Tags

All Tags » .NET/C# Development (RSS)
Introducing PowerShell Pages - Script Style HTML Rendering
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)
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
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
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
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
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
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
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
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
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
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
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#
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
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...
PostSharp: A .Net Post Compiler
For several months now, I've been collaborating with Josh Einstein about writing a post compiler for .NET . Our goal was quite simple: we wanted to supply the ability to generate code, such as: thorough tracing argument null checks clone implementations...
More Posts Next page »