Friday, February 8, 2008 1:10 PM rrobbins

Membership, Profile & Role Management Frustration

I've been migrating a classic ASP web application to ASP.NET 2.0. I'm converting the existing user management system to the ASP.NET 2.0 profile, roles, and membership API because it is the new standard. However, I have been frustrated by the lack of a back end user management system. Microsoft provided the Web Site Administration Tool which can be invoked in Visual Studio during development but you can't use that as part of your web application management back end. There really should have been a pre-built user management tool to include in your project.

I've been working on my own set of pages to manage users, profiles, and roles but I suspected that I was duplicating work that many other developers have done. Yesterday I tried using the Membership Editor that Peter Kellner developed. It was written in C# and I'm using VB because the ASP web application is in VBScript. Fortunately, I was able to copy the C# classes into my App_Code directory without doing a conversion because you can mix C# and VB code using seperate folders in that directory. All I had to do was convert the Membership.aspx code behind page to VB. This is certainly an improvement over my set of custom pages.

Today I searched for open source projects that might address this need. On CodePlex I found a few promising projects:

1. http://www.codeplex.com/sbMembershipSuite this seems to be an AJAX solution. AJAX is a bit fancy for a back end site. I would only consider AJAX for a public web site, but I'll take AJAX as long as I'm not writing the code! There is also some talk of MVP and unit tests which may make it too complicated for my skill level.

2. http://www.codeplex.com/IAAA - the screenshots show a very nice design. Also seems to be using some AJAX.

3. http://www.codeplex.com/CodeFxMySqlProvider - role, profile, and membership providers for MySQL.

I agree with the comment I found on the first open source project, "It is a common use case to desire having non technical people provided access to membership administration. I am, frankly, surprised there is nothing from the mothership." This is a perfect opportunity for the ASP.NET community to come together and create a tool to meet a real need. Creating the user management administration is just a tedious chore, simple CRUD work, that has little commercial value. It should be provided as an open source solution available to every ASP.NET developer.

Unfortunately I don't see any evidence of collaboration on these CodePlex projects. They all have a single developer listed. It would be a shame if there is little collaboration among ASP.NET developers. That would mean we just don't get it. The whole point of community is to put the wisdom of the crowd to work finding solutions to common problems. We should not be wasting our time duplicating the same effort. I'm sure PHP developers don't need to write a lot of code from scratch because they have a wealth of open source web applications with plenty of modules and plugins.

That reminds me that this web application will be sharing a database with DotNetNuke which also uses the ASP.NET 2.0 role, membership, and profile API. It may be possible to manage users with its tools.

Filed under: , , ,

Comments

# re: Membership, Profile & Role Management Frustration

Friday, February 8, 2008 5:04 PM by Danny Douglass

I've gone down this same route before.  It is incredibly frustrating how little OS code is available for the administration of these awesome providers.

Now I'm on for a search on a decent ASP.NET/C# Photo Gallery (ideally that uses AJAX .NET 3.5)...don't know of any do you?

# re: Membership, Profile & Role Management Frustration

Sunday, February 10, 2008 1:33 PM by Brian Sullivan

I feel your pain, man.  I'm converting a classic ASP site to ASP.NET right now, too.  Of course, the backend database is DB2 and we need to stick to the existing set of custom tables, so I'm having to create my own providers.  I'm glad the model is there, though, much better than the thousands of lines of VBScript and COBOL that was being used before.

# re: Membership, Profile & Role Management Frustration

Wednesday, February 20, 2008 11:06 AM by Joe

the one on dotnetbips is OK - I got a while ago - the code was a bit messy and I had to fix several bugs but was the only thing I could find at the time

# re: Membership, Profile & Role Management Frustration

Sunday, December 19, 2010 7:42 PM by cheap ipad accessories

Nothing is impossible!

-----------------------------------

# re: Membership, Profile & Role Management Frustration

Tuesday, January 4, 2011 6:05 PM by best ipad accessories

-----------------------------------------------------------

"Good luck acquiring people behind this one particular.  Although you make some Really fascinating factors, youre heading to should do far more than bring up a couple of details that  may perhaps be diverse than what weve previously heard.  What are wanting to say here?  What do you want us to feel?  It seems like you cant really get at the rear of a  unique thought.  Anyway, thats just my opinion."

# re: Membership, Profile & Role Management Frustration

Sunday, January 9, 2011 6:05 PM by ipad app

-----------------------------------------------------------

"Hi there, I observed your weblog through Yahoo while looking for 1st assist for a coronary heart assault and your publish looks incredibly interesting for me."

# re: Membership, Profile & Role Management Frustration

Sunday, March 13, 2011 6:55 AM by ps3 games reviews

Remember to, can you PM me and inform me couple of a lot more thinks about this, I'm really admirer of your blog...gets solved correctly asap."

--------------------------------------------------------------------    

Computer Science

# re: Membership, Profile & Role Management Frustration

Wednesday, April 27, 2011 6:35 PM by iphone apps cydia

with thanks ! extremely useful submit!

--------------------------------------------------------------------        

Medical Sciences

# re: Membership, Profile & Role Management Frustration

Thursday, November 17, 2011 4:08 AM by sam

sdf sdf dsf dsfdsfsd sdfdsfsd

# re: Membership, Profile & Role Management Frustration

Saturday, March 16, 2013 12:14 PM by Lyman

Highly descriptive post, I loved that bit. Will there be a

part 2?

# re: Membership, Profile & Role Management Frustration

Sunday, March 24, 2013 2:05 AM by Marks

Why visitors still use to read news papers when in this technological globe everything is existing

on web?

# re: Membership, Profile & Role Management Frustration

Wednesday, March 27, 2013 5:56 AM by Tipton

each time i used to read smaller articles or reviews which also clear their motive,

and that is also happening with this post which I am reading here.

# re: Membership, Profile & Role Management Frustration

Sunday, April 14, 2013 9:05 PM by Greene

Aw, this was an extremely good post. Taking the time and

actual effort to make a good article… but what can I say…

I put things off a whole lot and never seem to get nearly anything done.