Posted by : Rhyf Ahmad Wednesday, May 13, 2015

The last chapter introduced the provider model found in ASP.NET 4 and explained how it is used with the membership and role management systems. As discussed in the previous chapter, these systems in ASP.NET 4 require that some type of user state be maintained for long periods of time. Their time - interval and security requirements for state storage are greater than those for earlier systems that simply used the Session object. Out of the box, ASP .NET 4 gives you a series of providers to use as the underlying connectors for any data storage needs that arise from state management for these systems.
The providers that come with the default install of the .NET Framework 4 include the most common means of state management data storage needed to work with any of the systems. But like most things in .NET, you can customize and extend the providers that are supplied. This chapter looks at some of the ways to extend the provider model found in ASP.NET 4. This chapter also reviews a couple of sample extensions to the provider model. First, however, you look at some of the simpler ways to modify and extend the providers already present in the default install of .NET 4.

Contents:

Providers Are One Tier in a Larger Architecture
Modifying Through Attribute-Based Programming
  1. Simpler Password Structures Through the SqlMembershipProvider
  2. Stronger Password Structures Through the SqlMembershipProvider

Examining ProviderBase
Building Your Own Providers
  1. Creating the CustomProviders Application
  2. Constructing the Class Skeleton Required
  3. Creating the XML User Data Store
  4. Defining the Provider Instance in the web.config File
  5. Not Implementing Methods and Properties of the
  6. MembershipProvider Class
  7. Implementing Methods and Properties of
  8. the MembershipProvider Class
  9. Using the XmlMembershipProvider for User Login

Extending Pre-Existing Providers
  1. Limiting Role Capabilities with a New LimitedSqlRoleProvider Provider
  2. Using the New LimitedSqlRoleProvider Provider 




Ebook Preview
Get the ebook now (571 kB)

If the link above doesn't work, try the link below


Mirror: Get the ebook now (571 kB)

Leave a Reply

You can leave a comment to request any article(s), software(s), ebook(s) or report the dead link.
Then I will reply as soon as I can :)

Subscribe to Posts | Subscribe to Comments

Welcome to My Blog

Recent Post

Recent Posts Widget
Instagram

- Copyright © Madriva -Robotic Notes- Powered by Blogger - Designed by Johanes Djogan -