繁体   English   中英

从 Azure Functions 中调用 HttpUtility

[英]Call HttpUtility from within Azure Functions

我正在尝试从 Azure Functions 中进行 REST 调用。 对于这些代码行:

var client = new HttpClient();
var queryString = HttpUtility.ParseQueryString(string.Empty);

我收到以下错误。

The name 'HttpUtility' does not exist in the current context

我正在使用 Azure.com 中的 Web 界面。

您可能缺少对System.Web的正确引用:

#r "System.Web"
using System.Web; 

请参阅引用外部程序集

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM