#net-core

Posts tagged with this topic.

Dataverse: Updated ServiceClient Strategy For Better Performance

Mar 9, 2025

If you remember, I created this blog post on how to create a class that wrapped ServiceClient. I must do it because instancing a ServiceClient is expensive (around 2 seconds). Hence, I need to find a way to "store" it in memory and ensure it is always ready when I need to call...

Dataverse ServiceClient: Comparing ExecuteAsync vs Execute

Jan 19, 2025

This is another benchmark blog post, in which I tried to upgrade the greatest snippet on how to do bulk insert, update, or delete (blog post by Mark Carrington that you can read here) with the async operation. As you know, the latest Dataverse ServiceClient supports async...

Benchmark: Comparing Pooling Setting in TDS Endpoints

Dec 7, 2024

We must construct the SQL Connection String when connecting to Dataverse TDS Endpoints via .NET code. The structure of it by default is just "Server={orgname}.crm.dynamics.com;Database={orgname};Persist Security Info=False;". When we talk about SQL connection strings, there are...

Learn: Create Power Automate Custom Connector - API Key Authentication

Nov 24, 2024

Today we will learn how to create a Custom Connector from scratch and implement API Key Authentication. The authentication code that I used is the reference from the below YouTube video from Nick Chapsas: https://www.youtube.com/watch?v=GrJJXixjR8M Without further ado, let's...

Dataverse: Bulk Performance Settings - Max Threads and Chunks

Nov 3, 2024

Currently, I'm still focusing on how to improve bulk processing in Dataverse. After implementing User Multiplexing, we will learn another consideration that we can apply which is the total threads and chunks of data per thread. Of course, some variables such as network speed,...

Dataverse: Download SSRS Report using Custom API

Jun 29, 2024

Lately, I've been exploring "not-so-new" requirements where I want to download SSRS reports from Dataverse and use them elsewhere (if you want to use the low-code method, you also can read Nick Hance's blog post that implements the same thing. The difference here is I'm using...