I've asked this before but I'm resurrecting it because I didn't get a satisfactory response.
I have a profile variable, and when I load it then it is assigned default values. I need to check to see if it has ever been assigned. Typically I'd use an is null comparison but that won't work.
It was suggested I use the FindProfilesByUserNam...
I has method which should return users with highest points.
Points are stored in aspnet_Profile table, so i can get these points in the way like this: ProfileBase.Create(mu.UserName).GetPropertyValue("Points").
So at first i call
IEnumerable<MembershipUser> users = Membership.GetAllUsers().Cast<MembershipUser>();
and then (i'm usi...
Hi.
I am converting a webforms app to mvc. I implemented localization in webforms this way:
The user selects the language, which BTW can be an rtl language, and the selection goes into the user profile in order for it to persist the next time the user visits the site. I used anonymous profiles.
also, I used resource files.
The db table...
In asp.net (using MVC, but this happens in regular too)
Profile.GetProfile(username);
will update the LastActivityDate for that user. This is not intended when someone else is viewing that user's profile.
In the membership class you can specify whether to update this date with a second param, like so:
Membership.GetUser(username, fa...
Does the ASP.NET SQL Profile Provider use caching? I mean if I pull data from the profile for a user will it hit the DB for each request?
I'm looking for a setting or any information on this. I had thought I read it would use cookies but I can't find this now.
Edit:
http://msdn.microsoft.com/en-us/library/aa478953.aspx describes proce...
How does ASP.NET profiles handle versioning? I know because the data is serialized this could be a problem where with tables it is not.
Will it throw some sort of serialization error?
Example: I store a v1 object to the profiles. I update my web application with a new v2 version but the database still contains v1 objects.
What will ha...
I have multiple profile providers and profile types:
ProviderA with ProfileA
and
ProviderB with ProfileB
They both use a different database. I want to be able to say:
ProfileB.Create(...), and the profile is created in database B, whilst ProfileA.Create(...) creates the profile in database A.
How the hell do I configure this in my we...
Hello,
We have an ASP.Net web application currently released to the public, that uses Membership and Provider features and have our users assign to a "Basic" role. What we are working on doing is developing an administrative site, so that administrators (presumably to be assigned an "Admin" role) are able to login to the administrative...
With this question I am mostly looking for answers from people that have implemented the out-of-the-box ASP.NET membership in their own database - I've set up the tables inside my database and as far as I can see they contain mostly what I need but not everything. I will have the notion of a Firm (Company) to which Users will belong so I...
Hello,
I have a bunch of site's that use the .net membership profile.
Some of the sites have 1000+ users with profiles.
Is it safe to add new profile elements?
Like if I want to add: twitter account as a profile element.
Will this have any conflicts with existing profiles?
http://msdn.microsoft.com/en-us/library/ms164644.aspx
from m...
How can I create a group in my custom asp.net profile class? I can easily add simple properties but I want to group my data.
...
I discovered ASP.NET profiles a few years back and found it quick and easy to implement some powerful functionality in my web site. I ended up exclusively using "anonymous" profile properties because I am NOT using ASP.NET membership and wanted to track information and provide personalization for my site's users even though they weren't ...
I am using ASP.NET profiles with allowAnonymous="true". I am NOT using ASP.NET membership. I recently took a hard look at the aspnetdb database and noticed that although my site gets 600-800 unique visitors daily, there are 4000-5000 "users" being created in the database.
Clearly what is happening here is the users with cookies disabled...
Given a profile field I store with each user the following way:
Context.Profile.SetPropertyValue("IsSubscribed", isSubscribed.Checked);
Context.Profile.Save();
How would I on another page fetch all users email addresses where isSubscribed = true?
...
Hi All,
I am fairly new to Silverlight and RIA services, and I am trying to build a small project to understand it. So basically I created a Business Application, and I have the normal Login screen where I can add a user. That is fine and I can add a user and get him into the aspnet_Users table. Now I have created some extra fields, ...