This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace serviceManagementConsoleApplication | |
{ | |
class Program | |
{ | |
private const string subscriberID = "..."; | |
static void Main(string[] args) | |
{ | |
var serviceManagment = ServiceManagementHelper.CreateServiceManagementChannel("WindowsAzureEndPoint", new X509Certificate2("insertcert")); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<PropertyGroup> | |
... | |
<BlobStorageEndpoint> | |
http://domgreen.blob.core.windows.net/ | |
</BlobStorageEndpoint> | |
<PackageCommand> | |
cspack \ServiceDefinition.csdef | |
/role:WebRole1;\CloudService.WebRole | |
/role:WorkerRole1; | |
\CloudService.WorkerRole\bin\Release; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
csmanage /update-deployment /hosted-service:domgreen | |
/slot:production /status:running |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
csmanage /create-deployment /hosted-service:domgreen | |
/slot:production /name:domgreen | |
/label:domgreenLabel | |
/package:$(BlobStorageEndpoint)packages/CloudService.cspkg | |
/config:$(SolutionDir)\CloudService\ServiceConfiguration.cscfg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
csmanage /update-deployment /hosted-service:domgreen | |
/slot:production /status:suspended | |
csmanage /delete-deployment /hosted-service:domgreen | |
/slot:production |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cspack \ServiceDefinition.csdef | |
/role:WebRole1;\CloudService.WebRole | |
/role:WorkerRole1;\CloudService.WorkerRole\bin\Release; | |
domgreen.CloudService.WorkerRole.dll | |
/out:CloudService.cspkg |
NewerOlder