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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

One C# File per step or per message/entity for plugins?

(3) ShareShare
ReportReport
Posted on by 28

Hi guys. Currently our plugin assembly is structured in the following way. PostUpdateWorkorder.cs, PreUpdateWorkorder.cs, PreValidateUpdateWorkorder.cs, PostCreateWorkorder etc...all inside of the assembly. This follows on for all of our entities. We find ourselves having a lot of bugs within plugins, such as awkward loops and weird fixes to small issues. Should we have one file per entity that contains an execution method for all of the different messages (post, pre, prevalidate) or continute to do it the current way?

I have the same question (0)
  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    I would recommend having one plugin per scenario.

  • kalluu91 Profile Picture
    40 on at
    If you don't have too many plugins, it's best to put all plugins in a single dll.
     
    If you have multiple developers working on the same plugin, check this article for the plugin structure: https://kalcancode.wordpress.com/2025/02/14/power-apps-development-lifecycle-for-a-team-part-1/
     
    Cheers,
    Kim Anh

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

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

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
iampranjal Profile Picture

iampranjal 76

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 47 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 40 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans