Page view counter
HomeLearnVideosHow Do I: Use Roles to Segment Functionality in an ASP.NET Web Site  

How Do I: Use Roles to Segment Functionality in an ASP.NET Web Site

In this video Chris Pels will show how to maximize the use of roles in an ASP.NET web site after setting up ASP.NET Membership. First, learn how to setup roles using the built-in role manager in Visual Studio .NET. See how to define roles based upon the business needs associated with the web site. Once the roles are setup learn how to structure your web site from a folder and page hierarchy perspective to most efficiently accommodate the roles and business needs. As part of this see how to use the roles attribute in defining authorization in the web.config file associated with each folder. Also, see how to use the <location> element to apply authorization settings to a specific location such as a page.

Presented by Chris Pels

Duration: 32 minutes, 16 seconds

Date: 29 May 2008

Watch the video   |   Download the video   |   Get VB code  or  C# code

Video downloads: WMV | Zune | iPod | PSP | MPEG-4 | 3GP

Audio downloads: AAC | WMA | MPEG-4 | MPEG-3 | MPEG-2

Comments : 8

Leave a Comment

pjdev : On May 30, 2008 12:12 PM said:

Good video.  You can also add the roles property to the items in the sitemap to hide/show the links that are available to each role.

whatispunk : On June 04, 2008 10:50 AM said:

What is the default authorization for folders without a web.config or if the web.config doesn't specifically allow or deny a user or role.

If you were to add another role or user would you have to go and update every web.config in your whole site?

scottyb : On June 06, 2008 9:54 AM said:

Excellent Video. Just a quick question. Is it possible to have a video on implementing a custom role manager to complement the two other videos in this series dealing with custom membership and profile managers.

Kind Regards

ScottyB

pradeepkr : On June 15, 2008 1:54 PM said:

How Chris Pels connects to a database in App_data folder with SQL Server Authentication? As far as I know database in App_Data folder runs as User Instance which can only be connected with Windows Authentication.

cv_vikram : On August 10, 2008 9:46 PM said:

thanks for the video....

asater : On August 20, 2008 11:12 AM said:

Thank you

leopold : On October 22, 2008 2:04 PM said:

very useful.....like scottyB requested, a video for custom role manager would be perfect,

thank you

djafer : On November 12, 2008 7:04 AM said:

Çok teşekkürler, güzel video hazırlamışsınız.

Leave a Comment

You must be logged in to leave a comment. Click here to log in.

Microsoft Communities