Getting to the query string (GET request array) inside a web service in .NET

后端 未结 4 1555
再見小時候
再見小時候 2021-01-02 08:32

I\'m looking to find a way to access the .net query string contained in the standard ASP.NET request object inside a web service. In other words if I set a SOAP web service

4条回答
  •  天命终不由人
    2021-01-02 09:03

    I just looked for "Request" of the context in asmx file and I saw that. But I'm not sure if it is right.

    this.Context.Request.QueryString["id"];
    

提交回复
热议问题