How to get Query String in Azure Function Isolate Process Http Trigger Get Method

이 상준 21 Reputation points
2021-09-27T01:58:02.833+00:00

I want to get Query String when it is in Get type in Http Trigger isolation process way. How can I do that?

I found an article like the one below, but is there a way other than the two methods below?

https://stackoverflow.com/questions/68087731/cant-get-query-parameter-from-httprequestdata

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,203 questions
0 comments No comments
{count} votes

Accepted answer
  1. MayankBargali-MSFT 70,736 Reputation points
    2021-09-27T05:11:32.23+00:00

    @이 상준 There are many differences for the In process (.NET Core 3.1) and Out of process (.NET 5.0) and the difference are covered in this document. You can see the difference in HTTP trigger that .NET Core 3.1 uses HttpRequest/ObjectResult whereas the .NET 5.0 now uses HttpRequestData/HttpResponseData
    The HttpRequestData has Uri and Uri has property Query to get the value now in .NET 5.0

    The stackoverflow covers the same and it is the right way of getting the query parameter value.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.