![](/img/trans.png)
[英]Use cookie, authorize attribute, create session for application in .net core 2.1
[英]RequiredIf conditional attribute in .net Core
如何在.NET Core 中實現RequiredIf 條件操作以進行基於模型的驗證。
在 ASP.NET MVC 中,曾與 ExpressiveAnnotation 包一起使用,但不適用於 .NET Core。
UoN.ExpressiveAnnotations.NetCore是用於 .NET Core 應用程序的包,功能與 MVC 的ExpressiveAnnotation包相同
參考網址: https : //github.com/uon-nuget/UoN.ExpressiveAnnotations.NetCore
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.