473,385 Members | 2,269 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Custom Membership and Roles

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

Jul 23 '07 #1
2 1631
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


Jul 23 '07 #2

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-membe...-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)


"StinkyDuck" <st********@gmail.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
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

Jul 23 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Axford | last post by:
Hello, I am trying to implement my own custom provider for memberships, basically only id/pwd (no roles). I use the new login web control (I am using asp.net 2.0 and VS2005). In web.config I...
6
by: Scatir | last post by:
Hi, I have a membership problem I couldn't resolve. I have set up membership as most of tutorial instructed, and I am able to log on, but cannot stay log on for some reason. ex: when I log on, the...
1
by: Jakob Lithner | last post by:
When I started a new ASP project I was eager to use the login facilities offered in Framework 2.0/VS 2005. I wanted: - A custom principal that could hold my integer UserID from the database -...
5
by: JP.Gantlin | last post by:
I want to have a login page where the new user self-registers, giving some simple info like Real Estate Agent #. Do I need to used the membershiop/roles thing, or profiles? Are profiles part...
0
by: Sale | last post by:
I am writing an asp 2.0 website where existing AD users can log in. I am using ActiveDirectoryMembershipProvider for this task and it works. Now I need to define roles for these users (admin,...
4
by: AC | last post by:
Hi there. My asp.net 2.0 development website uses roles to control access to sections of my site, configured using the asp.net configuration tool, which is great. Except that isn't available once...
3
by: Glenn | last post by:
My current classic-ASP site has users, projects, roles and the 2.0 membership looks like a perfect fit, but I'm having trouble finding examples of how to have users that belong to different...
4
by: alexandis | last post by:
There are tons of articles about custom role and provider membership, but they just tear me apart and confuse :( The situation is following: I use DB2, so I wrote custom role + membership...
6
by: Jonathan Wood | last post by:
Although this will be a challenge at my level of ASP.NET knowledge, I'm thinking I should implement my own membership provider class. Looking over the methods I must implement, a number of...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.