public async Task <List <Activity> > GetActivities() { //var activationContext = FabricRuntime.GetActivationContext(); IActivityService activityService = ServiceProxy.Create <IActivityService>(ServiceFabricHelpers.ActivitiesServiceUri); return(await activityService.All(CancellationToken.None)); }