background preloader

Generics

Facebook Twitter

ScottGu's Blog : Source Code for the Built-in ASP.NET 2.0 P. Today we released the source code for the built-in ASP.NET 2.0 Membership, Role Management, Site Navigation, Session State, Profile, Web Events, and Web Part Personalization providers (basically all of the built-in providers that ship in the .NET 2.0 Framework Redist).

ScottGu's Blog : Source Code for the Built-in ASP.NET 2.0 P

You can download them here, and learn more about the ASP.NET 2.0 Provider Model from this site here. The source code is released under a permissive license that allows both commercial and non-commercial re-use of the source code, and should be very useful both for people wanting to build their own custom providers (you can take our source and just tweak it if you want), or to better understand/debug our existing ones. Custom Provider-Based Services. Introduction to the Provider Model Membership ProvidersRole ProvidersSite Map ProvidersSession State ProvidersProfile ProvidersWeb Event ProvidersWeb Parts Personalization ProvidersCustom Provider-Based ServicesHands-on Custom Providers: The Contoso Times ASP.NET 2.0 includes a number of provider-based services for reading, writing, and managing state maintained by applications and by the run-time itself.

Custom Provider-Based Services

Developers can write services of their own to augument those provided with the system. Using Generics For Custom Providers To Reduce Code Duplication.