Hey Will,
How would you use the latest azure functions (.Net 5 out of process) where the return type is HttpResponseData instead of IActionResult?
eg Orig: [FunctionName(nameof(GetBookById))] public async Task Run([HttpTrigger(AuthorizationLevel.Anonymous, "get", Route = "Book/{id}")] HttpRequest req, string id)
eg Latest: [FunctionName(nameof(GetBookById))] public async Task Run([HttpTrigger(AuthorizationLevel.Anonymous, "get", Route = "Book/{id}")] HttpRequest req, string id)
Hey brentminder!
I'm not too sure to be honest, since I haven't had a change to work with isolated functions yet.
I'll see if I can give this a go soon and get back to you :)
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hey Will,
How would you use the latest azure functions (.Net 5 out of process) where the return type is HttpResponseData instead of IActionResult?
eg Orig:
[FunctionName(nameof(GetBookById))]
public async Task Run([HttpTrigger(AuthorizationLevel.Anonymous, "get", Route = "Book/{id}")] HttpRequest req, string id)
eg Latest:
[FunctionName(nameof(GetBookById))]
public async Task Run([HttpTrigger(AuthorizationLevel.Anonymous, "get", Route = "Book/{id}")] HttpRequest req, string id)
Hey brentminder!
I'm not too sure to be honest, since I haven't had a change to work with isolated functions yet.
I'll see if I can give this a go soon and get back to you :)