标签:style http color ar sp html on c line
HttpUtility.HtmlEncode用来防止站点受到恶意脚本注入的攻击
public string Welcome(string name, int numTimes = 1) {
return HttpUtility.HtmlEncode("Hello " + name + ", NumTimes is: " + numTimes);
}
标签:style http color ar sp html on c line
原文地址:http://www.cnblogs.com/ssef/p/3959212.html