小编use*_*423的帖子

如何使用asp.net在Web服务中获取所请求的URL?

我正在编写一个WebService,想要找出客户端用来调用我的WebMethod的URL.

好的..我会详细解释..

假设我有一个webservice(http://myWebservice/HashGenerator/HashValidator.asmx),如下所示

[WebMethod]
public string ValidateCode(string sCode)
{
  //need to check requested url here.The call will be coming from different sites
  //For example www.abc.com/accesscode.aspx
}
Run Code Online (Sandbox Code Playgroud)

请给我一个解决方案.

c# asp.net web-services

9
推荐指数
3
解决办法
4万
查看次数

如何在所有浏览器中都没有状态栏和地址栏的全屏模式下显示网页?

如何在所有浏览器中以全屏模式显示没有状态栏和地址栏的网页,也不应显示任务栏.

javascript c# asp.net jquery

0
推荐指数
1
解决办法
6397
查看次数

标签 统计

asp.net ×2

c# ×2

javascript ×1

jquery ×1

web-services ×1