Skip to content

Instantly share code, notes, and snippets.

@intsangity
intsangity / ADFSSRS.csx
Created July 12, 2021 04:39 — forked from ahelland/ADFSSRS.csx
Azure Function returning word pairs
using System.Net;
public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, TraceWriter log)
{
log.Info($"C# HTTP trigger function processed a request. RequestUri={req.RequestUri}");
var responseMsg = String.Empty;
Random r = new Random();
int rInt = r.Next(0,4);
responseMsg = GetQuote(rInt);