Posts

Showing posts from October, 2010

Lambda expressions and LINQ to XML

You know you’ve become a true geek when you find yourself getting excited about Lambda expressions.  I know it’s old news to some, but I’m just posting a couple of links (no pun intended) here to remind myself of a couple of cool postings on MSDN about Functional Programming and Lambda expressions, etc.  If you’re a C# programmer and you haven’t used this feature of the C# language, you really need to take a look at it.  It makes for some very readable, very terse yet powerful code.  In my own coding I’m just scratching the surface of what’s possible here but the more I use these techniques the more I like them. Eric White’s posting on Lambda Expressions Eric White’s posting on “Query Composition using Functional Programming Techniques in C# 3.0

This application has failed to start because the application configuration is incorrect.

Image
  “Reinstalling the application may fix this problem.” Yeah, right! Here’s the scenario… you’ve written a simple console app.  It’s working fine on your test VM, which has the exact same version of Windows (e.g. Server 2003) as the customer’s test server.  You deploy it, try to run it, and you get the following cryptic message box (identifying information obfuscated here):   WTF?  You figure since it’s the same app, running under the same OS, and all you did was copy it, it must be an environmental issue, right?  But the customer verifies the .Net framework is properly installed; you even try copying the app from the problem machine to another machine in their environment; same issue; now you’re thinking maybe it’s a permissions thing, or something similar that’s preventing your app from running in their environment. You Google it (or Bing it, or whatever it is you do ;-), and, you get a million hits of hog slop, none of which helps you. You want to find out more so you g