<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>c-sharp on Alexander Development</title><link>https://alexanderdevelopment.net/tag/c-sharp/</link><description>Recent content in c-sharp on Alexander Development</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Thu, 05 Jul 2018 17:28:47 +0000</lastBuildDate><atom:link href="https://alexanderdevelopment.net/tag/c-sharp/index.xml" rel="self" type="application/rss+xml"/><item><title>Building a custom Dynamics 365 data interface with OpenFaaS</title><link>https://alexanderdevelopment.net/post/2018/07/05/building-a-custom-dynamics-365-data-interface-with-openfaas/</link><pubDate>Thu, 05 Jul 2018 17:28:47 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2018/07/05/building-a-custom-dynamics-365-data-interface-with-openfaas/</guid><description>Over the past several months, I&amp;rsquo;ve been doing a lot of work with OpenFaaS in my spare time, and in today&amp;rsquo;s post I will show how you can use it to easily build and deploy a custom web service interface for data in a Dynamics 365 Customer Engagement online tenant.</description></item><item><title>Using Dynamics 365 virtual entities to show data from an external organization</title><link>https://alexanderdevelopment.net/post/2018/05/28/using-dynamics-365-virtual-entities-to-show-data-from-an-external-organization/</link><pubDate>Mon, 28 May 2018 12:55:09 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2018/05/28/using-dynamics-365-virtual-entities-to-show-data-from-an-external-organization/</guid><description>I was recently asked to be a guest on the third-anniversary episode of the CRM Audio podcast. While I was there George Doubinski challenged me to create a plugin in one Dynamics 365 organization to retrieve records from another Dynamics 365 organization so they could be displayed as virtual entities. I was promised adulation on Dynamics CRM Tip of the Day and fame beyond my wildest dreams, so naturally I accepted.</description></item><item><title>Using ML.NET in an OpenFaaS function</title><link>https://alexanderdevelopment.net/post/2018/05/18/using-ml-net-in-an-openfaas-function/</link><pubDate>Fri, 18 May 2018 03:20:22 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2018/05/18/using-ml-net-in-an-openfaas-function/</guid><description>Last week at its annual Build conference, Microsoft announced ML.NET, an &amp;ldquo;open source and cross-platform machine learning framework&amp;rdquo; that runs in .NET Core. I took a look at the getting started samples and realized ML.NET would be a great tool to use in OpenFaas functions.
I decided to write a proof-of-concept function based on the ML.</description></item><item><title>Building a simple service relay for Dynamics 365 CE with RabbitMQ and Python - part 4</title><link>https://alexanderdevelopment.net/post/2018/02/08/building-a-simple-service-relay-for-dynamics-365-ce-with-rabbitmq-and-python-part-4/</link><pubDate>Thu, 08 Feb 2018 04:00:42 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2018/02/08/building-a-simple-service-relay-for-dynamics-365-ce-with-rabbitmq-and-python-part-4/</guid><description>This is the final post in my series about building a service relay for Dynamics 365 CE with RabbitMQ and Python. In my previous post in this series, I showed the Python code to make the service relay work. In today&amp;rsquo;s post, I will show how you can use Azure Functions to make a consumer service proxy using C# so client applications don&amp;rsquo;t have to access to your RabbitMQ broker directly, and I will also discuss some general thoughts on security and scalability for this service relay architecture.</description></item><item><title>A Dynamics 365 local message listener for web client notifications - part 2</title><link>https://alexanderdevelopment.net/post/2017/07/21/a-dynamics-365-local-message-listener-for-web-client-notifications-part-2/</link><pubDate>Fri, 21 Jul 2017 12:30:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2017/07/21/a-dynamics-365-local-message-listener-for-web-client-notifications-part-2/</guid><description>In part one of this series, I discussed an approach for passing notifications from local applications to the Dynamics 365 web client through a message listener process that runs on an end user&amp;rsquo;s PC. Today I will show the code I used to build the message listener and the code to consume notifications in Dynamics 365.</description></item><item><title>Scheduling Dynamics 365 workflows with Azure Functions and C#</title><link>https://alexanderdevelopment.net/post/2016/11/30/scheduling-dynamics-365-workflows-with-azure-functions-and-csharp/</link><pubDate>Wed, 30 Nov 2016 02:00:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2016/11/30/scheduling-dynamics-365-workflows-with-azure-functions-and-csharp/</guid><description>Over the past few days, I&amp;rsquo;ve shared two approaches for scheduling Dynamics 365 workflows using Azure Functions and the Dynamics 365 Web API. One uses Node.js, and the other uses Python. Because most Dynamics CRM developers are probably more familiar with C# than Node.js or Python, I also created an equivalent C# version.</description></item><item><title>Updated solution for scheduling recurring Dynamics CRM workflows</title><link>https://alexanderdevelopment.net/post/2016/09/19/updated-solution-for-scheduling-recurring-dynamics-crm-workflows/</link><pubDate>Mon, 19 Sep 2016 21:07:07 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2016/09/19/updated-solution-for-scheduling-recurring-dynamics-crm-workflows/</guid><description>About three years ago I released an open source Dynamics CRM solution for scheduling and executing recurring workflows. My solution would execute a FetchXML query to return a set of records and then start a workflow for each of those records without requiring any external processes or tools. This is a generalized approach to solving a class of problems that includes the following scenarios:</description></item><item><title>Get next case functionality for Dynamics CRM</title><link>https://alexanderdevelopment.net/post/2015/10/02/get-next-case-functionality-for-dynamics-crm/</link><pubDate>Fri, 02 Oct 2015 02:13:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2015/10/02/get-next-case-functionality-for-dynamics-crm/</guid><description>Dynamics CRM offers sophisticated tools for working with cases and service queues, but sometimes users just want a quick and simple way to get the next case to work. In today&amp;rsquo;s post, I&amp;rsquo;ll share an easy way to implement this functionality in your Dynamics CRM organization.
There are three components to my approach:</description></item><item><title>Using RabbitMQ as a message broker in Dynamics CRM data interfaces – part 5</title><link>https://alexanderdevelopment.net/post/2015/01/27/using-rabbitmq-as-a-message-broker-in-dynamics-crm-data-interfaces-part-5/</link><pubDate>Tue, 27 Jan 2015 18:00:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2015/01/27/using-rabbitmq-as-a-message-broker-in-dynamics-crm-data-interfaces-part-5/</guid><description>This the final post in my five-part series on creating loosely coupled data interfaces for Dynamics CRM using RabbitMQ. In part 3 and part 4 I showed two approaches for building a Dynamics CRM plug-in that publishes notification messages to a RabbitMQ exchange. In today’s post I will show how to create a Windows console application that reads messages from a queue and writes the data to Dynamics CRM.</description></item><item><title>Using RabbitMQ as a message broker in Dynamics CRM data interfaces – part 4</title><link>https://alexanderdevelopment.net/post/2015/01/22/using-rabbitmq-as-a-message-broker-in-dynamics-crm-data-interfaces-part-4/</link><pubDate>Thu, 22 Jan 2015 18:00:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2015/01/22/using-rabbitmq-as-a-message-broker-in-dynamics-crm-data-interfaces-part-4/</guid><description>Welcome back to my five-part series on creating loosely coupled data interfaces for Dynamics CRM using RabbitMQ. In my last post I showed how to build a Dynamics CRM plug-in that publishes notification messages to a RabbitMQ exchange using the official RabbitMQ .Net client library. Unfortunately, that plug-in can’t successfully communicate with a RabbitMQ server if it’s executed inside the Dynamics CRM sandbox, so in today’s post I will show how to achieve the same results with a sandboxed plug-in.</description></item><item><title>Using RabbitMQ as a message broker in Dynamics CRM data interfaces – part 3</title><link>https://alexanderdevelopment.net/post/2015/01/20/using-rabbitmq-as-a-message-broker-in-dynamics-crm-data-interfaces-part-3/</link><pubDate>Tue, 20 Jan 2015 18:00:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2015/01/20/using-rabbitmq-as-a-message-broker-in-dynamics-crm-data-interfaces-part-3/</guid><description>This is the third post of a five-part series on creating loosely coupled data interfaces for Dynamics CRM using RabbitMQ. Last time I showed how to install and configure a RabbitMQ server to support passing messages to and from Dynamics CRM. Today I will show how to build a Dynamics CRM plug-in that publishes notification messages to a RabbitMQ exchange using the official RabbitMQ .</description></item><item><title>Using RabbitMQ as a message broker in Dynamics CRM data interfaces – part 2</title><link>https://alexanderdevelopment.net/post/2015/01/14/using-rabbitmq-as-a-message-broker-in-dynamics-crm-data-interfaces-part-2/</link><pubDate>Wed, 14 Jan 2015 18:00:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2015/01/14/using-rabbitmq-as-a-message-broker-in-dynamics-crm-data-interfaces-part-2/</guid><description>Welcome back to this five-part series on creating loosely coupled data interfaces for Dynamics CRM using RabbitMQ. In my last post I discussed why you would want to incorporate a message broker into your Dynamics CRM data interfaces, and today I will show how to install and configure RabbitMQ to support the examples I’ll be presenting in the rest of the series.</description></item><item><title>Using RabbitMQ as a message broker in Dynamics CRM data interfaces – part 1</title><link>https://alexanderdevelopment.net/post/2015/01/12/using-rabbitmq-as-a-message-broker-in-dynamics-crm-data-interfaces-part-1/</link><pubDate>Mon, 12 Jan 2015 18:00:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2015/01/12/using-rabbitmq-as-a-message-broker-in-dynamics-crm-data-interfaces-part-1/</guid><description>One of the things I love about Dynamics CRM is how easy it is to create data interfaces to enable integration with other systems. If you’ve worked with Dynamics CRM for any length of time, you’ve probably seen multiple web service integrations that enable interoperability with other line-of-business and legacy systems.</description></item><item><title>Console application for moving Dynamics CRM access team templates</title><link>https://alexanderdevelopment.net/post/2014/12/13/console-application-for-moving-dynamics-crm-access-team-templates/</link><pubDate>Sat, 13 Dec 2014 00:00:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2014/12/13/console-application-for-moving-dynamics-crm-access-team-templates/</guid><description>When Dynamics CRM 2013 was released, I thought access teams were the new killer feature in that version, and I even developed custom workflow activity code to make managing access team membership easier by using connection records. I have thus far not had an opportunity to use access teams in a real project, so I was disappointed to read this blog post by Ben Hosking (AKA &amp;ldquo;The Hosk&amp;rdquo;) about how Microsoft doesn&amp;rsquo;t provide any out-of-the-box capabilities for moving access team templates between Dynamics CRM organizations.</description></item><item><title>Creating a near real-time streaming interface for Dynamics CRM with Node.js – part 4</title><link>https://alexanderdevelopment.net/post/2014/12/11/creating-a-near-real-time-streaming-interface-for-dynamics-crm-with-node-js-part-4/</link><pubDate>Thu, 11 Dec 2014 18:00:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2014/12/11/creating-a-near-real-time-streaming-interface-for-dynamics-crm-with-node-js-part-4/</guid><description>This is the final post in my four-part series about creating a near real-time streaming interface for Microsoft Dynamics CRM using Node.js and Socket.IO. In my last post I showed how to write the plug-in code to send messages from CRM to the Node.js application. In today’s post I will show how to configure a client to receive and process notifications from the Node.</description></item><item><title>Creating a near real-time streaming interface for Dynamics CRM with Node.js – part 3</title><link>https://alexanderdevelopment.net/post/2014/12/09/creating-a-near-real-time-streaming-interface-for-dynamics-crm-with-node-js-part-3/</link><pubDate>Tue, 09 Dec 2014 18:00:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2014/12/09/creating-a-near-real-time-streaming-interface-for-dynamics-crm-with-node-js-part-3/</guid><description>This is the third post in my four-part series about creating a near real-time streaming interface for Microsoft Dynamics CRM using Node.js and Socket.IO. In my last post I showed how to create the Node.js component of the solution to process messages received from Dynamics CRM and send notifications to connected clients.</description></item><item><title>Creating a near real-time streaming interface for Dynamics CRM with Node.js – part 2</title><link>https://alexanderdevelopment.net/post/2014/12/05/creating-a-near-real-time-streaming-interface-for-dynamics-crm-with-node-js-part-2/</link><pubDate>Fri, 05 Dec 2014 18:00:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2014/12/05/creating-a-near-real-time-streaming-interface-for-dynamics-crm-with-node-js-part-2/</guid><description>This is the second post in my four-part series about creating a near real-time streaming interface for Microsoft Dynamics CRM using Node.js and Socket.IO. In my last post I presented an overview of how a near real-time streaming interface can be used with Dynamics CRM, and I discussed the solution approach.</description></item><item><title>Creating a near real-time streaming interface for Dynamics CRM with Node.js – part 1</title><link>https://alexanderdevelopment.net/post/2014/12/03/creating-a-near-real-time-streaming-interface-for-dynamics-crm-with-node-js-part-1/</link><pubDate>Wed, 03 Dec 2014 18:00:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2014/12/03/creating-a-near-real-time-streaming-interface-for-dynamics-crm-with-node-js-part-1/</guid><description>Welcome to a four-part series about creating a near real-time streaming interface for Microsoft Dynamics CRM using Node.js and Socket.IO.
In today’s post I will present an overview of how a near real-time streaming interface can be used with Dynamics CRM, and I will discuss the solution approachIn the second post, I will show how to create the Node.</description></item><item><title>Managing Microsoft Dynamics CRM 2013 access team membership using connections</title><link>https://alexanderdevelopment.net/post/2014/01/09/managing-microsoft-dynamics-crm-2013-access-team-membership-using-connections-2/</link><pubDate>Thu, 09 Jan 2014 18:00:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2014/01/09/managing-microsoft-dynamics-crm-2013-access-team-membership-using-connections-2/</guid><description>Dynamics CRM 2013 includes a great new feature called access teams, which makes ad-hoc sharing of records much easier than in previous versions. The basic idea is that an administrator can create one or more team templates for an entity that function sort of like security roles, but for a specific record.</description></item><item><title>Unit testing custom Microsoft Dynamics CRM code – Part 7 (web requests)</title><link>https://alexanderdevelopment.net/post/2013/10/24/unit-testing-custom-microsoft-dynamics-crm-code-part-7-web-requests/</link><pubDate>Thu, 24 Oct 2013 00:00:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2013/10/24/unit-testing-custom-microsoft-dynamics-crm-code-part-7-web-requests/</guid><description>One of the main points of all my unit testing posts is that unit tests should be written so that you can test your code without needing to rely on external resources, and, we&amp;rsquo;ve been able to use Moq as a stand-in for Dynamics CRM’s related services without too much trouble.</description></item><item><title>Unit testing custom Microsoft Dynamics CRM code – Part 8 (exception raising)</title><link>https://alexanderdevelopment.net/post/2013/10/24/unit-testing-custom-microsoft-dynamics-crm-code-part-8-exception-raising/</link><pubDate>Thu, 24 Oct 2013 00:00:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2013/10/24/unit-testing-custom-microsoft-dynamics-crm-code-part-8-exception-raising/</guid><description>This is the final post in my series on unit testing custom Microsoft Dynamics CRM code in which I&amp;rsquo;ve been showing how you can unit test custom C# code that interacts with Microsoft Dynamics CRM using Visual Studio&amp;rsquo;s unit testing tools and Moq. We&amp;rsquo;ve looked at several different scenarios thus far, but none of them included the method under test throwing an exception.</description></item><item><title>Unit testing custom Microsoft Dynamics CRM code – Part 6 (plug-ins)</title><link>https://alexanderdevelopment.net/post/2013/10/21/unit-testing-custom-microsoft-dynamics-crm-code-part-6-plug-ins/</link><pubDate>Mon, 21 Oct 2013 00:00:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2013/10/21/unit-testing-custom-microsoft-dynamics-crm-code-part-6-plug-ins/</guid><description>In my last post, I showed how to unit test a Microsoft Dynamics CRM custom workflow activity using Visual Studio and Moq. In this post I will show you how to unit test a Dynamics CRM plug-in. For this example we&amp;rsquo;ll be using the sample FollowupPlugin class in the CRM 2011 SDK, but the principles I will demonstrate are applicable to any plug-in.</description></item><item><title>Unit testing custom Microsoft Dynamics CRM code – Part 5 (custom workflow activities)</title><link>https://alexanderdevelopment.net/post/2013/10/17/unit-testing-custom-microsoft-dynamics-crm-code-part-5/</link><pubDate>Thu, 17 Oct 2013 18:00:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2013/10/17/unit-testing-custom-microsoft-dynamics-crm-code-part-5/</guid><description>In the last three posts of this series, I showed how to unit test Microsoft Dynamics CRM C# interfaces code with mock objects using Visual Studio 2012 and Moq. In this post, I will show how to unit test custom workflow activities that are executed by Dynamics CRM processes. I will be using the regular expression validation custom workflow activity I showed in my &amp;ldquo;Using regular expressions in Dynamics CRM 2011 processes&amp;rdquo; post.</description></item><item><title>Unit testing custom Microsoft Dynamics CRM code – Part 4 (using a wrapper class)</title><link>https://alexanderdevelopment.net/post/2013/10/17/unit-testing-custom-microsoft-dynamics-crm-code-part-4/</link><pubDate>Thu, 17 Oct 2013 17:00:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2013/10/17/unit-testing-custom-microsoft-dynamics-crm-code-part-4/</guid><description>In parts two and three of this series, I gave an introduction to unit testing Dynamics CRM C# interfaces code with mock objects using Visual Studio 2012 and Moq, and I showed code samples for a couple of different scenarios. In this post I will show how to work with CRM metadata (optionset values, statuscode values, etc.</description></item><item><title>Unit testing custom Microsoft Dynamics CRM code – Part 3 (intermediate interface example)</title><link>https://alexanderdevelopment.net/post/2013/10/10/unit-testing-custom-microsoft-dynamics-crm-code-part-3/</link><pubDate>Thu, 10 Oct 2013 00:00:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2013/10/10/unit-testing-custom-microsoft-dynamics-crm-code-part-3/</guid><description>In my last post I gave an introduction to unit testing Dynamics CRM C# interfaces code with mock objects using Visual Studio 2012 and Moq. The sample code in that post was extremely simple, so I wanted to follow up with a more complex example that shows how to test multiple calls to the CRM web service instead of just a single one.</description></item><item><title>Unit testing custom Microsoft Dynamics CRM code – Part 2 (simple interface example)</title><link>https://alexanderdevelopment.net/post/2013/10/09/unit-testing-custom-microsoft-dynamics-crm-code-part-2/</link><pubDate>Wed, 09 Oct 2013 00:00:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2013/10/09/unit-testing-custom-microsoft-dynamics-crm-code-part-2/</guid><description>In my last post I explained why you should unit test your Dynamics CRM-facing code using frameworks to handle both testing automation and mock objects. In this post, I&amp;rsquo;m going to provide an overview of how to get started.
As I mentioned last time, we&amp;rsquo;ll be using the unit testing tools included in Visual Studio 2012 for the unit testing automation and Moq for the object mocking.</description></item><item><title>Unit testing custom Microsoft Dynamics CRM code – Part 1 (series introduction)</title><link>https://alexanderdevelopment.net/post/2013/10/02/unit-testing-custom-microsoft-dynamics-crm-code-part-1/</link><pubDate>Wed, 02 Oct 2013 00:00:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2013/10/02/unit-testing-custom-microsoft-dynamics-crm-code-part-1/</guid><description>When writing custom code that interacts with Microsoft Dynamics CRM, it is important to:
Unit test your code Use an automated unit testing framework to automate your unit tests Write unit tests that do not depend on external resources such as a Microsoft Dynamics CRM application server or SQL Server Over the course of my next several posts, I&amp;rsquo;ll be showing you some best practices for unit testing Dynamics CRM-facing code using Visual Studio unit testing tools and the Moq object mocking library.</description></item><item><title>Extracting data with regular expressions in Microsoft Dynamics CRM 2011 processes</title><link>https://alexanderdevelopment.net/post/2013/09/09/extracting-data-with-regular-expressions-in-microsoft-dynamics-crm-2011-processes-2/</link><pubDate>Mon, 09 Sep 2013 13:00:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2013/09/09/extracting-data-with-regular-expressions-in-microsoft-dynamics-crm-2011-processes-2/</guid><description>In last week’s blog post, I showed how to use regular expressions in Microsoft Dynamics CRM 2011 processes for data validation. Today I&amp;rsquo;ll show you how you can use a similar approach to parse text and extract matching strings using regular expressions in a Dynamics CRM 2011 process.
If you&amp;rsquo;re unfamiliar with regular expressions, I recommend you take a look at my earlier post for an idea of how they work.</description></item><item><title>Using regular expressions in Dynamics CRM 2011 processes</title><link>https://alexanderdevelopment.net/post/2013/09/03/using-regular-expressions-in-dynamics-crm-2011-processes-2/</link><pubDate>Tue, 03 Sep 2013 05:00:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2013/09/03/using-regular-expressions-in-dynamics-crm-2011-processes-2/</guid><description>Regular expressions offer programmers an easy way to validate strings in many programming languages. In this post, I will show how you can add regular expression validation capabilities to Dynamics CRM 2011 processes.
Regular expressions overview
First, for those who may not be familiar with regular expressions, let me offer a brief example of what kinds of problems they can solve.</description></item><item><title>Custom identity class to represent Dynamics CRM users in WCF services</title><link>https://alexanderdevelopment.net/post/2013/08/26/custom-identity-class-to-represent-dynamics-crm-users-in-wcf-services/</link><pubDate>Mon, 26 Aug 2013 13:00:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2013/08/26/custom-identity-class-to-represent-dynamics-crm-users-in-wcf-services/</guid><description>A few weeks ago I wrote a post called &amp;ldquo;Custom WCF service authentication using Microsoft Dynamics CRM credentials&amp;rdquo; in which I showed how to secure Windows Communication Foundation (WCF) web services using Dynamics CRM usernames and passwords. In that post, I used a GenericIdentity object to store the CRM user information, but unfortunately the GenericIdentity class is extremely limited in the amount of user-related information it can hold, so in this post I will show how to create and use a custom identity object to represent CRM users.</description></item><item><title>Diesel Xrm Service Wrapper Now on GitHub</title><link>https://alexanderdevelopment.net/post/2013/08/05/diesel-xrm-service-wrapper-now-on-github/</link><pubDate>Mon, 05 Aug 2013 00:00:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2013/08/05/diesel-xrm-service-wrapper-now-on-github/</guid><description>Last week I wrote a post called &amp;ldquo;Introducing the Diesel Xrm Service Wrapper,&amp;rdquo; in which I presented a generic WCF wrapper for the Dynamics CRM Organization Service. Almost immediately I had several ideas about updates I wanted to make, so I&amp;rsquo;ve decided to host the project on GitHub. The project GitHub page is here, and you can find the code repository here.</description></item><item><title>Custom WCF service authentication using Microsoft Dynamics CRM credentials</title><link>https://alexanderdevelopment.net/post/2013/08/01/custom-wcf-service-authentication-using-microsoft-dynamics-crm-credentials-2/</link><pubDate>Thu, 01 Aug 2013 22:03:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2013/08/01/custom-wcf-service-authentication-using-microsoft-dynamics-crm-credentials-2/</guid><description>Enterprise Microsoft Dynamics CRM implementations frequently require developing custom Windows Communication Foundation (WCF) web services to be used for integration with external systems. Typical use cases for custom web services would include situations in which a consuming system can&amp;rsquo;t easily access the Dynamics CRM Organization Service, or a custom service is required to do some data processing above and beyond the capabilities of the CRM Organization Service.</description></item><item><title>Introducing the Diesel Xrm Service Wrapper</title><link>https://alexanderdevelopment.net/post/2013/07/31/introducing-the-diesel-xrm-service-wrapper/</link><pubDate>Wed, 31 Jul 2013 00:00:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2013/07/31/introducing-the-diesel-xrm-service-wrapper/</guid><description>In this post, I will present a generic Windows Communication Foundation (WCF) wrapper for the Dynamics CRM Organization Service that lets you turn any FetchXML query into a web service interface without needing to write any code at all. I call my solution the Diesel Xrm Service Wrapper after Diesel, my Great Dane.</description></item><item><title>A Data Snapshot Framework for Dynamics CRM</title><link>https://alexanderdevelopment.net/post/2013/07/24/data-snapshot-framework-for-dynamics-crm/</link><pubDate>Wed, 24 Jul 2013 00:00:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2013/07/24/data-snapshot-framework-for-dynamics-crm/</guid><description>Although Dynamics CRM offers several different ways to report on data stored in the system, there is no out-of-the-box mechanism for reporting on how data changes over time. That is to say, while you can easily report on how many active accounts are owned by a particular sales rep today, you can&amp;rsquo;t report on how the number of active account compares to last week, last month or even just yesterday.</description></item><item><title>Scheduling recurring Dynamics CRM workflows with FetchXML</title><link>https://alexanderdevelopment.net/post/2013/05/19/scheduling-recurring-dynamics-crm-workflows-with-fetchxml/</link><pubDate>Sun, 19 May 2013 00:00:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2013/05/19/scheduling-recurring-dynamics-crm-workflows-with-fetchxml/</guid><description>In today&amp;rsquo;s post I will show how to set up a recurring process in Dynamics CRM that executes a FetchXML query to return a set of records and then starts a workflow for each of those records without requiring any external processes or tools. This is a generalized approach to solving a class of problems that includes the following scenarios:</description></item><item><title>Updated "Unit testing Dynamics CRM C# interfaces code using NUnit and Moq" code sample</title><link>https://alexanderdevelopment.net/post/2013/05/01/updated-unit-testing-dynamics-crm-c-interfaces-code-using-nunit-and-moq-code-sample/</link><pubDate>Wed, 01 May 2013 00:00:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2013/05/01/updated-unit-testing-dynamics-crm-c-interfaces-code-using-nunit-and-moq-code-sample/</guid><description>Back in January, after I published my How to unit test C# Dynamics CRM interface code - part III post on how to use NUnit and Moq to test Dynamics CRM interfacing code, I uploaded my project files to the MSDN code gallery. Earlier this week I revisited my original solution while preparing a demo for some of my colleagues.</description></item><item><title>Documenting a Dynamics CRM custom workflow activity with Doxygen</title><link>https://alexanderdevelopment.net/post/2013/04/30/documenting-dynamics-crm-interfacing-code-with-doxygen/</link><pubDate>Tue, 30 Apr 2013 00:00:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2013/04/30/documenting-dynamics-crm-interfacing-code-with-doxygen/</guid><description>In this post I will show how to document a Dynamics CRM 2011 custom workflow activity assembly and use Doxygen to generate a compiled HTML (CHM) help file. (Doxygen can actually generate documentation in a variety of different formats, but I&amp;rsquo;m partial to CHM files because they&amp;rsquo;re entirely self-contained.) For this example, I have a project that consists of these three C# files:</description></item><item><title>Posting/processing JSON in a Dynamics CRM 2011 custom workflow activity</title><link>https://alexanderdevelopment.net/post/2013/04/22/postingprocessing-json-in-a-crm-2011-custom-workflow-activity/</link><pubDate>Mon, 22 Apr 2013 00:00:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2013/04/22/postingprocessing-json-in-a-crm-2011-custom-workflow-activity/</guid><description>With the proliferation of RESTful APIs, JSON is frequently used as a message format for interoperability. My MSDN &amp;ldquo;Posting/processing JSON in a CRM 2011 custom workflow activity&amp;rdquo; code sample shows how to POST JSON messages to a REST endpoint and process the response in a Dynamics CRM custom workflow activity.</description></item><item><title>Sending SMS messages and making robocalls from Dynamics CRM</title><link>https://alexanderdevelopment.net/post/2013/04/21/sending-sms-messages-and-making-robocalls-from-dynamics-crm/</link><pubDate>Sun, 21 Apr 2013 00:00:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2013/04/21/sending-sms-messages-and-making-robocalls-from-dynamics-crm/</guid><description>In this post I will show how to send SMS messages and make automated phone calls from Dynamics CRM using Tropo, a cloud voice and SMS messaging API. Tropo is not the only player in this space, but I think it has the best set of features, and it&amp;rsquo;s completely free to use in development.</description></item><item><title>Displaying Dynamics CRM FetchXML results in ASPX with XSLT</title><link>https://alexanderdevelopment.net/post/2013/02/27/displaying-dynamics-crm-fetchxml-results-xslt/</link><pubDate>Wed, 27 Feb 2013 00:00:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2013/02/27/displaying-dynamics-crm-fetchxml-results-xslt/</guid><description>Last week I wrote a post that showed how to retrive the raw SOAP response from a Dynamics CRM query in C#, but I didn&amp;rsquo;t show how to do anything useful with it. In today&amp;rsquo;s post I will show a practical example of how to execute a FetchXML request against a Dynamics CRM instance, capture the raw SOAP response and transform it with XSLT for display in an ASPX page.</description></item><item><title>Accessing raw SOAP requests/responses from Dynamics CRM web services in C#</title><link>https://alexanderdevelopment.net/post/2013/02/21/accessing-raw-soap-requests-responses-from-dynamics-crm-web-services-in-c/</link><pubDate>Thu, 21 Feb 2013 00:00:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2013/02/21/accessing-raw-soap-requests-responses-from-dynamics-crm-web-services-in-c/</guid><description>One of the things I have always found frustrating about WCF is that it effectively hides the actual SOAP message XML requests and responses in web service calls. From a Dynamics CRM perspective, I can think of at least three good reasons it would be nice to be able to access the raw XML generated and consumed by clients built with the SDK:</description></item><item><title>Misadventures with CRM 2011 web services and ADFS</title><link>https://alexanderdevelopment.net/post/2013/02/17/misadventures-with-crm-2011-web-services-and-adfs/</link><pubDate>Sun, 17 Feb 2013 00:00:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2013/02/17/misadventures-with-crm-2011-web-services-and-adfs/</guid><description>I think the Dynamics CRM 2011 SDK is swell for interoperability, but I wanted to get a closer look at how the actual web service calls work, so I decided to access the sandbox CRM instance my company provides using a WSDL-based proxy as described here. Because the SDK has several examples for connecting to CRM instances using different kinds of authentication in the SDK\SampleCode\CS\WsdlBasedProxies directory, I figured this would be a piece of cake.</description></item><item><title>How to unit test C# Dynamics CRM interface code - part III</title><link>https://alexanderdevelopment.net/post/2013/01/13/how-to-unit-test-c-dynamics-crm-interface-code-part-iii/</link><pubDate>Sun, 13 Jan 2013 00:00:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2013/01/13/how-to-unit-test-c-dynamics-crm-interface-code-part-iii/</guid><description>In parts one and two of this series, I gave an introduction to unit testing Dynamics CRM C# interfaces code with mock objects using NUnit and Moq, and I showed code samples for a couple of different scenarios. In this post I will show how to work with CRM metadata (optionset values, statuscode values, etc.</description></item><item><title>How to unit test C# Dynamics CRM interface code - part II</title><link>https://alexanderdevelopment.net/post/2013/01/09/how-to-unit-test-c-dynamics-crm-interface-code-part-ii/</link><pubDate>Wed, 09 Jan 2013 00:00:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2013/01/09/how-to-unit-test-c-dynamics-crm-interface-code-part-ii/</guid><description>Earlier this week I wrote a post that gave an introduction to unit testing Dynamics CRM C# interfaces code with mock objects using NUnit and Moq. The sample code in that post was extremely simple, so I wanted to follow up with a more complex example that shows how to test multiple calls to the CRM web service instead of just a single one.</description></item><item><title>How to unit test C# Dynamics CRM interface code</title><link>https://alexanderdevelopment.net/post/2013/01/06/how-to-unit-test-c-sharp-dynamics-crm-interfaces-code/</link><pubDate>Sun, 06 Jan 2013 00:00:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2013/01/06/how-to-unit-test-c-sharp-dynamics-crm-interfaces-code/</guid><description>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&amp;rsquo;t get into the why or how. Here is an introduction to unit testing Dynamics CRM code using an automated unit testing framework and a mock object framework.</description></item><item><title>Simple C# class to populate datatable from FetchXML</title><link>https://alexanderdevelopment.net/post/2012/12/29/simple-c-class-to-populate-datatable-from-fetch-xml/</link><pubDate>Sat, 29 Dec 2012 00:00:00 +0000</pubDate><guid>https://alexanderdevelopment.net/post/2012/12/29/simple-c-class-to-populate-datatable-from-fetch-xml/</guid><description>I&amp;rsquo;ve typically preferred to access Dynamics CRM data using SQL queries, so I have never worked much with FetchXML. I&amp;rsquo;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 I have encountered three differences between FetchXML and direct SQL that I don&amp;rsquo;t particularly like:</description></item></channel></rss>