Extending Microsoft Dynamics 365 Finance and Supply Chain Management Cookbook - Second Edition
by Simon Buxton
How it works...
The first key part of this recipe was to show you that we can add C# projects to an F&O solution and use the types that were created in that project within an F&O project. Even though we could have written the recipe purely in X++, it is easier to do so in C#. This is especially true if we wish to communicate with SOAP services. C# becomes even more obvious because C# projects will automatically generate the types in the project from the Web Service Definition Language (WSDL) definition provided by the service.
There are other reasons to use C#. Some include code protection, but the main reason is that it has special language features that are unique to C#.
One language feature that is missing from X++ can be seen in the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access