E-book details

Enhancing Microsoft Content Management Server with ASP.NET 2.0. Use the powerful new features of ASP.NET 2.0 with your MCMS Websites

Enhancing Microsoft Content Management Server with ASP.NET 2.0. Use the powerful new features of ASP.NET 2.0 with your MCMS Websites

Lim Mei Ying, Spencer Harbar, Stefan Gossner

Ebook
The release of Microsoft Content Management Server (MCMS) Service Pack 2 opens up the world of ASP.NET 2.0 to MCMS developers. Written by the masters of MCMS, this book shows you how to use the new features of ASP.NET 2.0 that everyone is talking about in your MCMS development.
You will first learn how to install and configure MCMS SP2. There are two approaches to setting up a development environment for SP2: an upgrade from a previous SP1a installation or starting from scratch and building a fresh installation including SP2. Of course, both approaches are covered.
You will become familiar with the MCMS Service Pack 2 development environment, and create custom Visual Studio 2005 templates to overcome some of the issues which are present with the templates shipped with MCMS SP2.
After that, its time to look at some of the most exciting features of ASP.NET 2.0, and how you can make use of them in MCMS: master pages, site navigation, themes, and the membership provider model.
One of the coolest features introduced with ASP.NET 2.0 is master pages, which allow developers to enforce common layout and behaviour across pages within an application. You will learn about the benefits of using master pages and see a step-by-step guide for implementing them in your MCMS applications, where they become master templates!
ASP.NET 2.0 introduces a whole new way of implementing site navigation, driven by site maps. By programmatically adding channels and postings to a site map you will see how to smoothly integrate these controls to any MCMS site.
To customize the look of your site, we will see how a common look and feel can be applied efficiently to a MCMS site by using ASP.NET 2.0 themes. An essential customization required for themes to work correctly in an MCMS site is a must-read feature of this chapter.
MCMS has its own role based authorization and user management system which cannot be extended. However, the new ASP.NET 2.0 Membership Provider Model and the shipped controls can be used within MCMS applications to improve the implementation of Forms Authentication and provide a more elegant solution for authenticating against an external store.
A collection of tips and tricks round off the book, including using the Provider Model design pattern to ease migration to Office SharePoint Portal Server
  • Enhancing Microsoft Content Management Server with ASP.NET 2.0
    • Table of Contents
    • Enhancing Microsoft Content Management Server with ASP.NET 2.0
    • Credits
    • About the Authors
    • About the Reviewers
    • Preface
      • What This Book Covers
      • What You Need for This Book
      • Conventions
      • Reader Feedback
      • Customer Support
        • Downloading the Example Code for the Book
        • Errata
        • Questions
    • 1. Installation
      • Overview of MCMS 2002 Service Pack 2
        • Obtaining MCMS Service Pack 2
      • Installation Approach
      • Upgrading to Microsoft Content Management Server 2002 Service Pack 2
        • Installing Visual Studio 2005
        • Installing MCMS 2002 Service Pack 2
      • Configuring the Development Environment
        • Site Manager Shortcut
        • Visual Studio Templates
        • Preparing the MCMS Database for SQL Server 2005
        • Upgrading SQL Server 2005
          • Installing SQL Server 2005 Service Pack 1
          • Modifying the CreateBackgroundProcessingJob Stored Procedure
        • Fresh Installation of Microsoft Content Management Server 2002 Service Pack 2
          • Configuring Local Security Policy
          • Creating Service Accounts
          • Installing Internet Information Services
          • Configuring Internet Information Services
          • Installing SQL Server 2005
          • Installing SQL Server 2005 Service Pack 1
          • Configuring SQL Server 2005
          • Bypass the Installation of Visual Studio.NET 2003
          • Installing MCMS 2002 Prerequisites
            • J# 2.0 Redistributable
            • Internet Explorer Web Controls for MCMS
          • Installing MCMS 2002 SP1a
          • Remove Temporary Items
          • Install Visual Studio 2005
          • Install MCMS SP2
          • Configuring the Development Environment
            • Site Manager Shortcut
            • Visual Studio Templates
          • Run the Database Configuration Application
          • Remove Visual Studio.NET 2003
      • Known Issues with MCMS SP2 Installation
      • Installation Tips
        • Installing MCMS SP2 on Windows Server 2003 X64 Edition
        • Installing the Required SQL Server 2005 Components
      • Summary
    • 2. Getting Started with the Development Environment
      • Visual Web Developer Websites
      • Creating an MCMS Web Application
        • Checking the Website Configuration Settings in IIS
      • Developing MCMS Web Applications
        • Correcting Basic.aspx
      • Configuring the CMS' Virtual Directory
      • Creating Custom MCMS Application Templates
      • Summary
    • 3. Using Master Pages
      • Overview and Benefits of Master Pages
      • The TropicalGreen Web Site
        • Importing the TropicalGreen Site Deployment Object File
      • Creating a New MCMS Web Application
      • Creating a Master Page for Use with MCMS
      • Creating an MCMS Template File Based on a Master Page
      • Modifying Master Page Properties from the Template File
      • Summary
    • 4. Navigation Controls
      • Navigation for TropicalGreen
      • Site Maps and Site-Map Providers
      • Building an MCMS Site-Map Provider
        • The MCMSSiteMapProvider Class
        • Implementing the GetRootNodeCore() Method
        • Implementing the FindSiteMapNode() Method
          • Enhancing the Searches.GetByUrl() Method
        • Implementing the GetParentNode() Method
        • Implementing the GetChildNodes() Method
        • Registering the SiteMapProvider
      • The SiteMapPath Control
      • The Menu Control
        • Building a Horizontal Menu
          • Using Custom Properties to Differentiate Between Top and Right Menu Items
        • The MCMSSiteMapProviderTop Class
        • Building a Dynamic Multi-Level Vertical Menu
          • The MCMSSiteMapProviderRight Class
      • The TreeView Control
        • The Site Map Page
        • Populating Nodes on Demand
          • Removing the Leave Warning Message When Expanding Nodes in Edit Mode
        • Getting the Populate-On-Demand Feature of the TreeView Control to Work in Channel-Rendering Scripts
        • Using the TreeView Control in Summary Pages
          • The SiteMapProviderSummary Class
          • Configuring the TreeView Control to Display a Flat Listing of Items
      • Summary
    • 5. Applying Themes
      • Themes versus Cascading Style Sheets
      • Creating a Theme
        • Applying a Theme to the Entire Site
      • Skins for Server Controls
        • Creating a Default Skin
        • Creating a Name-Controlled Skin
        • Completing the Skin
      • Using Style Sheets
        • Creating a Style Sheet
        • Why Themes with Style Sheets May Not Work on MCMS Sites
          • Applying Themes when the RenderBaseHref Property is Disabled
          • Creating the CorrectThemes HTTP Module
      • Summary
    • 6. Authentication Controls and Membership Providers
      • Authentication Controls
      • Implementing an MCMS Membership Provider
      • Using an MCMS Membership Provider
      • Creating a Login Page Using the Login Control
      • Using the LoginStatus and LoginName Controls
      • Supporting Custom Authentication Schemes
      • Summary
    • 7. How-Tos, Tips and Tricks
      • Tip #1 How-To Perform Cross Page Postbacks
        • Passing Data between Pages
        • The "Order a Plant" Wizard
          • The Ordering Page
            • The Checkout Screen
            • Adding the "Order Plants" Menu Item
          • Why Cross Page Postbacks do not work on MCMS Sites
          • The CorrectCrossPostBack HTTP Module
      • Tip #2 How-To Implement an Ad Rotator
        • The MCMSAdRotator
      • Tip #3 Considerations for Microsoft Office SharePoint Server 2007.
        • Isolate Code that Uses the PAPI into Modules
        • Use the Provider Model Design Pattern.
      • Summary
    • Index
  • Title: Enhancing Microsoft Content Management Server with ASP.NET 2.0. Use the powerful new features of ASP.NET 2.0 with your MCMS Websites
  • Author: Lim Mei Ying, Spencer Harbar, Stefan Gossner
  • Original title: Enhancing Microsoft Content Management Server with ASP.NET 2.0. Use the powerful new features of ASP.NET 2.0 with your MCMS Websites
  • ISBN: 9781847190390, 9781847190390
  • Date of issue: 2006-08-04
  • Format: Ebook
  • Item ID: e_3b2p
  • Publisher: Packt Publishing