Chapter 9. Understanding the Integrated Providers Model

A provider-based service is a piece of software that can service a specific type of data from any type of data store. The ASP.NET Framework comes with standard provider-based services such as:

  • User membership service, which services user membership data from any type of data store

  • Role management service, which services role data from any type of data store

  • User profile service, which services user profile data from any type of data store

Provider-based services play a central role in data-driven Web applications where data comes from many different types of data stores, such as SQL Server databases, Oracle databases, XML documents, flat files, and Web services, just to name a few. A provider-based service hides the data-store–specific data access APIs behind a standard API to enable all clients of the service to use the same API to interact with any type of data store. In other words, these clients can write one set of data access code that can interact with all types of data stores without code changes.

The IIS 7 and ASP.NET integrated providers model is an extensible infrastructure that allows you to implement fully configurable provider-based services and plug them into the IIS 7 and ASP.NET integrated infrastructure.

I begin this chapter by discussing why you need provider-based services in the first place. I then use an example to show you the integrated providers model in action before getting into the implementation details. ...

Get Professional IIS 7 and ASP.NET Integrated Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.