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 Articles
Service Station: All About ASMX 2.0, WSE 3.0, and WCF   15 Dec 2005 19:40 GMT
This month, Service Station tackles questions on ASP.NET 2.0 Web Services, Web Services Enhancements 3.0, and Windows Communication Foundation.
Source: MSDN
Extreme ASP.NET: Codebehind and Compilation in ASP.NET 2.0   15 Dec 2005 19:36 GMT
One feature of ASP.NET 2.0—the codebehind model—has changed rather dramatically since that first preview, primarily in response to customer feedback. Fritz Onion explains the changes this month.
Source: MSDN
C++ At Work: Installing a Hook, Strings in Managed C++, and More   15 Dec 2005 19:25 GMT
This month, Paul DiLascia explains how you can install several hooks of the same type, how to convert an MFC CString to a String in managed C++, and Marshal.GetHINSTANCE.
Source: MSDN
Data Points: SqlConnectionStringBuilder, DataView, and More   15 Dec 2005 19:14 GMT
This installment of Data Points covers ADO.NET 2.0 features such as SqlConnectionStringBuilder, DataView, batch updates, and improved DataSet serialization.
Source: MSDN
NET Matters: Iterating NTFS Streams   15 Dec 2005 19:10 GMT
Do you need access from your managed code to the alternate data streams in NTFS files? Need to enumerate and iterate through them? Stephen Toub shows how with the new iterator support in C# 2.0.
Source: MSDN
Advanced Basics: The Sound of Music   15 Dec 2005 19:04 GMT
Before Visual Studio 2005, adding even simple tunes and system sounds to your application could be difficult. But new classes and namespaces in the .NET Framework 2.0 change all that.
Source: MSDN
CLR Inside Out: Base Class Library Performance Tips and Tricks   15 Dec 2005 18:40 GMT
If you're using the .NET Framework base class library, the CLR team has some important performance tips for you this month.
Source: MSDN
Turning an .ascx User Control into a Redistributable Custom Control   14 Dec 2005 02:29 GMT
With previous versions of ASP.NET, developers had to decide whether to create custom controls or user controls. This article looks at a method for easily creating custom controls from existing user controls (ASCX files).
Source: MSDN
What's in Visual Basic 2005 for the Visual Basic 6.0 Developer   14 Dec 2005 01:00 GMT
Still using Visual Basic 6.0? Didn't find anything interesting in Visual Basic.NET? Check out what's in Visual Basic 2005 for developers like you.
Source: MSDN
Examining ASP.NET 2.0's Membership, Roles, and Profile - Part 2   14 Dec 2005 00:00 GMT

In Part 1 of this article series we saw how ASP.NET 2.0's membership service provides a framework for managing user accounts. The framework is composed of a Membership class with a bevy of methods that can be used to create, delete, modify, retrieve, and authenticate users. Since every developer's needs are different, a concrete membership framework would be virtually useless except for new, simple projects. Thankfully the Membership class is designed using the provider model, meaning that the membership framework's actual implementation can be customized. ASP.NET ships with two membership providers - SqlMembershipProvider and ActiveDirectoryMembershipProvider - and you can build your own, if needed.

Many websites that provide user accounts need to group users in various roles. The roles a user belongs might specify what web pages they have access to, what information they see on the screen, and whether or not certain regions in a page are editable or view-only. Grouping users into roles and basing functionality and authorization based on a user's role is quite easy in ASP.NET 2.0 thanks to the roles service. Like the membership service, the roles service defines a framework for programmatically creating and deleting roles, assigning and removing roles from users, and determining what users belong to a role, and to what roles a user belongs.

In this article we will examine ASP.NET 2.0's role service. We'll start by seeing how to setup and configure the roles service on a website, along with how to base authorization rules using roles. In addition, we'll look at how to programmatically work with the roles service, and see how to use the LoginView Web control to show information based on the logged in user's role. Read on to learn more!
Read More >


Source: 4GuysFromRolla
1 2 3 4 5 6
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage




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