Now that we have created our action filter, we need to apply it to our Controllers or optionally, to our Actions.
现在我们已经创建好操作过滤器了,我们需要将其应用到控制器上,或者有选择地应用在操作上。
I want to ask where I should check user permission access: in the Custom Action filter, or the Custom Authorization filter?
我想请问我应该检查用户的权限访问:在自定义操作过滤器,或自定义授权过滤器?
I want to ask where I should check user permission access: in the Custom Action filter, or the Custom Authorization filter?
我想请问我应该检查用户的权限访问:在自定义操作过滤器,或自定义授权过滤器?
应用推荐