diff --git a/.vs/TaskRegNew/DesignTimeBuild/.dtbcache.v2 b/.vs/TaskRegNew/DesignTimeBuild/.dtbcache.v2 index d406841..ecdebb4 100644 Binary files a/.vs/TaskRegNew/DesignTimeBuild/.dtbcache.v2 and b/.vs/TaskRegNew/DesignTimeBuild/.dtbcache.v2 differ diff --git a/.vs/TaskRegNew/FileContentIndex/538c52c0-a68f-4ed4-9f5b-99c7895da70c.vsidx b/.vs/TaskRegNew/FileContentIndex/538c52c0-a68f-4ed4-9f5b-99c7895da70c.vsidx deleted file mode 100644 index 25b5c79..0000000 Binary files a/.vs/TaskRegNew/FileContentIndex/538c52c0-a68f-4ed4-9f5b-99c7895da70c.vsidx and /dev/null differ diff --git a/.vs/TaskRegNew/FileContentIndex/c13a9e05-7418-40af-bcf1-f884bc5f6208.vsidx b/.vs/TaskRegNew/FileContentIndex/c13a9e05-7418-40af-bcf1-f884bc5f6208.vsidx new file mode 100644 index 0000000..ba57624 Binary files /dev/null and b/.vs/TaskRegNew/FileContentIndex/c13a9e05-7418-40af-bcf1-f884bc5f6208.vsidx differ diff --git a/.vs/TaskRegNew/FileContentIndex/d861ba53-f331-48a8-ab75-b69f47e145b0.vsidx b/.vs/TaskRegNew/FileContentIndex/d861ba53-f331-48a8-ab75-b69f47e145b0.vsidx new file mode 100644 index 0000000..b76dc4f Binary files /dev/null and b/.vs/TaskRegNew/FileContentIndex/d861ba53-f331-48a8-ab75-b69f47e145b0.vsidx differ diff --git a/.vs/TaskRegNew/v17/.suo b/.vs/TaskRegNew/v17/.suo index 107b7c8..89b2a9b 100644 Binary files a/.vs/TaskRegNew/v17/.suo and b/.vs/TaskRegNew/v17/.suo differ diff --git a/TaskRegApp/CreateInvoice.cs b/TaskRegApp/CreateInvoice.cs index e16b15f..ddf4b2e 100644 --- a/TaskRegApp/CreateInvoice.cs +++ b/TaskRegApp/CreateInvoice.cs @@ -14,7 +14,7 @@ namespace TaskRegApp _logger = loggerFactory.CreateLogger(); } - [Function("CreateInvoice")] + [Function("CreateInvoiceFunction")] public HttpResponseData Run([HttpTrigger(AuthorizationLevel.Anonymous, "get", "post")] HttpRequestData req) { _logger.LogInformation("C# HTTP trigger function processed a request."); diff --git a/TaskRegApp/Function1.cs b/TaskRegApp/Function1.cs deleted file mode 100644 index e16b15f..0000000 --- a/TaskRegApp/Function1.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System.Net; -using Microsoft.Azure.Functions.Worker; -using Microsoft.Azure.Functions.Worker.Http; -using Microsoft.Extensions.Logging; - -namespace TaskRegApp -{ - public class CreateInvoice - { - private readonly ILogger _logger; - - public CreateInvoice(ILoggerFactory loggerFactory) - { - _logger = loggerFactory.CreateLogger(); - } - - [Function("CreateInvoice")] - public HttpResponseData Run([HttpTrigger(AuthorizationLevel.Anonymous, "get", "post")] HttpRequestData req) - { - _logger.LogInformation("C# HTTP trigger function processed a request."); - - var response = req.CreateResponse(HttpStatusCode.OK); - response.Headers.Add("Content-Type", "text/plain; charset=utf-8"); - - response.WriteString("Welcome to Azure Functions!"); - - return response; - } - } -}