有人能告诉我如何处理验证模式@ asp.net mvc 3?我的webconfig没有标签认证的条目,因为我不知道哪种模式是可以适应的!
参考标题:
我想隐藏一些导航按钮@View,我尝试使用"if(User.Identity.IsAuthenticated)",但这总是正确的,即使我没有登录(在网站上!)
有人有想法?
最好的祝福
authentication asp.net-mvc web-config
asp.net-mvc ×1
authentication ×1
web-config ×1