You are previewing Building Websites with VB.NET and DotNetNuke 3.0.
O'Reilly logo
Building Websites with VB.NET and DotNetNuke 3.0

Book Description

A practical guide to creating and maintaining your own website with DotNetNuke, the free, open source evolution of Microsoft's IBuySpy Portal

  • Create and manage your own website with DotNetNuke

  • Customize and enhance your site with skins and custom modules

  • Extend your site with forums and the best of third-party add-ons

  • Complete coverage of setup, administration, and development

  • In Detail

    DotNetNuke is a free, open source evolution of Microsoft's celebrated ASP.NET reference implementation, the IBuySpy Portal Solution Kit. DotNetNuke began life as a framework for constructing data-driven intranet and Internet portal applications. It has now developed into an advanced web content management system with tools to manage a dynamic and interactive data-driven website.

    If you work with ASP.NET and VB.NET, and want an interactive website, with forums, news and image management, where visitors can register, participate and contribute to your site, then DotNetNuke is the ideal solution for you. This book is your indispensable guide to creating content-rich websites with DotNetNuke 3.0, as quickly as possible.

    The first part of this book gives you a deep understanding of working with basic DotNetNuke sites, guiding you through the features and giving you the confidence to create and manage your own site. After that, you will journey to the heart of DotNetNuke, and learn about its core architecture. From there, you will learn how to customize DotNetNuke sites through skinning and creating custom modules.

    Enhancing your site with forums and ecommerce functionality, creating multiple sites and deploying your site round off the book. You will master each of these topics as you leap into the development of a DotNetNuke 3.0 site.

    Table of Contents

    1. Building Websites with VB.NET and DotNetNuke 3.0
      1. Building Websites with VB.NET and DotNetNuke 3.0
      2. Credits
      3. About the Author
      4. Introduction
        1. What This Book Covers
        2. What You Need for Using This Book
        3. Conventions
        4. Reader Feedback
        5. Customer Support
          1. Downloading the Example Code for the Book
          2. Errata
          3. Questions
      5. 1. What Is DotNetNuke?
        1. Open-Source Web Portals
          1. What Is a Web Portal?
          2. Common Portal Features
          3. Why DotNetNuke?
            1. PHP-Nuke
            2. Metadot
            3. Rainbow
            4. DotNetNuke
          4. Benefits of Using an Established Program
        2. The DotNetNuke Community
          1. Core Team
          2. The DotNetNuke Discussion Forum
          3. The Bug Tracker
          4. DotNetNuke Project Roadmap Team
        3. The License Agreement
        4. Coffee Connections
          1. Determining Client Needs
            1. What Is a User Story?
            2. Advantages of Using User Stories
            3. Coffee Connections User Stories
        5. Summary
      6. 2. Installing DotNetNuke
        1. Installing DotNetNuke (Local Version)
          1. Clean Installation
          2. Downloading the Code
          3. Setting Up a Virtual Directory
            1. Using Windows Explorer (the Easy Way)
            2. Using the Virtual Directory Creation Wizard
          4. Verifying Default Documents
          5. Setting up the Database
        2. Upgrading
          1. Upgrade Checklist
          2. Back Up Your Database
          3. Back up Your DotNetNuke files
        3. Setting Security Permissions
        4. Logging In as Admin and Changing Passwords
        5. Summary
      7. 3. Users, Roles, and Pages
        1. User Accounts
          1. What Is a User?
          2. Creating User Accounts
            1. Setting Required Registration Fields
            2. Registering a User Manually
        2. Understanding DotNetNuke Roles
          1. Assigning Security Roles to Users
        3. Understanding DotNetNuke Pages and tabIDs
          1. Administering Pages
        4. Membership Provider Model
        5. Summary
      8. 4. Standard DotNetNuke Modules
        1. DotNetNuke Modules
          1. Adding a Module
          2. Module Settings
            1. Editing a Module
            2. Importing and Exporting Content
            3. Syndicate Information
            4. Online Help and Documentation
            5. Editing Module Functionality
              1. Basic Settings
              2. Advanced Settings
              3. Page Settings
        2. Standard Modules
          1. Account Login Module
            1. Practical Purposes
            2. Administration and Modification
            3. Special Features
          2. Announcements Module
            1. Practical Purposes
            2. Administration and Modification
            3. Special Features
          3. Banner Module
          4. Contacts Module
            1. Practical Purposes
            2. Administration and Modification
            3. Special Features
          5. Discussions Module
            1. Practical Purposes
            2. Administration and Modification
            3. Special Features
          6. Documents Module
            1. Practical Purposes
            2. Administration and Modification
            3. Special Features and Additional Information
          7. Events Module
            1. Practical Purposes
            2. Administration and Modification
            3. Special Features and Additional Information
          8. FAQs Module
            1. Practical Purposes
            2. Administration and Modification
            3. Special Features and Additional Information
          9. Feedback Module
            1. Practical Purposes
            2. Administration and Modification
            3. Special Features and Additional Information
          10. IFrame Module
            1. Practical Purposes
            2. Administration and Modification
            3. Special Features/Additional Information
          11. Image Module
            1. Practical Purposes
            2. Administration and Modification
            3. Special Features and Additional Information
          12. Links Module
            1. Practical Purposes
            2. Administration and Modification
            3. Special Features and Additional Features
          13. News Feed (RSS) Module
            1. Practical Purposes
            2. Administration and Modification
            3. Special Features
          14. Text/HTML Module
            1. Practical Purposes
            2. Administration and Modification
            3. Special Features and Additional Information
          15. User Accounts Module
            1. Practical Purpose
            2. Administration and Modification
            3. Special Features and Additional Information
          16. User Defined Table Module
            1. Practical Purpose
            2. Administration and Modification
            3. Special Features and Additional Information
          17. XML/XSL Module
            1. Practical Purpose
            2. Administration and Modification
            3. Special Features and Additional Information
        3. Summary
      9. 5. Host and Admin Tools
        1. The Difference Between Host and Admin
        2. Admin Tools
          1. Site Settings
          2. Basic Settings
          3. Advanced Settings
          4. Stylesheet Editor
          5. Pages Menu
          6. Security Roles
          7. User Accounts
          8. Vendors
          9. Site Log
          10. Newsletter
          11. File Manager
          12. Recycle Bin
          13. Log Viewer
          14. Skins
          15. Languages
        3. Host Tools
          1. Host Settings
          2. Basic Settings
          3. Advanced Settings
          4. Portals
          5. Module Definitions
          6. File Manager
          7. Vendors
          8. SQL
          9. Schedule
          10. Languages
          11. Search Admin
          12. Lists
          13. Superuser Accounts
          14. Extra Options on the Admin Menu
          15. Common Tasks
        4. Summary
      10. 6. Understanding the DotNetNuke Core Architecture
        1. Architecture Overview
        2. Diving into the Core
          1. Using the Context Object in Your Application
            1. The PortalSettings Class
          2. Working with the Configuration Files
          3. The web.config File
            1. Configuring the Providers Used in DotNetNuke
            2. Handling the Providers
              1. The <dotnetnuke> Group
              2. The <system.web> Group
            3. HTTP Modules
            4. Application Settings
          4. The Global Files
            1. Global.aspx.vb
            2. Application Start
            3. Examining Application_BeginRequest
            4. Application Authenticate Request
          5. The Globals.vb File
        3. Putting It All Together
        4. Summary
      11. 7. Creating Custom Modules
        1. Coffee Shop Listing Module Overview
          1. Setting Up Your Project (Private Assembly)
            1. Creating Controls Manually in Visual Studio
            2. Creating the View Control
            3. Module Edit Control
            4. Module Settings Control
            5. Adding Module Definitions
            6. Adding Your Module to a Page
          2. The Datastore Layer
            1. SQL Server
            2. The Data Access Layer (DAL)
            3. The SQLDataProvider Project
            4. The Provider File
          3. The Business Logic Layer (BLL)
            1. CoffeeShopListingInfo and CoffeeShopListingOptionsInfo
            2. CoffeeShopListingController and CoffeeShopListingOptionsController
              1. Implementing IPortable
              2. Implementing ISearchable
          4. The Presentation Layer
            1. ShopList.aspx
            2. EditShopList.ascx
            3. Settings.ascx
          5. Testing Your Module
          6. Creating Your Installation Scripts
        2. Packaging Your Module for Distribution
          1. The Install ZIP file
          2. Testing Your Installation
        3. Summary
      12. 8. Creating DotNetNuke Skins
        1. What Are Skins?
        2. What Are Containers?
        3. Uploading Skins and Containers
          1. Uploading as a Host
          2. Uploading as Admin
        4. Applying Skins
          1. Applying a Skin at Host and Portal Levels
            1. Using the Skins Manager
            2. Using Host and Site Settings
          2. Applying a Skin at Page Level
          3. Applying a Skin at Module Level
        5. Creating Custom Skins
          1. File Structure and Setup
            1. Skin Images
          2. Creating a Skin Using Visual Studio
          3. Creating the Skin Web User Control
            1. Creating Your Skin Table
            2. Setting Up Your Module Panes
            3. Adding Skin Objects
            4. Adding Images to the Skin
            5. Creating Your CSS File
            6. Modifying the HTML Code
          4. Creating a Skin Using HTML
            1. Adding Panes to the Skin
          5. Creating Custom Containers
            1. Adding Thumbnail Images
        6. Packaging Your Custom Skins and Containers
        7. Summary
      13. 9. Enhancing Your Portal
        1. Must-Have Modules to Enhance Your Portal
          1. Adding a Forum to Your Portal
            1. YetAnotherForum
            2. ActiveForums
          2. Adding e-Commerce to Your DotNetNuke Portal
          3. Adding Classroom Management to Your Portal
          4. Adding Security to Your DotNetNuke Portal
          5. Adding a Blog to Your Site
        2. Finding Custom Modules
        3. Summary
      14. 10. Deploying Your DNN Portal
        1. Acquiring a Domain Name
        2. Finding a Hosting Provider
        3. Preparing Your Local Site
        4. Setting Up the Database
          1. Backup and Restore Database
          2. Build New Database
        5. FTP Your Files
        6. Summary
      15. 11. Creating Multiple Portals
        1. Multiple Portals
        2. Parent Portals Versus Child Portals
          1. Setting Up a Parent Portal
            1. Registering Your Domain and Setting the DNS
            2. Creating a Parent Portal
          2. Setting Up a Child Portal
        3. Creating Portal Templates
        4. Using the Site Wizard
        5. Managing Multiple Portals
        6. Summary
      16. 12. Implementing the Provider Model in DotNetNuke
        1. What Is an HTML Editor?
        2. What Is an HTML Editor Provider?
        3. HTML Editor Provider
          1. Setting Up the Providers Folder
          2. Setting Up the Provider Project
          3. Creating the Provider
          4. Adding Your Provider to the web.config File
          5. Other HTML Editor Providers for DotNetNuke
        4. Summary