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 :
Microsoft Dynamics CRM (Archived)

Porting .net Framework to .net core Microsoft.Xrm.Sdk.Query

(0) ShareShare
ReportReport
Posted on by

I am porting a project from .net framework to .net core. For that I created a new .net core (2.2.0) and adding files. In the .net framework I have using Microsoft.Xrm.Sdk.Query library and I could not find it in .net core. I am new to .net framework and .net core.

I want to know what would be the possible option to implement this in .netcore. Further it would be nice if i can get useful link for porting project to .netcore I saw Microsoft articles but they are very much abstract and its hard to go through them as a beginner. 

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Guido Preite Profile Picture
    54,086 Moderator on at

    you have 2 options

    1) you can include the full .NET Framework inside your .NET Core project, the downside is that your project will run only on Windows (so no Linux or Mac)

    2) instead of using the SDK, you can use the REST Web API

    ihmo, include the .NET Framework or just separate the business logic that requires the Dynamics SDK to a separate WebService exposing as Web API and invoke it from the .NET Core project as a standard Web API

  • Community Member Profile Picture
    on at

    REST Api is probably your best bet if you want to make it work on multiple platforms.

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 > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans