Closing a gap between late-bound and early-bound even more

Recently I wrote a post Closing a gap between late-bound and early-bound but there was an open question: can I do better and support both camps: people who generate early-bound classes and people who write them manually? I guess the answer is "yes". Finally, after a lot of performance testing I end up with the …

Continue reading Closing a gap between late-bound and early-bound even more

Closing a gap between late-bound and early-bound

Once I've seen holy war a discussion in a new D365/CDC/Dataverse/SomebodyStopThem client repository. In short, the point of the author is: The CDS SDK does not provide enough higher-level abstractions to write regular business logic on top of fberasategui Despite the fact that I share some of the author's thoughts, I think that building abstraction …

Continue reading Closing a gap between late-bound and early-bound

How to connect to IFD-enabled on-premise instance of D365 using Xrm Tooling

Yes, on-premise still exist and yes, where are people like me who still have to deal with it. So if you are struggling with connection strings and authentication schemes, this post is for you. Connection strings there first introduced in 2011 as an easy way to establish connection. It was always been a bit of …

Continue reading How to connect to IFD-enabled on-premise instance of D365 using Xrm Tooling

How to make VS to rebuild solution before publishing a plugin with spkl or other tool

I decided to take a little break from writing my epic blog series and share some smaller things that not get into it. But in case you if you're worried - don't worry, I still gonna finish the series:) The problem In my last post, we discussed a problem of lack of integration between Visual …

Continue reading How to make VS to rebuild solution before publishing a plugin with spkl or other tool

Bulletproof Project Template – Part 5: Plugins and Workflow with Unit Test Support

This is part 5 of Bulletproof Project Template series. In this part we will discuss proper setup for Plugins and Workflow .NET projects. As I said before, some thoughts here may be controversial. Let me know in the comments if so, and let's continue with the first things first: the problem. The problem What can …

Continue reading Bulletproof Project Template – Part 5: Plugins and Workflow with Unit Test Support

Bulletproof Project Template – Part 4: Customization as code

This is part 4 of Bulletproof Project Template series. In this part we will discuss how to store D365/Power Apps (CDS for simplisity) customizations in source control. As I said before, some thoughts here may be controversial. Let me know in the comments if so, and lets continue with the first things first: the problem. …

Continue reading Bulletproof Project Template – Part 4: Customization as code

Bulletproof Project Template – Part 3: DevOps automation

This is part 3 of Bulletproof Project Template series. In this part we will discuss DevOps automation and best practices. As I said before, some thoughts here may be controversial. Let me know in the comments if so, and lets continue with the first things first: what is DevOps? What is DevOps and why now? …

Continue reading Bulletproof Project Template – Part 3: DevOps automation

Bulletproof Project Template – Part 2: Solution level settings

This is part 2 of Bulletproof Project Template series. In this part we will discuss solution level settings and tools to support them. As I said before, some thoughts here may be controversial. Let me know in the comments if so, and lets start with first things first: the tools. Tools It may seem crazy, …

Continue reading Bulletproof Project Template – Part 2: Solution level settings

Bulletproof Project Template – Part 1: Intro

Intro Most people (I used to deal with) think that project repository setup is not important at all. Everything can change during project, so setup can be done any time later. That's why let's start coding, and see what happens. Certainly, it may be not a problem for mature teams or for organizations with well …

Continue reading Bulletproof Project Template – Part 1: Intro

How to understand transactions in plugins for CDS?

First of all, sorry for bringing up that old hackneyed topic once again. Any professional should know that common mantra: Synchronous plugins run inside transaction, asynchronous - don't But it's not so easy to prove it! Let's refer to Execution mode topic for plugin registration docs: There are two modes of execution asynchronous, and synchronous …

Continue reading How to understand transactions in plugins for CDS?