Dataverse: Make use of INotifyPropertyChanged to get the latest state of Entity

Before we continue, this blog post will only work if you using Early-Bound on your plugin project (for Late-Bound, you can follow this blog post). The scenario that we will cover is to get rid of the hassle of the below method (I will show you using the code to make it easier): var target … Continue reading Dataverse: Make use of INotifyPropertyChanged to get the latest state of Entity

Advertisement

Dataverse: Dependent Assembly fix error “A strongly-named assembly is required”

When preparing the demonstration for my session for Dataverse Summit 2022, I encountered an error when registering the Plugin package. The error is "Could not load file or assembly 'xxx' or one of its dependencies. A strongly-named assembly is required.". The error thrown is because of the solution structure below: As you can see from … Continue reading Dataverse: Dependent Assembly fix error “A strongly-named assembly is required”

Dataverse: Debug Plugin With FakeXrmEasy (Direct Connection)

Last week I posted about "Dataverse: Create Console For Debugging Plugin Code" and the author of the great FakeXrmEasy - Jordi Montaña Vázquez mentions about XrmRealContext which can simplify last week's solution (for those who don't know FakeXrmEasy, it is a Unit Testing framework for Dataverse! You can check the documentation about what it can do … Continue reading Dataverse: Debug Plugin With FakeXrmEasy (Direct Connection)

How to make Azure Functions + Dataverse Service Client

In this blog post, we will learn how to make Azure Functions for hosting APIs that will be used to connect with Dataverse (via Dataverse Service Client) and possibly other functions. Even though in Dataverse we actually can create custom APIs to do the same thing (but we need to merge third-party libs if any), … Continue reading How to make Azure Functions + Dataverse Service Client

Fixed contractResolver showed up when using Swashbuckle Swagger .NET 6

When using Swagger and I want to implement JsonPatchDocument to do Patch operation in my WebApi, I noticed the class can't be recognized automatically in the Swagger UI. contractResolver object detected in SwaggerUI Below is a sample of my code for my Controller that uses JsonPatchDocument: using LearningCqrs.Core; using LearningCqrs.Core.Handler; using LearningCqrs.Data; using LearningCqrs.Features.Users; using MediatR; using Microsoft.AspNetCore.Authorization; using … Continue reading Fixed contractResolver showed up when using Swashbuckle Swagger .NET 6