web
You’re offline. This is a read only version of the page.
close
Skip to main content
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)
  • Community Member Profile Picture
    on at
    RE: Porting .net Framework to .net core Microsoft.Xrm.Sdk.Query

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

  • Verified answer
    Guido Preite Profile Picture
    54,084 Moderator on at
    RE: Porting .net Framework to .net core Microsoft.Xrm.Sdk.Query

    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

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Aric Levin - MVP Profile Picture

Aric Levin - MVP 2 Moderator

#2
MA-04060624-0 Profile Picture

MA-04060624-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans