asp.net-membership

Can you use the asp.net membership provider in a windows application?

The Asp.Net membership provider has some clear uses in a web app. I am thinking about trying to leverage some of the features in a windows application (more specifically WPF). Does anyone know if it is possible to use the core features in a windows app? I am mostly just looking for it to create my database tables, and maintain users, ...

ASP.NET sessions timing out using SQL Membership Provider

Hi. I changed over from the in process membership provider to the sql membership provider to stop people losing their sessions when the website process recycled, but sessions still seem to time out. Are there any other things (apart from the session timeout variable set in the web.config) that would cause a session to timeout when usin...

How to design a User Object Model using MS Roles & Membership

I would like to build a ‘User’ Object model for a somewhat typical web application…however I cannot decide how best to design the object model & role system. Basically I plan to have about 4 user types…which will correspond to user ‘roles’ in the membership provider. These types will be: • Worker • Employer • Guest • Admin Th...

Associating multiple e-mail addresses with ASP.NET MembershipProvider accounts

For a project I am currently working on, I am interested in allowing users to provide multiple e-mail addresses, both for contact purposes as well as providing address book-based social matching. I plan to write a custom membership provider (aspnet_Membership table is too heavy for my liking), but the MembershipProvider system only allow...

ASP.NET Membership provider with SQL schema's

I would like to use the ASP.NET Membership Provider security framework but would like it to use SQL Server schema's. So instead of having tables such as aspnet_Membership I would prefer it to be something like sec.Membership. Has anyone tried this and got it to work? ...

Search ASP.Net Profiles

I am looking for a way to search through every users profile using the standard ASP.Net Profile Provider. Is this possible, or should I create a new Profile Provider? Here is the scenario: User registers User sets up their profile (favorite color, favorite book, country, etc) User is then able to browse other users who, for instance,...

I need to change the style and control use of the asp:Login control button

Is it possible to get the source and code behind of the control so I can manipulate it myself? That way I can keep using the Membership and have the ease of functionality, but can use my own controls. I'm sure there is an easy solution to this. Thanks. ...

ASP.Net Membership.DeleteUser

In testing, the user on a db i've used was a big jefe. in production, he only has Execute. When i called Membership.DeleteUser(user) in testing, it worked. I try the same in production, and i get this: The DELETE statement conflicted with the REFERENCE constraint "FK__aspnet_Us__UserI__37703C52". The conflict occurred in database ...

ASP.NET Membership Web-Based Administration

Hi, Does anyone know if there's a way to manage users/roles in the asp.net membership database using a web-based interface you can access remotely? I need one which doesn't require installation to the Default Website. Thanks ...

ASP.NET Forms Authentication using third party javascript library

I have a website where I currently use ASP.NET's built in Authentication, profile and role management. I would like to move some functionality (including authentication) to the client side using a third party javascript library like JQuery or Mootools without the use of ScriptManager and generated proxy classes. There is very limited in...

Porting Active Directory Authentication to use SQL Membership Provider

I'm looking at moving my application from using active directory membership provider to using sql server provider. The main hiccup we are looking at is no being able to retrieve the user passwords from AD. Does anybody have any ideas? Anybody think I should just leave AD alone? ...

ASP.NET Membership Password?

If I require a password to be between 7 and 16 characters and contain at least 1 numeric password and then send a temporary password that contains no numeric characters and % signs and the ^ sign, will the password fail? ...

Asp.net membership error

We have a live running business system with an error which occurs from time to time. The error is according to the stack trace comming from the asp.net membership provider. It does not seem to matter which user is currently logged on. As far as i can tell the asp.net membership tables in the database are fine. Example of a code row gene...

Hide authorized menu item in asp.net web.sitemap

I have a web.sitemap with security trimming enabled, however I need to hide a menu item based on a role to a page that has no access rules in the web.config. i.e I have a Campaign page that is used to view existing campaigns as well as to add new campaigns, but I want the "New Campaigns" menu item to be hidden for anonymous users. I tri...

Looking for a .NET library to do authentication that support multiple sources.

I'm looking for a suggestion for a .NET library which can allow me to use in an ASP.NET application so that I have one profile for each user, but can associate authentication from multiple sources including: ASP.NET Forms based, windows live id, google, facebook, openid, etc... I want people to come to my website and be able to associate...

Sharding with ASP.NET's SqlMembershipProvider?

I'm considering writing a blog hosting app in ASP.NET MVC. I'm new to .NET, but I'm reasonably competent in the LAMP world. My question concerns horizontal scaling of user data. Each user with a blog would have something like 6 tables in a database. I'd like to plan for horizontal scaling so that 20% of the users could be on one data...

Safe to remove unused ASP.NET membership tables?

I'm going to be using the ASP.NET Membership model on my website. However, there are multiple tables that I do not plan to ever use, such as: aspnetPaths aspnetPersonalizationAllUsers aspnetPersonalizationPerUser aspnetProfile aspnetWebEventEvents Is it safe to delete these tables or will I cause problems with the way ASP.NET's membersh...

Easiest way to implement this dynamic login scheme for asp.net

I currently have a site where different users can login, and depending on their sub domain, are presented with different data from different databases. I am overriding the SqlMembershipProvider to use a "temp" connection string, that I dynamically set during the Initialize Method, per this post's instructions: http://forums.asp.net/p/9...

ASP.NET Membership staying authenticated issues

So, my application is being odd in the fact that when you login you will stay logged in for a page or two then get lost. My settings are this: <authentication mode="Forms"> <forms name=".ASPXFORMSAUTH" timeout="20"/> </authentication> <authorization> <allow users="*" /> </authorization> <membership defaultProvider="MySql...

ASP.NET connectionStringName and MemberShip Provider name

"apparently it works" Can you name reasons beyond good practices not to give these two: connectionStringName and Membership Provider name the same string value? could this be an issue? as in: <membership defaultProvider="MySqlConnection" userIsOnlineTimeWindow="45"> <providers> <clear /> <add name...