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. 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. - the screenshots show a very nice design. Also seems to be using some AJAX.

3. - 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.


  • 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?

  • 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.

  • 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

  • Nothing is impossible!


  • -----------------------------------------------------------
    "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."

  • -----------------------------------------------------------
    "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."

  • 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

  • with thanks ! extremely useful submit!

    Medical Sciences

  • sdf sdf dsf dsfdsfsd sdfdsfsd

  • Highly descriptive post, I loved that bit. Will there be a
    part 2?

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

  • 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.

  • 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.

Comments have been disabled for this content.