我试图使用html页面中的PageMethod在aspx页面中执行jQuery,这在我的本地机器上运行得很好。但是,当我将网页部署到远程生产web服务器时,在执行ajax请求时会出现401个未经授权的错误。我的代码如下。dataType: 'json',
timeout: 180000, //3 minutes is timeout for this ajaxPageMethod被编译成ASP.Net网站中的dll,因
但是,当我尝试在构造函数中设置断点时,每次调用pagemethod时都会遇到断点。有没有人可以告诉我构造一个实例需要什么?谢谢public partial class PageMethod : System.Web.UI.Page {
public static string GetMessage() return "Page Method Ca