Posts tagged with this topic.
Apr 25, 2020
This tutorial will show you how to create the Dynamics CRM CE Plugin using the Test-Driven-Development (TDD) process. I try to make this as a series (from Easy, Intermediate, and Advanced). I will not explain about basic of the definition of TDD because there are lots of...
Aug 5, 2019
The extension method in C#, VB, or F# is a static method that accepts this modifier of TInput. The method can be either void or return value. From the MSDN definition, Extension methods enable you to "add" methods to existing types without creating a new derived type,...
Jul 18, 2019
Dependency Injection is a pattern that has already been proven to ease of our development. I remember a quote that you sure already heard: "Program to an interface, not an implementation". Why is it important to rely on the interface instead of the implementation class? The...
Dec 11, 2018
In my company where I work, we have a custom program that will process big load data. Per running, it can process around 50.000 records. The average finished can be more than 3 hours ++. After I check, one of the things that make this slowness is because of the retrieving...
Nov 29, 2018
One of the basic tasks that usually I do is getting data from the database, changing it into another object, and then processing it.For instance, if you have this data: var details = new[] { new Person {TypeId = 1, Name = "Dafid", Amount = 1000m}, new Person {TypeId = 1, Name =...
Sep 12, 2018
I had one requirement to send an email daily for every case that was created and still in the stage of investigation/re-investigation state. Before this customization is used in workflow but somehow the performance is not too good and I change it into the plugin. Create Email...
Aug 17, 2018
If you are a Dynamic CRM Developer, you need to know the importance of Dynamic CRM Plugin's stages. We know there are 4 stages for the Dynamic CRM Plugin Stage (3 we can custom, and 1 is the Dynamic CRM main operation): Pre-validation (outside the database transaction): avoid...
Jul 25, 2018
SOC (Separation of Concerns) is one of the best Design Patterns that I love so much. Using this design pattern, I found it easier for me to identify bugs in my code. When developing Javascript code on Dynamic CRM, I will separate my concerns into three parts: Events: Bridge from...
May 18, 2018
Now we prepare our WCF Service first. I created a new WCF Application Service. Then for demo purposes, I create a simple method for returning dummy data: [code language="csharp"] public MemberValue[] Test(int number) { return new[] { new MemberValue { Member = "Temmy", Status =...
May 5, 2018
Have you ever been curious why sometimes your plugins run very slow? Then you wonder where are the critical operations that make all of the operations slower? Of course, you can investigate this in many ways: from a database server perspective, network, etc. Today I want to share...