locked
Web API v/s class library DLLs to perform CRUD operations on CRM data RRS feed

  • Question

  • Hi,

    Developing a 3rd party mobile application which will be using Dynamics 365 (online) data and performing CRUD operation on it is my motive.

    What I have tried till now is developed a console application using a sample code provided by Microsoft in SDK.

    Now, my question here is should I develop a Web API to access this code using mobile app? If yes, what are the advantages of using Web API over the other possible approaches?

    https://msdn.microsoft.com/en-in/library/mt628816.aspx

    Monday, November 20, 2017 9:16 AM

Answers

All replies

  • You should use the WEB API. The SOAP endpoint will be deprecated. See: https://msdn.microsoft.com/en-us/library/dn281891.aspx

    • Proposed as answer by MGCRM Wednesday, November 22, 2017 8:16 AM
    • Marked as answer by PratikSoni Wednesday, November 22, 2017 11:28 AM
    Monday, November 20, 2017 10:22 AM
  • But using Web API does increase the cost of CRM as it requires Azure Active Directory too. So is there any other way we can use Web API with our application?

    Pratik Soni

    Wednesday, November 22, 2017 9:19 AM
  • Nope, I'm afraid not.
    Wednesday, November 22, 2017 10:51 AM
  • Hi,

    Your question refers to using DLLs to do the CRUD operations. 

    I assume that to mean directly calling CRUD operation without going through the standard http based API.

    This is not possible as the DLL's you are using are proxy classes that call the http API's.

    The other comments in here are valid.

    regards,

    Don

    Thursday, January 11, 2018 12:30 AM