Questions tagged [asp.net-membership]

ASP.NET membership gives you a built-in way to validate and store user credentials.

ASP.NET Membership works on top of forms-authentication and gives you:

  • Ability to create and store users and their passwords with little or no code.
  • Out-of-the-box support for changing, resetting, retrieving and encrypting passwords.
  • Choice of two storage locations - SQL Server and Active Directory.
  • Custom providers can be created to store users in custom stores

Resources

MSDN - Introduction to Membership
4guysfromrolla - Examining ASP.NET's Membership, Roles, and Profile

3256 questions
1
vote
2 answers

asp.net membership activity log

I am looking for a simple way to track user activity of an asp.net membership enabled site. I would like to see who is accessing what pages and when, total visits for each page, etc. Are there any open free solutions out there or a good example?
Asmussen
  • 430
  • 1
  • 6
  • 22
1
vote
4 answers

Modifying ASP.NET Membership Schema

So I'm using Forms Authentication on my site, and I've set up all the tables and stored procedures in SQL Server. The only thing is, I really don't think I need all these tables, and I'm not a big fan of the table names either. For instance, I'm…
Steven
  • 18,761
  • 70
  • 194
  • 296
1
vote
1 answer

confused about openid

Q: The first time i use the Open ID was in my favorite site stackoverflow , i like it so much, from this time to now, i have a set of questions about it: What are the advantages of the open id ?is it just a login facility(more usable than the usual…
Anyname Donotcare
  • 11,113
  • 66
  • 219
  • 392
1
vote
1 answer

using a RenderAction method throws an exception

i have this (simple) code <% Html.RenderAction("Version", "Generic"); %> in my masterpage of my asp.net mvc 2 app. This method returns the version of the application. i also have this code in my controller: class GenericController : BaseController …
Michel
  • 23,085
  • 46
  • 152
  • 242
1
vote
2 answers

using asp.net membership provider in a dll

I've used Membership Providers in web apps over the last several years. I now have a new "request" for an internal project at work. They would like a service (not a web service) to do a quick authenticate against. Basically, exposing the…
Keith Barrows
  • 24,802
  • 26
  • 88
  • 134
1
vote
3 answers

How to use ASP.NET membership provider for pre-exists data

I already got a table stored all customer information. Such as name, email phone, password and other things. In this case, how can I take advantages of asp.net membership/role/profile provider? I want to use annotation in MVC2 to do authentication…
user469652
  • 48,855
  • 59
  • 128
  • 165
1
vote
1 answer

Displaying content dynamically based on user role

My page hides content if the user isn't in a role that should see it. Currently I have 2 roles that can see this content: global and admin. If the user is in either of these roles, they should be able to see the content, but I'm having trouble…
Ortund
  • 8,095
  • 18
  • 71
  • 139
1
vote
1 answer

MS Edge handles 401 errors thus bypassing my error handler

I have code to make ajax calls to my web service in javascript as follows: $.ajax( { url: url, data: json, type: "POST", processData: false, contentType: "application/json", …
1
vote
0 answers

.Net RIA Services - Membership API - SQL Server?

I have an existing ASP.Net application using the Membership API. The Membership API is hosted in SQL Server (not SQL Express) and is in the same database as the application data. I want to port the application to a Silverlight Business Application.…
Jim Evans
  • 6,285
  • 10
  • 37
  • 60
1
vote
1 answer

Facebook with Membership Provider?

I am using Facebook connect for my project with custom written code to deal with authentication, Do you suggest using Membership provider to deal with users or should i develop some custom Database in Backend. Please give a hint on how to do in any…
Shekhar_Pro
  • 18,056
  • 9
  • 55
  • 79
1
vote
1 answer

Serving videos from Amazon S3

If I host video or any other media content on Amazon S3, how can I use ASP.net Membership to enforce access rights?
TheVillageIdiot
  • 40,053
  • 20
  • 133
  • 188
1
vote
1 answer

EF + Code First + MemberShip

What I'm trying to: Get User By Id => Use the Id to get the cases the user have assigned => Return the cases. My question is: I know that I need to reference the MemberShip User table to the Cases table, but should I define the membership User table…
ebb
  • 9,297
  • 18
  • 72
  • 123
1
vote
1 answer

We have a ghost in our ASP.Net membership controls

We have a website set up that uses 2 differrent databases. They way it is set up now is that when you go to www.website.com and login, once authenticated you will have a cookie that is set to website1ConnectionString. Everytime that we call a…
1
vote
1 answer

Issue with remember me in asp mvc membership

I have https website and I am using membership for logins and my code in controller: int timeout = rememberme ? 2880 : 2; // Timeout in minutes,525600 = 365 days var ticket = new FormsAuthenticationTicket(username, rememberme, timeout); string…
1
vote
2 answers

create sql database from sql express database

I am working on asp.net membership website. I created the membership provider automatically, and now its stored in sql express database within the solution. I want to move all the tables to sql database instead of sql express. Last night I attached…
Laziale
  • 7,965
  • 46
  • 146
  • 262