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)

CRM 2016 and C# in WCF Services

(0) ShareShare
ReportReport
Posted on by

Hello everyone.

I'm want WCF services that uses CRM 2011, to use CRM 2016. Entities will changed.

I've never worked with CRM. Newbie fully.

I review source code WCF Services, and there are a lot of Fetch query, few QueryExpresions, and some SQL queries to CRM SQL Server for performance issues.

The source code is difficult, legacy and not follow good patterns and practices.


WCF (hosting) services can be in .NET 4.6.1, and other assemblies that use CRM 2016 (eg Workflows activities, etc., and their dependencies) must be .NET 4.5.2.


In more than 600 Github repositories related to CRM and C #
github.com/search;q=crm&type=Repositories&utf8=%E2%9C%93


"Tools" like XrmToolBox and associated plugins is recommended, and many more tools crmlinks.wordpress.com

But tools are about CRM product as such.


I need helpers, extensions methods, good patterns and practices for work with CRM using C# Wcf Services or Console app (with CRM SDK,  or service reference to Organization.svc).

Any suggestions ? Thanks in advanced.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Drew Poggemann Profile Picture
    4 on at

    Please check out Jason Lattimer's CRM Developer extensions at:  github.com/.../CRMDeveloperExtensions

  • Tim Dutcher Profile Picture
    2,100 on at

    I've used Microsoft's PFE library on a few projects.

    https://pfexrmcore.codeplex.com/

    It's worth studying this project's code, even if you end up creating your own common libraries. The team implemented parallel processing of CRM CRUD operations, so if you'd like to see how to maximize performance in your code then this is a good project to review.

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