Wednesday, February 23, 2011

ASP.NET 3.5 Content Management System Development


Table of Contents
Preface 1
Chapter 1: Planning and Building your First Content Management System 5
What a Content Management System is 6
Web Content Management Systems 7
Why use ASP.NET 8
ASP.NET membership and profiles 8
ASP.NET Master Pages and Themes 9
ASP.NET 3.5 9
Download Here


Chapter More



Setting up your environment 10
Installing IIS 10
Operating systems and IIS versions 11
Installing IIS in Windows XP Pro 11
Installing IIS in Windows Vista 12
Installing ASP.NET 3.5 13
Installing Visual Web Developer Express 2008 13
Configuring and testing your setup 13
Configuring IIS on Windows XP 14
Configuring IIS on Windows Vista 16
Setting NTFS permissions 17
Testing IIS 18
Writing a simple content management application 20
Default.aspx 20
Content.txt 22
FCKEditor 25
Edit.aspx 25
Summary 30
Chapter 2: Adding a Database to a Content Management System 31
Why use a database 32
Why use SQL Server Express 32
Installing and configuring SQL Server 2005 Express 33
Installing SQL Server 2005 Management Studio Express 35
Running SQL Server 2005 Management Studio Express 36
Creating a database for our simple Content Management System 37
Creating a new database with Management Studio Express 38
Windows authentication vs SQL server authentication 39
Configuring an SQL user account 39
Configuring the database to use the SQL Server account 40
Creating a database table with Management Studio Express 41
Using the SimpleCMS database in Visual Web Developer 44
Using the SimpleCMS database in the CMS application 46
Creating a new Default.aspx file 46
Configuring the data source 47
Binding the Data Source to a Repeater control 50
Creating a new Edit.aspx 51
Creating multiple content pages 55
Altering the database table 56
Adding data to the new column 57
Altering the SqlDataSource code 58
Understanding SQL Server commands 61
SQL query syntax 61
SELECT queries 63
WHERE clause 63
TOP 64
ALL | DISTINCT 64
COUNT 64
GROUP BY clause 65
ORDER BY clause 65
INSERT queries 65
UPDATE queries 66
DELETE queries 66
Other queries 66
Entities and relationships in brief 68
Entities 68
Entity relationships 69
SQL injection 72
Preventing SQL injection 73
Changing the database user account 74
Summary 75
Chapter 3: Content Management System Architecture 77
Multi-tier architecture 78
The data store 80
The Pages table 81
The Panes table 82
The Articles table 82
The data access layer 85
Creating the typed dataset 85
Filtering data from the dataset 87
Insert method 90
Update and delete methods 91
The business logic layer 92
The ArticlesBLL class 92
The presentation layer 95
Building the Master Page 95
Summary 101
Chapter 4: Adding Security and Membership to a Content Management System 103
ASP.NET membership 104
Configuring and using forms authentication 105
Creating a new application 105
Creating the home page 106
Create the Master Page 106
Enabling forms authentication 107
Creating the membership database 108
Configuring the SqlMembershipProvider 110
Creating the login page 113
Creating a user account with the ASP.NET configuration tool 115
Creating a login 117
Adding forms authentication to our CMS 118
Preparing an existing SQL database 118
The aspnet_regsql.exe tool 119
User accounts 121
Membership roles 122
Adding users to roles 123
Login page 125
New user registration 125
Securing content 128
Login status 130
Summary 133
Chapter 5: Creating the Articles Module 135
Application specifications 136
The Article publication process 136
User controls 137
Building a user control 137
Additional specifications 142
Building the Articles module 142
Database layout 142
Data access layer 143
Business logic layer 145
User controls 145
Listing Articles 145
Author, Editor, and Publisher roles 153
Additional features 154
Summary 154
Chapter 6: Pages and Zones 155
Master Pages 155
Themes 159
Menus 163
Page hierarchy 173
Regions and Zones 174
Summary 177
Chapter 7: Images, Files, and RSS 179
How images and files work on the Web 180
File upload control and beyond 181
Image gallery 191
Document repositories 208
RSS feeds 216
Summary 221
Chapter 8: Administrator Control Panel 223
Basic site settings 224
User accounts 233
Articles 239
Reporting 243
Search Engine Optimization 249
Summary 250
Chapter 9: Further Possibilities 251
Upsizing to the SQL Server 251
Additional modules 254
Base pages 256
Error trapping 258
Summary 260
Index 261


Kindly Bookmark this Post using your favorite Bookmarking service:
Technorati Digg This Stumble Stumble Facebook Twitter

0 komentar:

Post a Comment

 

| Gudang PDF © 2014. All Rights Reserved | Template Style by My Blogger Tricks .com | Design by Brian Gardner | Back To Top |