Skip to main content

Notifications

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

difference between microsoft.crm.sdk and microsoft .Xrm.Sdk

Posted on by 70

Hi Guys, 

please help me on the difference between 2 dll's

 microsoft.crm.sdk and microsoft .Xrm.Sdk

Thanks,

  • Suggested answer
    cloflyMao Profile Picture
    cloflyMao 25,198 on at
    RE: difference between microsoft.crm.sdk and microsoft .Xrm.Sdk

    Hi Gunjesh,

    In short, Microsoft.Xrm.Sdk is used to interact with entity, and it is the main library we use for Dynamics.

    Here are some most used interface and classes from Xrm.Sdk:

      IOrganizationService(I), Entity, EntityCollection, EntityReference, IPluginExecutionContext(I)

    While Microsoft.Crm.Sdk is less used, at least from my using experience. According to documentation, it seems that we could get some organization level information with the namespace.

    However, another similar namespace with longer name Microsoft.Crm.Sdk.Messages is used more than Microsoft.Crm.Sdk, it has all built-in actions of Dynamics such as QualifyLeadRequest.

    (Actually both of these two namespaces belong to Microsoft.Crm.Sdk.Proxy.dll assembly, so I think the comparison should be made between Microsoft.Crm.Sdk.Proxy.dll and Microsoft.Xrm.Sdk.dll instead.)

    Regards,

    Clofly

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: difference between microsoft.crm.sdk and microsoft .Xrm.Sdk

    XRM has a lot more classes and interfaces: docs.microsoft.com/.../microsoft.xrm.sdk

    I use the XRM one much more often.

    CRM:

    docs.microsoft.com/.../microsoft.crm.sdk

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,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans