Find Debug Assemblies using Glimpse

Find Debug Assemblies using Glimpse

A new feature in Glimpse.AspNet 1.9.2 will display whether each assembly in your web site’s bin folder was compiled in Debug or Release mode. At development time, Debug mode is fine, but you want to avoid shipping Debug assemblies to production since there are performance costs associated with these assemblies.  You can determine for yourself whether […]

DogFoodCon Session on DDD with ASP.NET MVC

Yesterday I presented at DogFoodCon, giving a slightly modified version of a talk I gave a week earlier atFalafelCON in San Francisco.  The session provides those with little knowledge of Domain-Driven Design with a rapid overview of some key concepts and patterns used in DDD, and wraps up with a brief demo of a simple […]

Finding Copies of Images Online

Finding Copies of Images Online

Obviously it’s very easy to download and reuse images on the Internet. However, if your business depends on such intellectual property, you may need to take steps to prevent unauthorized usage of your images. There are many ways you can mark your images to later prove they are yours – that’s a topic for another […]

Anthropomorphism Raised to Organizationalism

Recently on twitter, Michael Feathers raised some interesting points about how the media tends to naturally group individuals together, especially “on the Internet”: We need a word for swarms of people who coordinate over the Internet. The media refers to them as organizations with members. — Michael Feathers (@mfeathers) August 15, 2014 The media gets […]

Logging in Entity Framework

Logging in Entity Framework

When working with any ORM tool, it can sometimes be helpful to see just what, exactly, is being sent to the underlying data store.  This can help identify bugs as well as performance issues in how the query is being performed (or how many queries are being performed, in the case of SELECT N+1 problems).  […]

Getting Started with Castle Windsor

Getting Started with Castle Windsor

My preferred IoC container is StructureMap, but I’m going to be working with a client who uses Castle Windsor as their standard container, so I decided to learn a bit about it this week. I created a simple console application and included some interfaces and implementations to see how things work. Registering individual interfaces and […]

JavaScript Date Tips

The other night at the Hudson Software Craftsmanship meeting at the Falafel Software training center in Hudson, Ohio, I did the Red Pencil Kata using JavaScript. Although I’ve run into it in the past, I was stuck for a little while (I was the odd man out without a pairing partner to help find these […]

Where to Declare Variables in C# and JavaScript

Both JavaScript and C# belong to the C family of languages. They share curly braces and semi-colons, and in fact there are many cases where the exact same code will execute (correctly, in most cases) as either language. However, there are certain best practices that are unique to each language, and where variables should be […]

Ensure You Are Not Adding To Global Scope in JavaScript

A key best practice if you’re writing JavaScript code is to avoid adding objects to the global scope. There are several good reasons for this – globals add coupling, it makes it easier for disparate libraries to break one another, etc. A general rule of programming is to avoid global scope, in fact. Unfortunately, JavaScript […]