Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Testing Serverless Applications - Part 1
public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, ILogger log)
var settings = new FunctionAppSettings();
var client = new HttpClient();
var service = new GitHubService(settings, client);
var query = GetQuery(req);
var models = await service.GetArmTemplateDirectoriesAsync(query)
return req.CreateResponse(HttpStatusCode.OK, models);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment