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

Announcements

No record found.

News and Announcements icon
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

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
Pallavi Phade Profile Picture

Pallavi Phade 102 Super User 2026 Season 1

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 55 Super User 2026 Season 1

#3
ManoVerse Profile Picture

ManoVerse 53 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans