Created
April 16, 2011 16:25
-
-
Save domgreen/923242 to your computer and use it in GitHub Desktop.
calling REST from REST
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
using(new OperationContextScope((IContextChannel)WebRole.serviceManagement)) | |
{ | |
var hostedServices = WebRole.serviceManagement.ListHostedServices(subscriberID); | |
foreach (HostedService service in hostedServices) | |
{ | |
Trace.TraceInformation("Hosted Service: {0}", service.ServiceName); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment