简体   繁体   English

使用WCF数据服务的查询字符串中的Api键

[英]Api Keys in Query String with WCF Data Services

I'm using query string based api keys for my WCF Data Service. 我正在为WCF数据服务使用基于查询字符串的api键。 I can handle this on the server pretty easily -- How would you implement API key in WCF Data Service? 我可以在服务器上轻松处理此问题- 您将如何在WCF数据服务中实现API密钥?

However, how do I send the extra query string arguments from the client, using the Add Service Reference feature of VS2010? 但是,如何使用VS2010的“添加服务引用”功能从客户端发送额外的查询字符串参数? I saw an example for doing it when querying, but certainly not when adding/updating objects. 我在查询时看到了执行此操作的示例,但在添加/更新对象时肯定没有。

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

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