简体   繁体   English

Microsoft Visual Studio 2013和成员资格

[英]Microsoft Visual Studio 2013 and Memberships

As you know, Microsoft removed ASP.NET Web Configuration Tool in VS2013 and it is a bad downgrade for it. 如您所知,Microsoft在VS2013中删除了ASP.NET Web配置工具,这对于它来说是一个严重的降级。 thanks THIS post that shows a way (but difficult) to use ASP.NET Configuration Tool. 感谢这篇帖子,它显示了一种使用ASP.NET配置工具的方法(但很困难)。 so what is the easiest way to define memberships, roles, users, access rules and ...? 那么定义成员资格,角色,用户,访问规则和...的最简单方法是什么? ASP.NET Web Configuration Tool was really simple and user friendly. ASP.NET Web配置工具非常简单且用户友好。

Any more suggestions would be greatly appreciated. 任何更多的建议将不胜感激。

Microsoft is moving membership system from Membership Provider to ASP.NET Identity . Microsoft正在将成员资格系统从“成员资格提供程序”迁移到ASP.NET Identity

However, if you want to use Membership Provider there is a new one called ASP.NET Universal Providers . 但是,如果要使用成员资格提供程序,则有一个新的名为ASP.NET通用提供程序

ASP.NET Universal Providers supports NuGet package, and the package will create the requires membership tags in web.config. ASP.NET通用提供程序支持NuGet程序包,该程序包将在web.config中创建require成员资格标签。

在此处输入图片说明

Setting up membership/roles isn't much difficult once you understand the basics. 一旦了解了基础知识,就可以轻松设置会员资格/角色。 You will love to set things up directly in the web.config, once you start using it. 一旦开始使用它,您将喜欢直接在web.config中进行设置。

Check these: 检查这些:

Setting up Membership 设置会员资格

Setting up authorization rules 设置授权规则

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM