Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Visual Studio 有一个名为 ASP.NET 配置的工具。
使用此工具创建的用户和组会更新数据库,并将更改反映到系统中。虽然访问规则看起来没有效果。
我唯一能看到的是,如果我用 [Authorize] 标志装饰我的方法,我只能让组中的授权用户有权访问特定的控制器或操作。
那么,在 ASP.NET 配置中具有此访问规则配置选项有什么意义。
PS:甚至我的 web.config 文件都没有改变。那我必须手动更新。
此问题的 Awnser 已在此处讨论。
http://forums.asp.net/p/1861408/5222219.aspx/1?p=True&t=634895938709382961
非常感谢