NET Matters: Iterating NTFS Streams 15 Dec 2005 19:10 GMTDo 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 GMTBefore 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 Examining ASP.NET 2.0's Membership, Roles, and Profile - Part 2 14 Dec 2005 00:00 GMTIn 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