Skip to content

Instantly share code, notes, and snippets.

@vainolo
Created October 25, 2018 13:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vainolo/6e99d772155c8e1ce201f7d9484a55a6 to your computer and use it in GitHub Desktop.
Save vainolo/6e99d772155c8e1ce201f7d9484a55a6 to your computer and use it in GitHub Desktop.
Azure Functions – Part 1: Getting Started - Example
using System.Net;
public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, TraceWriter log)
{
log.Info("C# HTTP trigger function processed a request.");
return req.CreateResponse(HttpStatusCode.OK, "Hello World");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment