I've created an MVC application and I've set up Roger Martin's sqlite Providers in place of the default Providers. I'm curious about how I would go about unit testing these.
Below is a stripped down method that has many validations, only one of which is still present. Among other things, I want to write tests that ensures one can't ...
hi i would like to ask for guidance on how to use membership in asp.net mvc. my system is to make somewhat like a profile for every logged in user. any guide or links is much appreciated
...
Are there any known issues/limitations with using the asp.net membership db with respect to handling several registrations daily? My scenario is for an event booking system that captures and stores the users details (Name, number, e-mail, etc...) along with the event details. It is expected that about 100 new/returning users will use the...
I am trying to find a way to handle two types of users for an intranet system. There are users who login and there are those who do not. I need to store both types of users in the membership db. Does anyone have a common solution to this problem?
This is for an event booking system. The users who are in AD will see the app. We need to s...
Hello,
I'm using ASP.Net membership to secure my site and I have a question about how to store extra user information. By googling and reading other questions I think the 3 accepted approaches to storing additional data
Profile framework - generally regarded as too restricting
Custom Profile provider - a little bigger than I want to ...
Hi everyone,
I have a question about the far right column of your Xcode project (image here)
Apple's documentation tells me this about that column:
Target membership. The column marked
by the target icon indicates whether
the file is included in the active
target. If the checkbox next to a file
is checked, then the active t...
Hi Guy's,
Im using a custom profile class within my mvc app but i cannot access a property in my view.
Here is some code
Web.config
<profile inherits="ValuePack.Helpers.ProfileCommon" defaultProvider="AspNetSqlProfileProvider" automaticSaveEnabled="false" enabled="true"> <providers>
<clear />
<add name="AspNetSqlProfileProvider" t...
Hi, I'm using linq to SQL along with asp.net membership provider. I have three roles set up but want to get only the users of a particular role. This is my query to return all users
public IQueryable<aspnet_User> GetAllMembers()
{
return db.aspnet_Users.OrderByDescending(u => u.UserName);
}
Can anyone point me in the right ...
Hi,
I'm working on an ASP.NET solution with 2 projects. One is the web interface and the other contains my business logic. I'm using LINQ to SQL for my data access in the second project.
Apart of my database, I have a table called Users which holds user information.
I've started to implement a MembershipProvider. I notice that Members...
I have just created a user in ASP.NET MVC ,and i want to insert him into Membership table. How can i do that? , because i can`t insert into Membership_Users
thanks
...
Does the spring framework support multi applications sharing a common user base?
e.g. 2 separate web applications somehow hook into a single database to get user related information (username, password, and maybe even roles)
The idea is this, something similiar to asp.net membership
it works like this, you can have 10 websites, all pu...
Is it possible to specify what is returned by RoleProvider.GetRoles() if a user is not logged in? I was thinking in case of a 'Guest' user account.
...
I am using a CreateUserWizard.
By default, the validation error messages are shown in the bottom of the control. Can I change this positioning to be shown above the control so that it is consistent with my other pages?
When a user fails to enter a required fied, it displays a asterisk * next to the field. Can I have it also display so...
When the Login Control is used with MasterPages, the ValidationSummary does not show the validation messages. I have set the ValidationGroup property to the ID of the Login control.
I tried using the approach at Link
with no luck.
Thanks
...
Hi all.
I am using asp.net 2.0. I have been using asp.net membership provider for user management. But I think this would be more efficient if I could do this without using role and membership provider provided in asp.net. In fact I see bulky markups generated when I add login control,
createuser control etc. in an asp.net web page.
B...
I'm using forms authentication in my C# based web site, with the authentication defined in web.config files in the various folders/sub-folders. I want to write a generic administration menu system, that lists all of the admin pages that the use is authorized to open. As I add pages, I want them to automatically show up in the menu. So......
Hi,
I'm working on a C# Webservice that needs to provide authentication as well as roles and profile management. I need each profile to have a property of type List. The profile section in the web.config looks like this:
<profile defaultProvider="MyProfileProvider" enabled="true">
<providers>
<remove name="MyProfileProvider"/>
...
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 ro...
I'm just wondering if the built in Hashing in the ASP.Net membership good password security, or if there is more that I should do to protect my passwords? If so, what should I look into for a higher level of security?
...
I am going crazy, when I go into the Web Site Administration Tool to create some new users, it always tells me that my password is not 7 characters long.
Error msg:
Password length minimum: 7. Non-alphanumeric characters required: 1.
Here is my web.config, seems like it is not even looked at.
<membership userIsOnlineTimeWindow="20"...