NameValueCollection 到字符串?帮助
我编写的服务等待请求,当请求到达时,它会提取查询字符串,对其进行解析并将值保存在数据库中。但是,由于某些奇怪的原因,我无法将 System.Web.HttpUtility 类与 Windows 服务一起使用。我尝试了一些在网上找到的示例,但它们都包含 HttpUtility 类。
非常感谢任何帮助或建议!谢谢你!
The service I've written waits for requests and when one arrives it extracts the querystring, parses it and saves the values in database. However, for some odd reason I cannot use the System.Web.HttpUtility class with windows service. I've tried some of the examples i've managed to find on the net but all of them included HttpUtility class.
Any help or suggestion is greatly appreciated! Thank you!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的项目中是否包含了 System.Web.dll 程序集?
Have you included the System.Web.dll assembly in your project?