Getting started with on-premise managed code application development
This guide shows you how to write application code that connects to the Dynamics 365 Customer Engagement (on-premises) web services and invoke web methods to perform common business data operations like create, delete, update, and find. You will also be shown how to set up a project in Visual Studio with the required namespaces, and how to handle exceptions returned from the web services. After completing this guide, you will have learned enough information to explore the many other business operations that are supported by the web services.
See also
Programming models for Dynamics 365 Customer Engagement (on-premises)
Quick Start: Organization service sample (C#)
Use the Dataverse Organization Service