5.4. Summary

This chapter has shown you how to build a complex and articulate module to completely manage the site's articles, events, and possibly even photo galleries. It covered all of the following:

  • An administrative section for managing the data in the database.

  • Pages for browsing the published content.

  • Integration with the built-in membership system to secure the module and track the authors of the articles.

  • A syndication service that publishes a RSS feed of recent content for a specific category, or for every category, by means of an ASP.NET page.

  • A generic user control that consumes any RSS feed. It has been used in this chapter to list the new articles on the home page, but you could also use it in the forums module, and in other situations.

By following along in this chapter you've seen some of the powerful things you can do with the GridView control, its accompanying ObjectDataSource, and a properly designed business logic layer (BLL). The provider-based data access layer (DAL) implemented in this chapter enables you to easily create new classes to support different data stores and plug them into the system without changing a single line of code in the BLL or the UI.

This system is flexible enough to be utilized in many real-world applications, but you can also consider making some of the following improvements:

  • Support multi level categories (subcategories management).

  • A search engine could be added to the public section of the modules. Currently, when users want to find ...

Get ASP.NET 2.0 Website Programming Problem - Design - Solution now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.