C#

Posts in this category.

Dynamics CRM 365 Tips: Easy Way to Get AliasedValue

Jan 29, 2021

Have you ever joined multiple tables when retrieving your data in the plugin? If so, most likely you already know what AliasedValue is all about. This post will describe when and how you can use AliasedValue. But the objective of this post is to make a simple extension to consume...

Creating Better PCF Component – Part 2

Nov 23, 2020

When I was writing this post, I felt the environment that I set up did not enhance my ability to write code. The reason for this is that I use jsdom, which is a mock object for the HTML component. Because it is not a real object of HTML, my focus has been changed to the test code...

Dynamics CRM CDS: The Benefit of SharedVariables

Oct 16, 2020

Have you ever heard about SharedVariables? SharedVariables is an object in IPluginExecutionContext that allows us to set Dictionary (Key-Value) data to be used in the next event execution pipeline. Before, this object was very powerful. We can share SharedVariables across...

Architecture: Don't Marry The Framework

Feb 5, 2020

I've read a book by Robert C. Martin book titled Clean Architecture: A Craftsman's Guide to Software Structure and Design and was amazed by one statement in the book: Don't marry the framework. Robert C. Martin Based on Uncle Bob's opinion, coupling a third-party library directly...

Implementing FluentValidation with ASP.NET Core

Oct 24, 2019

FluentValidation for me is a validation framework that enables readability and cleaner code in our application. There are a predefined set of rules that are already predefined from the framework using Lambda Expression which makes the framework more readable and very neat. For...

Dynamics Crm Merge Assemblies

May 30, 2018

Now I want to share how to merge multiple assemblies in the Dynamic CRM Environment. We used ILRepack as our merge tool because the result is smaller compared to ILMerge. For this tutorial, we will embed the command for merging in .csproj, so every time we build our project. The...