|
1 | 1 | # Introduction |
2 | | -The purpose of this project is to serve as a reference implementation of using VSTS to build and deploy a sample application that spans Dynamics 365 & Azure. |
3 | | -The source code that will be built by VSTS is available at: |
| 2 | +The purpose of this project is to provide reference examples of using [Visual Studio Team Service (VSTS)](https://www.visualstudio.com/team-services/) to build and deploy Dynamics 365 based applications. The reference examples are based on various use cases, including: |
| 3 | + |
| 4 | +* [Primary Release - Dynamics Only.json](https://github.com/devkeydet/dyn365-ce-devops/blob/master/Primary%20Release%20-%20Dynamics%20Only.json) - Deploying a Dynamics 365 solution package and initial data from source control. |
| 5 | +* [Primary Release - Dynamics + Azure.json](https://github.com/devkeydet/dyn365-ce-devops/blob/master/Primary%20Release%20-%20Dynamics%20%2B%20Azure.json) - Builds on [Primary Release - Dynamics Only.json](https://github.com/devkeydet/dyn365-ce-devops/blob/master/Primary%20Release%20-%20Dynamics%20Only.json) and adds deployment of Azure components to the release to demonstrate deploying a release across both. |
| 6 | + |
| 7 | +The intent of this project is to evolve (over time) to implement additional reference examples based on common and/or requested use cases. Please feel free to suggest new scenarios / starter templates or other ideas via the [issues](https://github.com/devkeydet/dyn365-ce-devops/issues) section. |
| 8 | + |
| 9 | +These release templates point to a sample application that spans Dynamics 365 & Azure. The source code that will be built and deployed by VSTS is available at: |
4 | 10 | https://github.com/devkeydet/CrmAsyncRequestResponseSampleV2 |
5 | 11 |
|
6 | 12 | The source code in the repository above shows how to source control *both* code and configurations associated with a Dynamics 365 demo/poc/sample. |
7 | 13 |
|
8 | | -The reference build definition in this repository (Primary Build.json) shows how to use VSTS to: |
| 14 | +The reference build definition in this repository ([Primary Build.json](https://github.com/devkeydet/dyn365-ce-devops/blob/master/Primary%20Build.json)) shows how to use VSTS to: |
9 | 15 | * Build assets from a remote GitHub repository |
10 | 16 | * This, of course, could be done from a VSTS repository as well depending on whether the source code should be public or private |
11 | 17 | * Build all the assets from source control into their deployable form |
12 | 18 | * Solution package zip files |
13 | 19 | * Packages Dynamics 365 configuration xml files using [Solution Packager](https://msdn.microsoft.com/en-us/library/jj602987.aspx) |
14 | 20 | * Starter data import zip files |
15 | 21 | * Zips up xml files produced by the [Configuration Migration](https://technet.microsoft.com/library/dn647421.aspx) tool to setup sample data |
16 | | - * .NET dlls |
| 22 | + * .NET dlls for both CRM and an [Azure Function App](https://azure.microsoft.com/en-us/services/functions/) |
17 | 23 | * etc. |
18 | 24 |
|
19 | 25 | The reference release definitions show how to deploy assets from the build to the target environment(s). Each does the following: |
20 | 26 | * Primary Release - Dynamics Only.json |
21 | 27 | * Resets a Dynamics 365 instance by using the [Online Management API for Dynamics 365 Customer Engagement](https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/online-management-api) |
22 | | - * Deploys the Dynamics 365 package and sample data using [Package Deployer](https://msdn.microsoft.com/en-us/library/dn688182.aspx) |
| 28 | + * Deploys the Dynamics 365 package and sample/intiial data using [Package Deployer](https://msdn.microsoft.com/en-us/library/dn688182.aspx) |
| 29 | + * Demonstrates how to activate plugins *after* the sample/initial data is imported |
23 | 30 | * Updates plugin [Secure Configuration](https://us.hitachi-solutions.com/blog/use-secure-vs-unsecure-configuration-plugins/) since it doesn't get stored in the solution package and can vary by environment |
24 | 31 | * Primary Release - Dynamics + Azure.json |
25 | 32 | * Registers and Azure AD application so the code hosted in Azure has permissions to make web api calls to Dynamics 365 |
|
0 commit comments