Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Microsoft Dynamics 365 Extensions Cookbook

You're reading from   Microsoft Dynamics 365 Extensions Cookbook Add functionality to existing model elements, source code and finally package and deploy using DevOps

Arrow left icon
Product type Paperback
Published in Jun 2017
Publisher Packt
ISBN-13 9781786464170
Length 462 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Toc

Table of Contents (19) Chapters Close

Title Page
Credits
Foreword
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
1. No Code Extensions FREE CHAPTER 2. Client-Side Extensions 3. SDK Enterprise Capabilities 4. Server-Side Extensions 5. External Integration 6. Enhancing Your Code 7. Security 8. DevOps 9. Dynamics 365 Extensions 10. Architectural Views 11. Dynamics 365

Debugging your plugin in Dynamics 365 on-premise


In this recipe we will demonstrate how to debug your server-side extensions with an on-premises Dynamics 365 instance. For simplicity, this recipe assumes that you have Visual Studio and your Dynamics 365 instance is running on the same server. It is also assumed that the plugin is running synchronously and not in sandbox mode. For other scenarios, read the There's more... section of this recipe.

Getting ready

In order to debug your server-side extension, you will need an instance of Visual Studio 2015 or 2017 (express edition is not recommended), your code, and the compiled Dynamic-link library (DLLs) and program database (PDBs) of your code deployed on the server.

Your plugin must be registered either on disk or the database. Either way, the corresponding PDB files must go under <Dynamics 365 Server Folder>\bin\assembly.

Note

When deployed to disk, the worker process can sometimes lock the files. If this happens, restart your application...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images