Latest posts

Notes on code and the things I build.

tips

C# yield return 101!

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 =...

Javascript , tips

About Cyclomatic Complexity

Sep 21, 2018

I read one of the blog posts in dev.to about this Cyclomatic Complexity and I couldn't resist also not talking about this one. Because I see a lot of programmers making this mistake without knowing it. So just today I checked my email and saw there is an automatic email...

dynamics-crm

Dynamics CRM Sent Email using Plugin

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...

dynamics-crm , Javascript

Caching All You Can Cache!

Aug 9, 2018

Caching is one of the things you can do to improve your application performance. In JavaScript programming, we have sessionStorage and localStorage API to do the caching. sessionStorage is the browser's storage that will be kept only for that session only. So when you close the...

C# , dynamics-crm

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...

Ssrs

Consume WCF from SSRS Report

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 =...

#C#