Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / July 2007

Tip: Looking for answers? Try searching our database.

Custom Membership and Roles

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
StinkyDuck - 23 Jul 2007 05:35 GMT
Hello,

I am relatively new to ASP.NET 2.0 and have been reading a book and going
through some articles on the internet.  When looking for information
regarding membership and roles, I see lots of articles utilizing the built
in profile classes in ASP.NET.  In my mind this seems to be an easy way for
to get membership working in an application.

When building a commercial application, would this still be the standard way
to build a web application supporting user profiles?  Customizing and
extending user profiles and memberships would require a custom written
framework?

Any help in helping understand this would be greatly appreciated.

-StinkyDuck
Masudur - 23 Jul 2007 06:11 GMT
Hi....

" When building a commercial application, would this still be the
standard way
to build a web application supporting user profiles?"

-----depend the size of the user group... and customer requirement...

"extending user profiles and memberships would require a custom
written
framework?"

not necessary... you can write all by your self... or use third party
providers.... for example
"my sql" do provide a custom membership and role provider's that can
work with my sql database...

Scott Mitchell wrote a serise of articles about membership role and
profile...
please review the articles....
http://aspnet.4guysfromrolla.com/articles/120705-1.aspx

Thanks
Md. Masudur Rahman (Munna)
Kaz Software Ltd.
www.kaz.com.bd
http://munnacs.110mb.com
sloan - 23 Jul 2007 20:16 GMT
If you don't have users/roles in a database already, then you ~can stick to
the default stuff.

If you already have username/passwords/roles/rights in a (your own)
database, then that when you would implment a custom membershipprovider or
rolesprovider.

Whichever way you go, I would use a "real" database setup, and not the
express version.

See
http://www.aspcode.net/Running-membership-provider-with-SQL-2000.aspx

There are providers for
Access
MySql

as well, you just have to find them (google them).

The goal of the (abstract) MembershipProvider is to provide a default
implmentation for those "from the ground up" websites, but AT THE SAME TIME,
allow you to use all the asp.net controls (like login) if you have your own
databases setup.  (and you would write your own custome provider)

> Hello,
>
[quoted text clipped - 12 lines]
>
> -StinkyDuck
StinkyDuck - 25 Jul 2007 19:42 GMT
Sloan,

Thats what I was looking for.  Thanks for clearing it up for me and
providing me a direction.

-StinkyDuck

> If you don't have users/roles in a database already, then you ~can stick
> to the default stuff.
[quoted text clipped - 36 lines]
>>
>> -StinkyDuck

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.