public static void Run( [BlobTrigger("ectower-cookeast/raw/Flux/{name}", Connection = "CookEastFluxConnectionString")] System.IO.Stream inBlob, string name, TraceWriter log) { string content; using (var reader = new StreamReader(inBlob, true)) { content = reader.ReadToEnd(); } TOA5Extractor extractor = new TOA5Extractor(name, content, -8); Tweeter tweeter = new Tweeter( ConfigurationManager.AppSettings["TwitterConsumerKey"], ConfigurationManager.AppSettings["TwitterConsumerSecret"], ConfigurationManager.AppSettings["TwitterAccessToken"], ConfigurationManager.AppSettings["TwitterAccessTokenSecret"]); StatusChecker statusChecker = new StatusChecker( extractor, tweeter); string alert = statusChecker.BroadcastStatus(); if (!string.IsNullOrEmpty(alert)) { log.Info($"Alert: {alert}"); } }