Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

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

Posted on by 156

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?
  • Pankaj Gogoi Profile Picture
    Pankaj Gogoi 3,177 on at
    RE: Create a Plugin and Console App for Dynamics 365 CRM using .Net Core

    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

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: Create a Plugin and Console App for Dynamics 365 CRM using .Net Core

    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

  • Suggested answer
    Naveen Ganeshe Profile Picture
    Naveen Ganeshe 3,393 User Group Leader on at
    RE: Create a Plugin and Console App for Dynamics 365 CRM using .Net Core

    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.

  • cloflyMao Profile Picture
    cloflyMao 25,198 on at
    RE: Create a Plugin and Console App for Dynamics 365 CRM using .Net Core

    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

  • Amit Prajapati Profile Picture
    Amit Prajapati 156 on at
    RE: Create a Plugin and Console App for Dynamics 365 CRM using .Net Core

    Hi Naveen

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

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

  • Amit Prajapati Profile Picture
    Amit Prajapati 156 on at
    RE: Create a Plugin and Console App for Dynamics 365 CRM using .Net Core

    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?

  • Suggested answer
    Naveen Ganeshe Profile Picture
    Naveen Ganeshe 3,393 User Group Leader on at
    RE: Create a Plugin and Console App for Dynamics 365 CRM using .Net Core

    Hello Amit,

    You can follow the below links for your console application:

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

    github.com/.../Program.cs

  • Suggested answer
    Pankaj Gogoi Profile Picture
    Pankaj Gogoi 3,177 on at
    RE: Create a Plugin and Console App for Dynamics 365 CRM using .Net Core

    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

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans