web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Best Practices for Structuring Plugins in Microsoft Dynamics for Performance and Maintainability

(1) ShareShare
ReportReport
Posted on by
My issue is, lets say I have 20-25 entities, who all have some form of custom logic. One might have 1 single plugin, another might have 5.
I am trying to find resources on what Microsoft recommends according too performance, maintainability etc... for plugin development.

So far I have read this:
Optimize custom assembly development - Power Apps | Microsoft Learn
Which seems to suggest to have a single large assembly for all your plugins.

Which I do not agree with for our project, as it has far too many entities for it to continue being less than 16 MB.

What I cannot find information about, is how to structure the plugins you create.

To expand upon this, lets say we have a plugin which should trigger on five different fields.
Do we create a single plugin for each of these fields?
Do we create individual steps for each field for an update?
Do we create a single plugin, using the filtering attributes and handle the logic in there?

My reasoning or asking this, isn't that the case above is a serious issue, but rather that we sometimes have plugins that triggers on 45 different fields, and I am unsure how each of these solutions might affect our solution.
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daniyal Khaleel Profile Picture

Daniyal Khaleel 143

#2
DAnny3211 Profile Picture

DAnny3211 134

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 70 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans