【发布时间】:2012-01-04 18:28:13
【问题描述】:
我收到此错误:找不到片段“GetTest”的资源。
代码是这样的:
[WebGet]
public IQueryable<string> GetTest()
{
var tmp = new List<string>();
return tmp.AsQueryable();
}
有什么想法吗?
【问题讨论】:
-
我们可以看看您的客户端实现吗?你怎么称呼它?有没有可能返回null?