membership-provider

Admin pages to manage asp.net membership provider & Role management

戏子无情 提交于 2019-12-03 04:23:00
问题 Are there any open source projects that provide a front end to asp.net membership provider? Something like the one visual studio exposes through it configuration, but one that can be deployed on production. Examples of some of the functionality I would like to see in the front end is Add users Delete users Reset password Change roles. Add roles Etc 回答1: I found this MembershipStarterKit From TroyGoode on github: What is the Asp.Net MVC Membership Starter Kit? The starter kit currently

ASP.NET simple membership provider?

允我心安 提交于 2019-12-03 00:44:54
I opened Asp.Net Mvc 4 Internet App. template. And I set connection string for my database like this: <connectionStrings> <add name="DefaultConnection" connectionString="Data Source=ALI-PC\;Initial Catalog=OsosPlusDb;Persist Security Info=True;User ID=sa;Password=sa;" providerName="System.Data.SqlClient" /> </connectionStrings> I run project, click register button. I created a new user like this: When I click register to post I get this error: But it creates a new user in DB and it does not create membership_user (Membership table is not contain added user info): I cant find What is the

Microsoft Membership Provider Vs Custom Provider Vs Complete Custom Login System

♀尐吖头ヾ 提交于 2019-12-02 20:17:34
I am currently converting a very old, but working classic ASP site to ASP.Net. It has a completely custom written user management system. Whilst it works fine, it really needs a refresh as I want it to be more flexible for some future projects in the works. When I asked someone about this, they said "You need to use the Microsoft Provider" and gave a lecture on how Microsoft release all these things for free and how good they are and should be re used as much as possible. I have done quite a bit of research on it (mainly looking at the videos on http://asp.net/learn ) and am very impressed by

Membership systems for MVC4 that support RavenDB

ε祈祈猫儿з 提交于 2019-12-02 19:31:32
I create a lot of quick "proof of concept" MVC apps and I actually found the SimpleMembership provider that shipped with the MVC4 templates to be very handy since it gets me up and running with user registration & OAuth in a matter of minutes. But...I've started to use RavenDb (on RavenHQ for a lot for my projects). So, I starting trying to implement my own "custom membership provider" based on the ExtendedMembershipProvider and while doing that I realized that didn't make much sense. I later stumbled upon 2 interesting projects that try to solve this exact problem: WorldDomination.Web.Auth:

Admin pages to manage asp.net membership provider & Role management

主宰稳场 提交于 2019-12-02 17:38:17
Are there any open source projects that provide a front end to asp.net membership provider ? Something like the one visual studio exposes through it configuration, but one that can be deployed on production. Examples of some of the functionality I would like to see in the front end is Add users Delete users Reset password Change roles. Add roles Etc I found this MembershipStarterKit From TroyGoode on github: What is the Asp.Net MVC Membership Starter Kit? The starter kit currently consists of two things: A sample website containing the controllers, models, and views needed to administer users

A Custom Membership Provider *Without* a Database?

守給你的承諾、 提交于 2019-12-02 12:30:13
I've been looking around various SO questions, blog posts, and so forth regarding the changes to membership providers in MVC 4. While I like many of the changes and the simplification of things (particularly the out-of-the-box external login support), I'm as yet unable to find one seemingly-simple thing... How can I override the membership/role provider with a custom one that uses another data source? I don't want to replace WebSecurity or anything that drastic, since it handles all of the things I want it to handle. (Cookie management, for example.) I don't want to do anything that will break

Wiring up ASP.NET Web Application using Forms Authentication with SqlMembership Provider on Azure

不羁岁月 提交于 2019-12-02 11:37:35
问题 I'm experimenting with the Microsoft Azure portal in order to see how my legacy application performs with the least amount of rewrite. Authentication is a problem. Background: this ASP.NET web application currently uses the SqlMembership Provider for Users, Roles, Profiles and Personalization. Yep, there has been a lot of blogging about the ASP.NET Identity, Simple Membership, Universal Providers and that the asp.net SqlMembership Provider is being phased out. But, if possible I'd still

ASP.NET Membership Issues With Registration

我怕爱的太早我们不能终老 提交于 2019-12-02 09:08:36
I'm having a rough time with this membership stuff. OK, so, it's really odd. I can register a user. I can register, I can login. However, when I go to register ANOTHER user the user isn't saved in the database and I get a Membership credential verification failed event when the user tries to login (I assume because the user is never being saved). Here is the code I am using to save a new user. On the page: protected void btnRegister_Click(object sender, EventArgs e) { if (false == ValidatePage()) return; FormsAuthentication.SignOut(); MembershipCreateStatus status; Data.User user = UserManager

ASP.NET MVC3 Custom Membership Provider - The membership provider name specified is invalid

[亡魂溺海] 提交于 2019-12-01 23:29:39
问题 I'm implementing a custom membership provider, and everything seems to go swimmingly until I create a MembershipUser object. At that point, I receive the error: The membership provider name specified is invalid. Parameter name: providerName In web.config the membership key is <membership defaultProvider="MembersProvider"> <providers> <clear/> <add name="MembersProvider" type="Members.Providers.MembersProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false"

Access Membership User On Session End

梦想的初衷 提交于 2019-12-01 22:26:44
问题 I'm currently trying to write a little bit of code to do some tidying up once a user abandons their session (either via time out or logging out) however would like to access the User object so I know who the session belongs to. Unfortunately HttpContext is null so I can't access HttpContext.User or HttpContext.User.IsInRole or even the auth cookie directly. I understand the reasons behind this but wonder if there is there any other way to get access to this information when a session times