如何在WCF中读取查询字符串值? [英] how to read query string values in WCF?

查看:109
本文介绍了如何在WCF中读取查询字符串值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





这可能非常简单,但我找不到在WCF休息服务中读取查询字符串值的方法。我试过以下但没有快乐



HttpContext.Current.Request.QueryString [name]



提前致谢

Hi,

This may be very simple but i am not finding a way to read query string value in my WCF rest service. I tried the following but no joy

HttpContext.Current.Request.QueryString["name"]

Thanks in advance

推荐答案

此视频 [ ^ ]可能对您有帮助。
This video[^] might help you.


这篇关于如何在WCF中读取查询字符串值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆