This project is read-only.


* How to setup my project to use LINQ 2 CRM

Download Linq2CRM and SilverCrmSoap dlls from the download tab
Add references to these libraries in your project.

* Where I can have a look at an example?

When you download release pack, there will be test application amongst Linq2CRM library.

* How to debug Silverlight application that using LINQ 2 CRM

For this purpose, there is DebugContext object in DomainObjectContext class.

To get thing working you have to implement IContext:

public class DebugContext : IContext
        public string OrganizationName
            get { return "YourOrganizationName"; }
            set { }

        public string ServerUrl
            get { return "http://serverurl/"; }
            set { }

And instantiate this class before the first call to LINQ to CRM(on App.Startup event handler for example):

                DomainObjectContext.DebugContext = new DebugContext();

Make sure that DebugContext is set only for debug. In release when you deploy app in CRM, DebugContext should be null so that it will be taken from CRM dynamically.
Also, there are series of posts on the blog about this tool:

If you experienced any issues write to us:

1) Discussions tab

2) Email discussion group:

Last edited Aug 2, 2016 at 1:17 PM by artstalker, version 22


No comments yet.