c# - Can you share sample code updating Azure configuration file using Change Deployment Configuration -


so i'm reading change deployment configuration on msdn , want use it. have think components

  • formatted uri
  • uploaded management key
  • i have modified serviceconfiguration file

based on information i'm not sure how

  1. extract public key certificate uploaded
  2. construct response body combining config file , format of body shown in documentation
  3. actually submit response these elements property attached.

    string myuri = "https://management.core.windows.net/mysubscriptionid/services/hostedservices/myservicename/deploymentslots/staging/"; string mymanagementcertificationpublickey = "keyvalue"; string mynewconfigfile = "loaded , modified xdocument"; 


Comments