How to unit test C# Dynamics CRM interface code

A while back I wrote a post that gave a high-level overview of some of the tools I had used at a previous job to do unit testing of Dynamics CRM interfaces code, but I didn't get into the why or how. Here is an introduction to unit testing Dynamics »

Simple C# class to populate datatable from FetchXML

I've typically preferred to access Dynamics CRM data using SQL queries, so I have never worked much with FetchXML. I've recently started working on a bit of a hobby project where it makes more sense to populate a datatable from using FetchXML than to use a SQL query, but unfortunately »

Unit testing Microsoft Dynamics CRM code

If you're developing code that runs against Dynamics CRM, you know you should be testing it, right? As a developer first and foremost, I always believed that tests and documentation got in the way of the important - and more fun - stuff, but as I transitioned into a management »

Dynamically setting field requirement levels in Microsoft Dynamics CRM

In Dynamics CRM you may have a field you want to be required some of the time, but not required, or maybe not even enabled, the rest of the time. In this post I'll show you how to dynamically enable/disable and set/unset the required attribute of CRM form »

Using internal rate of return to evaluate technology projects

One of the most basic and most important functions of technology management is to evaluate projects to determine whether your organization should invest time and resources in them. As fundamental as this function is, too many people do it the wrong way. I initially wrote a draft version of this »