Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
To modularize the content and to offer developer extensibility in the preceding example, creating a custom web part is a good idea. A custom web part can be developed in ASP.NET 2.0 using the Visual Studio 2005 development environment.
Web parts are derived from the WebPart base class. All the web parts inherit common functionality. Here is a sample code for a custom web part: