WCF初试,用JQuery实现loading的功能
1.建立WCF project

默认的方法改为
public string GetData(int value)
{
System.Threading.Thread.Sleep(5000); //模拟等待
return string.Format("You entered: {0}", value);
} 
默认的方法改为
public string GetData(int value)
{
System.Threading.Thread.Sleep(5000); //模拟等待
return string.Format("You entered: {0}", value);
}