ASP.NET 3.5 CMS Development


ASP.NET 3.5 CMS Development
eBook: $23.99
Formats: PDF, PacktLib, ePub and Mobi formats
$17.99
save 25%!
Print + free eBook + free PacktLib access to the book: $63.98    Print cover: $39.99
$39.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Reviews
Support
Sample Chapters
  • Create your own Content Management System with the understanding needed to expand it and add new functionality as your needs grow
  • Learn to build a fully functional application with very little code and set up users and groups within your application
  • Manage the layout of your site using Master Pages, Content Placeholders, Themes, Regions, and Zones
  • A step-by-step guide with plenty of code snippets and screen images

Book Details

Language : English
Paperback : 284 pages [ 235mm x 191mm ]
Release Date : June 2009
ISBN : 1847193617
ISBN 13 : 9781847193612
Author(s) : Curt Christianson, Jeff Cochran
Topics and Technologies : All Books, CMS and eCommerce, Content Management (CMS), Open Source


Table of Contents

Preface
Chapter 1: Planning and Building your First Content Management System
Chapter 2: Adding a Database to a Content Management System
Chapter 3: Content Management System Architecture
Chapter 4: Adding Security and Membership to a Content Management System
Chapter 5: Creating the Articles Module
Chapter 6: Pages and Zones
Chapter 7: Images, Files, and RSS
Chapter 8: Administrator Control Panel
Chapter 9: Further Possibilities
Index
  • Chapter 1: Planning and Building your First Content Management System
    • What a Content Management System is
      • Web Content Management Systems
    • Why use ASP.NET
      • ASP.NET membership and profiles
      • ASP.NET Master Pages and Themes
      • ASP.NET 3.5
    • Setting up your environment
      • Installing IIS
        • Operating systems and IIS versions
        • Installing IIS in Windows XP Pro
        • Installing IIS in Windows Vista
      • Installing ASP.NET 3.5
      • Installing Visual Web Developer Express 2008
      • Configuring and testing your setup
        • Configuring IIS on Windows XP
        • Configuring IIS on Windows Vista
        • Setting NTFS permissions
        • Testing IIS
    • Writing a simple content management application
      • Default.aspx
        • Content.txt
      • FCKEditor
      • Edit.aspx
    • Summary
  • Chapter 2: Adding a Database to a Content Management System
    • Why use a database
    • Why use SQL Server Express
    • Installing and configuring SQL Server 2005 Express
      • Installing SQL Server 2005 Management Studio Express
      • Running SQL Server 2005 Management Studio Express
    • Creating a database for our simple Content Management System
      • Creating a new database with Management Studio Express
      • Windows authentication vs SQL server authentication
        • Configuring an SQL user account
        • Configuring the database to use the SQL Server account
      • Creating a database table with Management Studio Express
      • Using the SimpleCMS database in Visual Web Developer
    • Using the SimpleCMS database in the CMS application
      • Creating a new Default.aspx file
        • Configuring the data source
        • Binding the Data Source to a Repeater control
      • Creating a new Edit.aspx
    • Creating multiple content pages
      • Altering the database table
        • Adding data to the new column
      • Altering the SqlDataSource code
    • Understanding SQL Server commands
      • SQL query syntax
      • SELECT queries
        • WHERE clause
        • TOP
        • ALL | DISTINCT
        • COUNT
        • GROUP BY clause
        • ORDER BY clause
      • INSERT queries
      • UPDATE queries
      • DELETE queries
      • Other queries
    • Entities and relationships in brief
      • Entities
      • Entity relationships
    • SQL injection
      • Preventing SQL injection
    • Changing the database user account
    • Summary
  • Chapter 3: Content Management System Architecture
    • Multi-tier architecture
      • The data store
        • The Pages table
        • The Panes table
        • The Articles table
      • The data access layer
        • Creating the typed dataset
        • Filtering data from the dataset
        • Insert method
        • Update and delete methods
      • The business logic layer
        • The ArticlesBLL class
      • The presentation layer
        • Building the Master Page
    • Summary
  • Chapter 4: Adding Security and Membership to a Content Management System
    • ASP.NET membership
    • Configuring and using forms authentication
      • Creating a new application
      • Creating the home page
        • Create the Master Page
      • Enabling forms authentication
      • Creating the membership database
      • Configuring the SqlMembershipProvider
      • Creating the login page
      • Creating a user account with the ASP.NET configuration tool
      • Creating a login
    • Adding forms authentication to our CMS
      • Preparing an existing SQL database
        • The aspnet_regsql.exe tool
      • User accounts
      • Membership roles
        • Adding users to roles
      • Login page
      • New user registration
      • Securing content
      • Login status
    • Summary
  • Chapter 5: Creating the Articles Module
    • Application specifications
      • The Article publication process
      • User controls
        • Building a user control
      • Additional specifications
    • Building the Articles module
      • Database layout
      • Data access layer
      • Business logic layer
      • User controls
        • Listing Articles
      • Author, Editor, and Publisher roles
    • Additional features
    • Summary

Curt Christianson

Curt Christianson has been involved in the tech community since the mid 1990s and has been a professional developer for more than a decade. He is an active community contributor on the www.Asp.Net forums as well as a Forum Moderator. He is currently in his 6th Microsoft Most Valuable Professional (MVP) award cycle for his work with ASP/ASP.Net. He is writing a number of open source add-ins and Starter Kits. He's based in Wisconsin, U.S.A. as a professional developer as well as contributing to books and articles, both printed and on the Internet.

Curt is in the process of entering into the life of a married man thanks to his better half Jessyca. They plan on settling down with lots of little ones running around, providing the mosquitoes don't carry them all off first or the winter chill doesn't get them.


Jeff Cochran

Jeff Cochran is a Senior Network Specialist for the City of Naples, Florida. A large part of his job includes web design and coding, as well as web server management. Jeff has nearly two decades of experience with the Internet, having started one of the first Internet Service Providers in Southwest Florida, and has worked with Windows and Unix-based web servers. Now primarily concentrating on Windows technologies, Jeff has been a Microsoft MVP for Microsoft's Internet Information Server for nearly a decade and is active in the ASP Classic and ASP.NET communities as well.

Jeff has been married for twenty years to Zina, a graphic designer and, according to most accounts, the driving force that keeps him focused on… Oh look – A Pony! In the off-hours, Jeff and Zina spend much of their time remodeling a 1950s bungalow in Naples, Florida, trying to keep the rain out and the cats in. Jeff also has a long-term addiction to classic pinball machines, tropical fish, and off-road vehicles, all of which compete with home repairs for a share of his income.

Code Downloads

Download the code and support files for this book.


Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.


Errata

- 5 submitted: last submission 10 Sep 2012

Errata type: Code | Page number: 67

START TRANSACTION;
Should be
BEGIN TRANSACTION;

 

Errata type: Typo | Page number: 91

DELETE FROM Articles
WHERE (ArticleID = @Orginal_ArticleID)
Should be @Original_ArticleID

 

Errata type: Typo | Page number: 133

CreateNewUser control
Should be
CreateUserWizard control

 

Errata type: Typo | Page number: 262

In the Index
"susing" should be "using"

 

Errata type: Typo | Page number: 264

In the Index
"GROUPBY"
should be "GROUP BY

 

Sample chapters

You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

Frequently bought together

ASP.NET 3.5 CMS Development +    Oracle Advanced PL/SQL Developer Professional Guide =
50% Off
the second eBook
Price for both: $42.60

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book

  • Set up your programming environment and jump right into coding a completely functional Content Management System
  • Install and configure a database and connect it to your Content Management System
  • Learn all about n-tier architecture and how it can work within Content Management Systems
  • Set up users and groups within your application and learn about the management tools
  • Create and manage valuable content within your site for the users and learn how to make it available beyond the browser
  • Learn all about Master Pages, Content Placeholders, Themes/Skins, and managing the layout of your site
  • Begin digging into site navigation and looking into the concepts of inheritance
  • Use Administrator privileges to manage your site from a single point

In Detail

ASP.NET 3.5 is equipped with a built-in security system, standard design templates, and easy configurations for database connections, which make it the ideal language for building a content management system. With the strong community support for the ASP.NET platform, you can be assured that what you write today will be around and supported for years to come. You can imagine how easy it is to get lost in the myriad features especially if you are a newcomer.

This book shows you how to make use of ASP.NET's features and create a functional Content Management System quickly and conveniently. You will learn how to build your site and see the different ways in which you can customize your code to fit your needs. With this book in hand, you can easily set up users and groups, create valuable content for your users, and manage the layout of your site efficiently. All you need is a basic understanding of coding and a desire to learn, and this book will take care of the rest.

This book will teach you to get your site up and running quickly, and maintain its content even if you have little or no web design or programming experience. It will give you all the knowledge you need to use the tools as well as the code required to make yourself a strong developer far beyond your site. It begins with setting up your programming environment and coding a Content Management System. You will learn how to install and configure a database and connect it to your CMS. You will be able to create content and manage the layout of your site, and also make it available beyond the browser. At the end of this book, you will have designed and built a CMS that allows you to administer an Articles section, Images and Files sections, as well as a full set of Administrator tools for your site.

Approach

This step-by-step tutorial shows the reader how to build an ASP.NET Content Management System from scratch. You will first learn the basics of a content management system and how to set up the tools you need to build your site. Then, you start building your site, setting up users, and adding content to your site. You will be able to edit the content of your site and also manage its layout all by yourself. Towards the end, you will learn to manage your site from a single point and will have all the information you need to extend your site to make it more powerful.

Filled with plenty of code snippets and screen images to keep you on track as well as numerous additional samples to show you all the exciting alternatives to explore, this book prepares you for all the challenges you can face in development.

Who this book is for

This book is for beginner to intermediate ASP.NET users who have managed to learn Visual Web Developer and want to take on their first real-world application. It will help those who have used SQL Server Express, completed a few sample projects, and now wish to explore a Content Management System.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software