C#

Posts in this category.

Benchmark: TDS Endpoint vs QueryExpression vs FetchExpression

Nov 29, 2025

I read Mark Carrington's blog post about his latest findings on TDS Endpoint revisited, which can be found here. One of the key points that is interesting is his finding about the internal Dataverse message ExecutePowerBISql, which intersects with the function I created last time...

Dataverse: Benchmark ExecuteMultiple Request SDK vs WebApi call

Mar 22, 2025

In the PowerApps-Samples repo, I found interesting sample code to execute Dataverse messages using WebAPIs call. For those who ask why there is this option, it is because not so many organizations let you install NuGet Packages freely without having risk analysis (the reason can...

Dataverse: Get Azure Key Vault Secret from Plugin

Oct 19, 2024

I have an interesting question about how to get the Azure Key Vault Secret from the plugin. The official documentation about the RetrieveEnvironmentVariableSecretValue action states that it can only be triggered from Power Automate Flow. The problem with this step is that it...

Dataverse: Retrieve data using TDS Endpoint in Plugin

Oct 12, 2024

We always love SQL4CDS by Mark Carrington. One of its features is using the TDS (Tabular Data Stream) Endpoint for reading data. On one of the cron jobs, I have a logic to aggregate the sum of the data. Although I was using SQL4CDS Engine to retrieve the data, I observed the...

(Dataverse) .NET API Implement Multiplexing Strategy

Jul 5, 2024

In some scenarios, we sometimes need to add a middleware (in this case .NET WebAPI) that connects Dataverse to other applications for integration. The reason can vary such as making the connection, request, and response to Dataverse simpler. If the integration loads are high and...

Dataverse Filtering Attributes benchmark

Jun 1, 2024

I heard lots of dos and don'ts about performance enhancement specifically when creating plugins in Dataverse. One of the pieces of advice is about setting the "Filtering attributes" when registering the plugin step so the system will not run unnecessarily process. So, today we...

Dataverse: Query data using Fiscal Period and Year

May 25, 2024

Do you need to query data with the filter based on the Month/Year based on the specified date in your records? Today, we will learn how to query it and hopefully, you can implement it in your future project! For example, we have several records of Sales Order with the below...

Build a Dataverse Plugin and use AIClassify to simplify business process

Apr 20, 2024

For those who don't know, now we can call AI functions within Dataverse which helps to simplify lots of business processes. One of the scenarios that we will learn today is regarding Case/Feedback/Incident creation where users can just put minimal information such as "Title",...