March 05, 2013

IEnumerator Cloning

A word of warning. I'm about to show you something you should probably never do. I really enjoy using LINQ in C#. Much of it is founded on IQueryable and IEnumerable types. One time I was deep diving into the inner workings of enumerable types to try to find a simpler syntax to manage some complex…

Continue reading
  February 05, 2013

Hybrid Teams

I saw a lot of demand for additional developers a while ago and in an attempt to help, I wrote a potential way to expand the company's talent pool. It didn't fit the company's business approach, but I thought more people might like to see my thoughts. Feel free to critique it politely.

There is very…

Continue reading
  February 05, 2013

How to make a basic test framework in C#

Unit testing can be an excellent approach to building applications. In C#, there is a fairly standard convention that you often see. You'll often see a test structure like this:

[TestClass]
          public class UnitTest1
          {
            [TestInitialize]
            public void Setup()
            {
            }
            [TestMethod]
            public void TestMethod1()
            {
            }
          }…
Continue reading
  January 14, 2013

WPF Binding Errors

I find the binding aspect of WPF to be very powerful. There's one part that I found challenging. If the binding wasn't just right, the problem wouldn't be obvious. If I make a typo when binding to a property, I like it to be painfully obvious. So, the project now displays a message box if there was…

Continue reading
  January 11, 2013

Mustache

I saw an interesting approach to view rendering. Often in web projects, the template or views will grow to include many conditionals. You will start to see conditions littered about. Some get to contain logic like this:

<% If (someObject.Count() > 0) { %>
            <div>Something...</div>
          <% } %>
          

Enter…

Continue reading
Older Newer