Can't include Microsoft.Security.Application?

后端 未结 6 1061
离开以前
离开以前 2021-02-19 01:55

I can\'t include Microsoft.Security.Application

using Microsoft.Security.Application;

Gives this error:

6条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-19 02:18

    If you get this nuget all extention objects are visibles

    Install-Package AntiXSS

    it solves my problem.

    html = Microsoft.Security.Application.Encoder.HtmlEncode(model.SiteName), model = Microsoft.Security.Application.Encoder.HtmlEncode(json),

提交回复
热议问题