Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我应该使用什么方法在 c#asp.net razor 中进行输出过滤
AntiXss.HtmlEncode
或者
HttpUtility.HtmlEncode
您可以自己选择答案:
AntiXss.HtmlEncode 和 HttpUtility.HtmlEncode 有什么区别?
AntiXss.HtmlEncode 和 HttpUtility.HtmlEncode 方法的区别