Book Image

Microsoft Dynamics CRM 2015 Application Design

By : Mahender Pal
Book Image

Microsoft Dynamics CRM 2015 Application Design

By: Mahender Pal

Overview of this book

<p>Businesses can have their developers build complete apps or plug-ins and interfaces to suit their business needs. With the application of MS CRM, administrators can alter the content, layout, and business logic for each business use case. Businesses can choose to run Dynamics CRM on their own internal server or to link to web-hosted installations. This book is an enhanced guide that covers all the new features released with Microsoft Dynamics CRM 2015. Coming straight off the shelf with a whole new frontier of updated business rules, process enhancements, SDK methods, and other enhancements, this book is a complete guide for all your Dynamics CRM questions.</p> <p>Starting off, this book will introduce you to the deployment options such as online and on-premise, and the software and hardware requirements as CRM customization. It will also teach you how to develop a sample application.</p> <p>Going deeper, this book teaches you about the new enhancements in Microsoft Dynamics CRM 2015 such as business process, new client-side scripting, mobile application, and actions enhancements. You will quickly get up and running with plugin development and project tracking concepts with the help of sample applications.</p> <p>The book concludes with how Microsoft Dynamics CRM extends its mobile capabilities and bring more feature-rich experience to the app users.</p>
Table of Contents (17 chapters)
Microsoft Dynamics CRM 2015 Application Design
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Using client APIs for CRM connections


CRM client APIs help us to connect with CRM easily from .NET applications. It simplifies setting up connections with CRM using a simplified connection string. We can use this connection string to create organization service objects.

Perform the following setup on the console application for demo purposes:

  1. Connect to Visual Studio and select File | New | Project.

  2. Select Visual C# | Console Application and enter CRMConnectiondemo in the Name textbox:

    console app

    Note

    Make sure you have installed the .NET 4.5.2 and the NET 4.5.2 developer pack before creating the sample application.

  3. Right-click on References and add the following CRM SDK:

    Microsoft.Xrm.SDK

    Microsoft.Xrm.Client

    We also need to add the following .NET assemblies:

    System.Runtime.Serialization

    System.Configuration

  4. Make sure to add the App.config file if not available in the project. We need to right-click on the project name and select Add Item, and add the application configuration file as follows...