This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
internal static string GenerateJqueryJs() | |
{ | |
ServiceEndpointCollection endpoints = | |
OperationContext.Current.Host.Description.Endpoints; | |
OperationDescriptionCollection operations = null; | |
Type contract = null; | |
ServiceEndpoint currentEndpoint = | |
endpoints.Where(e > e.Contract.Name == | |
OperationContext.Current.EndpointDispatcher.ContractName).FirstOrDefault(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Microsoft.Azure.WebJobs; | |
using Microsoft.Azure.WebJobs.Extensions.Http; | |
using Microsoft.Azure.WebJobs.Host; | |
using System; | |
using System.Net.Http; | |
using System.Net.Http.Headers; | |
using System.Threading.Tasks; | |
namespace AzureFunctionApp | |
{ |