Service Fabric Patterns Best Practices Service Fabric Continuous
Service Fabric Patterns & Best Practices
Service Fabric Continuous Integration and Delivery
Problem How do I get on a path of being able to continuously integrate, validate and deliver my code changes in production?
Best Practice Get those pipelines up and running before anything else
Continuous Delivery for Service Fabric with Visual Studio Team Services for Windows
Build and Release flow in VSTS Repo Build Release • Commit • • • Environment A • Deploy • Environment B • Deploy Restore Build Package Publish Artifacts
Setting up Continuous Delivery with VSTS
Better Continuous Delivery for Service Fabric with Visual Studio Team Services for Windows
Build and Release flow in VSTS Repo Build Release • Commit • • Environment A • Deploy • Run tests • Approve • Environment B • Approve • Deploy • Run tests Restore Build Unit Tests Package Update Versions Publish Artifacts
Upgrade, Run Tests and Approvals
Publish a Service Fabric Application Register Application Copy Application Package • Application Type and Version Create Named Application • Application Instance Fabric. Client. Application. Management. Client)
Settings in Service Fabric Services Visual Studio and Visual Studio Team Services Settings. xml <Parameters> <Service. Manifest. Import> <Config. Overrides /> </Service. Manifest. Import> Publish Copy Register Create
Secrets Management
Deploy an Application with Environment Specific Settings
Sharing services and working with Applications across repos Binary Sharing • Generic purpose service you run as part of your application • SFNuget Runtime Sharing • Services to be used in a larger application / system • Merging Manifests
SFNuget
SFNuget Authoring, sharing and using reusable services
Merging Manifests
© 2016 Microsoft Corporation. All rights reserved. The text in this document is available under the Creative Commons Attribution 3. 0 License, additional terms may apply. All other content contained in this document (including, without limitation, trademarks, logos, images, etc. ) are not included within the Creative Commons license grant. This document does not provide you with any legal rights to any intellectual property in any Microsoft product. You may copy and use this document for your internal, reference purposes. This document is provided "as-is. " Information and views expressed in this document, including URL and other Internet Web site references, may change without notice. You bear the risk of using it. Some examples are for illustration only and are fictitious. No real association is intended or inferred. Microsoft makes no warranties, express or implied, with respect to the information provided here.
- Slides: 21