Writing a plugin

Plugins are custom classes that implement the IPlugin interface. The class can be written in any .NET framework-compliant language, such as Microsoft Visual C# or Microsoft Visual Basic .NET. The following screenshots illustrate how users can create a plugin project:

  1. Firstly, the user can create a new Class Library project, as shown in the following screenshot:
Creating a plugin class project
  1. After the project is created, the user can add a new Class... item to the project. The new class would act as the plugin class:

Get Mastering Microsoft Dynamics 365 Customer Engagement - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.