You are previewing Building Websites with DotNetNuke 5.
O'Reilly logo
Building Websites with DotNetNuke 5

Book Description

Quickly build and deploy your own feature-rich website with DotNetNuke 5, VB.NET, and C#

  • # Create and manage your own website with DotNetNuke 5

  • Customize and enhance your site with custom modules

  • Code provided in VB.NET and C# using Visual Studio 2010

  • Covers module development using Silverlight and Linq to SQL

  • Complete coverage of setup, administration, and development

  • In Detail

    DotNetNuke is an open source Content Management System and web application framework. It has taken the Microsoft world by storm and now at version 5, its community has grown to over 200,000 users. Revised and updated for DotNetNuke 5, this renowned book is your indispensable guide to creating content-rich websites with DotNetNuke, as quickly as possible.

    With this book in hand, you will be able to get your DotNetNuke website up and running. Concisely written and with clear explanations, this book covers installation, administration, deployment, site creation and all of the basic built-in DotNetNuke modules. For developers, it also covers the core architecture and custom modules, including module development using Linq to SQL and Silverlight, to give you the skills to customize and extend your site.

    The book starts off by giving 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 site. After that, you will journey to the heart of DotNetNuke, and learn about its core architecture. Always concise, relevant and practical, you will find out what makes DotNetNuke tick, and from there, you will be ready to customize DotNetNuke. Developers will enjoy the detailed walk-through of creating new custom modules. Special emphasis is given to using Linq to SQL and Silverlight to invigorate your module development.

    You will master all of this as you leap into the development of a DotNetNuke 5 site!

    A practical guide that shows you how to build your own DotNetNuke website and develop new modules using Visual Studio 2010 in VB.NET and C#, using the latest technologies.

    Table of Contents

    1. Building Websites with DotNetNuke 5
      1. Building Websites with DotNetNuke 5
      2. Credits
      3. About the Authors
      4. About the Reviewers
      5. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Conventions
        5. Reader feedback
        6. Customer support
          1. Errata
          2. Piracy
          3. Questions
      6. 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. Joomla!
            3. 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. The 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
      7. 2. Installing DotNetNuke
        1. Installing DotNetNuke (local version)
          1. Clean installation
          2. Downloading the code
          3. Setting up an application
            1. Verifying default documents
          4. Setting security permissions
          5. Setting up the database
          6. Running the install wizard
        2. Upgrading
          1. Upgrading the checklist
          2. Backing up your database
          3. Backing up your DotNetNuke files
          4. Performing the upgrade
        3. Summary
      8. 3. Users, Roles, and Pages
        1. User accounts
          1. Who is a user?
          2. Creating user accounts
            1. Setting required registration fields
            2. Managing your own profile
            3. Registering a user manually
        2. Understanding DotNetNuke roles and role groups
          1. Assigning security roles to users
          2. Role advanced settings
        3. Understanding DotNetNuke pages and tabIDs
          1. Administering pages
        4. Summary
      9. 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. Help and Online Help documentation
            5. Editing module functionality
              1. Basic Settings
              2. Advanced Settings
              3. Page Settings
        2. Changes to the organization of modules
        3. Standard modules
          1. Account Login module
            1. Practical purposes
            2. Administration and modification
            3. Special features
          2. Banner module
          3. Console module
            1. Administration and modification
          4. Feed Explorer module
            1. Administration and modification
          5. HTML module
            1. Practical purposes
            2. Administration and modification
            3. Special features and additional information
          6. Search Input and Search Results module
            1. Practical purposes
            2. Administration and modification
        4. Additional Modules
          1. Announcements module
            1. Practical purposes
            2. Administration and modification
            3. Special features and additional information
          2. Blog module
            1. Administration and modification
            2. Special features
          3. Chat module
            1. Administration and modification
            2. Special features
          4. Contacts module
            1. Practical purposes
            2. Administration and modification
            3. Special features
          5. Documents module
            1. Practical purposes
            2. Administration and modification
            3. Special features and additional information
          6. Events module
            1. Practical purposes
            2. Administration and modification
            3. Special features and additional information
          7. FAQs module
            1. Practical purposes
            2. Administration and modification
            3. Special features and additional information
          8. Feedback module
            1. Practical purposes
            2. Administration and modification
            3. Special features and additional information
          9. Form and List module
            1. Practical purposes
            2. Administration and modification
            3. Special features and additional information
          10. Forums module
            1. Practical purposes
            2. Administration and modification
          11. Gallery module
            1. Practical purposes
            2. Administration and modification
          12. Help module
            1. Practical purposes
            2. Administration and modification
          13. IFrame module
            1. Practical purposes
            2. Administration and modification
            3. Special features and additional information
          14. Links module
            1. Practical purposes
            2. Administration and modification
            3. Special features and additional information
          15. Map module
            1. Practical purposes
            2. Administration and modification
            3. Special features and additional information
          16. Media module
            1. Practical purposes
            2. Administration and modification
          17. News Feed (RSS) module
            1. Practical purposes
            2. Administration and modification
            3. Special features
          18. Reports module
            1. Administration and modification
            2. Special features and additional information
          19. Repository module
            1. Practical purposes
            2. Administration and modification
          20. Store module
            1. Practical purposes
            2. Administration and modification
            3. Special features and additional information
          21. Survey module
            1. Administration and modification
          22. Users Online module
            1. Administration and modification
          23. Wiki module
            1. Practical purposes
            2. Administration and modification
            3. Special features and additional information
          24. XML/XSL module
            1. Practical purposes
            2. Administration and modification
            3. Special features and additional information
        5. Third-party modules
          1. Commercial modules
            1. Developers and vendors
          2. Open source modules
            1. Developers and vendors
        6. Summary
      10. 5. Host and Admin Tools
        1. The difference between host and admin
        2. Admin tools
          1. Site Settings
            1. Basic Settings
            2. Advanced Settings
            3. Stylesheet Editor
          2. Pages
          3. Extensions
          4. Languages
          5. Skins
          6. Security Roles
          7. User Accounts
          8. Vendors
          9. Site Log
          10. Newsletters
          11. File Manager
          12. Recycle Bin
          13. Event Viewer
          14. Site Wizard
          15. Google Analytics
        3. Host tools
          1. Host Settings
            1. Basic Settings
            2. Advanced Settings
          2. Portals
          3. Module definitions
          4. File Manager
          5. Vendors
          6. SQL
          7. Schedule
          8. Languages
          9. Search Admin
          10. Lists
          11. Superuser Accounts
          12. Extensions
          13. Dashboard
          14. What's New
          15. Marketplace
          16. Extra options on the Admin menu
          17. Common Tasks
        4. Summary
      11. 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.asax.vb
            2. Application_Start
            3. Examining Application_BeginRequest
          5. The Globals.vb file
        3. Putting it all together
        4. Summary
      12. 7. Custom Module Development
        1. The Coffee Shop Listing module
        2. The development environment
        3. Creating the view control
        4. Displaying the module
        5. View control summary
          1. The module folder structure
          2. Inheriting from PortalModuleBase
          3. Module configuration
          4. Diagnosing errors using the Log Viewer
        6. Navigation
          1. NavigateURL
          2. IActionable
        7. Updating the configuration
        8. Navigating from ShopList to EditShopList
        9. Navigation summary
          1. NavigateURL
          2. IActionable
        10. Localization
          1. Localizing static content
          2. Localizing dynamic content
          3. Localizing the content
        11. Summary
      13. 8. Connecting to the Database
        1. The DAL, DAL+, and Linq to SQL
          1. The DAL
          2. The DAL+
          3. Linq to SQL
          4. Summary of the data connection methods
        2. The database scripts
          1. Executing the install script
          2. Creating the Linq to SQL DataContext class
          3. The Settings page
          4. Creating the Settings page
          5. The Settings page
            1. Inheriting from ModuleSettingsBase
            2. Overriding LoadSettings and UpdateSettings
            3. Storing values in ModuleSettings
          6. Updating the configuration
        3. The EditShopList page
          1. The EditShopList.ascx file
          2. The EditShopList code behind file
            1. The remaining methods for EditShopList
        4. The ShopList page
          1. The ShopList.ascx file
          2. The ShopList code behind file
            1. SetProfile/GetProfile
            2. GetModuleSettings
            3. The remaining methods for ShopList
        5. Summary
      14. 9. Silverlight Coffee Shop Viewer
        1. Silverlight and DotNetNuke
          1. Creating the web service
            1. Getting coffee shops
            2. Getting last used zip code
          2. Creating the WebService.asmx entry point
          3. The Silverlight application
            1. Adding reference to System.Windows.Controls.Data
            2. The web service proxy
            3. The Application_Startup page
            4. The Silverlight Coffee Shop Viewer UI
            5. The Silverlight Coffee Shop Viewer code
            6. Building the Silverlight project and moving the .XAP
          4. Altering Coffee Shop Viewer to launch the Silverlight application
            1. The ShopList UI
            2. The ShopList code
        2. Packaging the module
          1. Deploying the module
        3. Summary
      15. 10. 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