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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Create a Plugin and Console App for Dynamics 365 CRM using .Net Core

(0) ShareShare
ReportReport
Posted on by 162

Hello Community,

As we are using .Net Framework to create Plugin and Console App for Dynamics 365 CRM. Is there any support for .Net Core if yes? Can anyone let me know answers of following question?

  1. How to create Plugin for Dynamics 365 CRM using .Net Core
  2. How to create Console App which connects Dynamics 365 CRM using .Net Core
  3. Is there any documentation given by the Microsoft?
I have the same question (0)
  • Suggested answer
    Pankaj Gogoi Profile Picture
    3,177 on at

    Hello,

    You can explore this Microsoft.Powerplatform.Cds.Client. I don't think we can use this for plugin development.

    powerusers.microsoft.com/.../470035

    https://www.nuget.org/packages/Microsoft.Powerplatform.Cds.Client

    Best Regards

    PG

  • Suggested answer
    Naveen Ganeshe Profile Picture
    3,397 User Group Leader on at

    Hello Amit,

    You can follow the below links for your console application:

    www.wrapcode.com/server-authentication-dynamics-crm

    github.com/.../Program.cs

  • Amit Prajapati Profile Picture
    162 on at

    Hi Pankaj,

    I have gone through your reference Link but the following notice has been written in Package:

    1. This package is an ALPHA release. - Use it at your own risk.

    2. This package is intended to work with .net full framework 4.6.2, 4.7.2 and 4.8, .net core 3.0 and 3.1

    3. We have not stabilized on NameSpace or Class names with this package as of yet and things will change as we move though the preview.

    If I want to migrate my existing Console App from .Net Framework to .Net Core then we have to wait for Stage Public release with Full Documentation. What is you opinion in this Case?

  • Amit Prajapati Profile Picture
    162 on at

    Hi Naveen

    What about the Plugin Development using .Net Core for CRM.

    And Also, can you please give an opinion on my raised points.

  • cloflyMao Profile Picture
    25,210 on at

    Hi Amit,

    I tried to build plugin using .Net Core, but my function was not able to be loaded by registration tool.

    After changing to .Net Framework, then it worked.

    Therefore, I think we should still use .Net Framework to create plugin.

    Regards,

    Clofly

  • Suggested answer
    Naveen Ganeshe Profile Picture
    3,397 User Group Leader on at

    Hello Amit,

    As Clofly said, we cannot use the dotnet core for plugins because it not supported at this time.

    Also, If you don't want to take any risks, you can use github.com/.../Xrm.Tools.CRMWebAPI for your dotnet core application. I am using this for more than a year without any issues.  

    If you still want to wait for Microsoft's official documentation for "Microsoft.Powerplatform.Cds.Client" you can wait for it.

  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    1. This package is an ALPHA release. - Use it at your own risk.

    2. This package is intended to work with .net full framework 4.6.2, 4.7.2 and 4.8, .net core 3.0 and 3.1

    3. We have not stabilized on NameSpace or Class names with this package as of yet and things will change as we move though the preview.

    If I want to migrate my existing Console App from .Net Framework to .Net Core then we have to wait for Stage Public release with Full Documentation. What is you opinion in this Case?

    Yes this package is still an Alpha release (Preview version) and not intended for production use. So you should wait for till it is available GA. We have used this in our project and it still has some bugs and not tested fully.

    You should always use .net framework for plugin code and it is preferred way to do and recommended by mcirosoft as well.

    In case you want to explore Console application using .Net core package. Check my blog below.

    xrmdynamicscrm.wordpress.com/.../

    Please mark my answer verified if i were helpful

  • Pankaj Gogoi Profile Picture
    3,177 on at

    Agree. It's a pre-release. You can explore and play around with it and can report any issues. Better to wait.

    Best Regards

    PG

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…

Neeraj Kumar – Community Spotlight

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

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 83 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

#3
#ManoVerse Profile Picture

#ManoVerse 40

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans