cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP Customer Data Cloud .Net SDK Support .NetCore

Former Member
0 Likes
507

I'm working on an Net Core 2.2 Api that uses .Net SDK and I have an error:

System.IO.FileNotFoundException : Could not load file or assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

The problem is that System.Web.Extensions is part of the Full .Net Framework.

Is there a way to use the .Net SDK in a .Net Core or NetStandard project?


Thank you.

Accepted Solutions (0)

Answers (1)

Answers (1)

Hi Daniel,

Thanks for visiting the SAP Community.

The current version of the .Net SDK does not support .Net Core at this time, only Classic .Net - as you point out, System.Web.Extensions is part of the Classic .Net framework and not available in .Net Core.

The server-side SDK's for SAP Customer Data Cloud allow developers a simplified approach to using the underlying SAP Customer Data Cloud REST APIs, but none of them exclude developers using the REST API directly in accordance with the SAP Customer Data Cloud Developers Guide. For .Net Core, the current recommendation for is to use the REST API directly using the standard .Net Core HTTP Request client capabilities.

SAP is considering a .NET Core SDK as part of our Roadmap in the future and so it would be really helpful if you could raise an Idea Suggestion along with your use case in our ideas portal (https://sapcdc.ideas.craft.io/) to allow our product management teams to track customer requests for this feature.

Thanks, Richard.