?
Solved

Removing Membership in an ASP.NET application

Posted on 2009-05-11
1
Medium Priority
?
243 Views
Last Modified: 2013-11-07
I have an asp.net application that is not using the Membership in ASP.NET.  I am interested in adding/linking much of the code found the "classifieds starter kit" to this existing application.  Is there a simple way to strip out the membership components of this starter kit.  I am interesting in just passing a few user paramenters to the classifieds starter kit in order to allow them to post ads.
0
Comment
Question by:cannase
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 12

Accepted Solution

by:
Hairbrush earned 2000 total points
ID: 24363624
If you do a "Find in Files" (Ctrl+Shift+F) and search for "Membership" and then "Roles" and then "Profiles" you'll see the sections of code that use the following classes:

System.Web.Security.Membership
System.Web.Security.Roles
System.Web.Profile

You'd need to strip out all the code that uses these classes.

Alternatively, as the membership classes are designed to be able to work with custom back-ends you could create your own custom membership provider.  The benefit would be you could leave the membership code in place in the classifieds starter kit.  Your custom membership provider would specify where the data about users is held and what queries need to be executed to bring back information about the users.

http://msdn.microsoft.com/en-us/library/f1kyba5e.aspx
http://msdn.microsoft.com/en-us/library/44w5aswa.aspx
http://msdn.microsoft.com/en-us/library/6tc47t75.aspx

Either way, this won't be quick, and could be tricky.
0

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Suggested Courses

741 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question