Microsoft.AspNetCore.Antiforgery was not found

后端 未结 7 2039
终归单人心
终归单人心 2020-12-20 12:48

I\'m deploying a asp.net core 2.0 website to IIS 10.

I\'ve made sure that my app is using the correct configuration for ISS in the program.settings file.

<         


        
相关标签:
7条回答
  • 2020-12-20 13:34

    This also problem happens if Antiforgery is called but Antiforgery is not installed.

    Can be fixed by installing Microsoft.AspNetCore.Antiforgery by Nuget package manager.

    0 讨论(0)
提交回复
热议问题