Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Building Websites with the ASP.NET Community Starter Kit
Building Websites with the ASP.NET Community Starter Kit

Building Websites with the ASP.NET Community Starter Kit: A comprehensive guide to understanding, implementing, and extending the powerful and freely available application from Microsoft.

eBook
Can$12.99 Can$47.99
Paperback
Can$59.99
Subscription
Free Trial

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Building Websites with the ASP.NET Community Starter Kit

Chapter 2. Touring a Community Starter Kit Website

It’s time to make a trip to the moon. Touring the Lunar .NET community, the sample community website that ships with the Community Starter Kit (CSK), will help you learn about the features and functionality bundled in the starter kit. The first step towards creating your own community website based on the CSK is to get accustomed to its functionality.

Lunar .NET implements almost all the functionality supported by the starter kit engine. After this tour, you might find that the CSK includes everything you need for your own website and more.

Chapters 3, 4, and 5 will teach you how to create a community website by reusing what you already have. In the later chapters, you’ll learn how to extend the CSK by creating new modules.

In this chapter, we aim to:

  • Analyze the general features provided by all major CSK modules

  • Learn how to create and edit new user accounts

  • Look at how each CSK module works

Overview of the Community Starter Kit

Let’s load the...

Overview of the Community Starter Kit


Let’s load the Lunar .NET community in Internet Explorer. If you installed the CSK with the default options, you can access it at http://localhost/CommunityStarterKit. The following screenshot shows the default look of the main page of the Lunar .NET community:

It’s assumed you’re running the CSK on your local machine. If this is not the case, you’ll need to refer to the machine that hosts the remote community instead of localhost. Also, if you chose to use a different virtual directory when installing the kit, you’ll need to use that name instead of CommunityStarterKit in the URL.

The Main Page


The main page in the Lunar .NET community contains the elements expected of any community website: a logo, a menu with links to various sections, an advertising banner, and so on. In this chapter we learn how the built-in functionality works, and inChapter 3 we’ll learn how to administer it through the Community Administration Menu.

Bear in mind that it’s possible to completely change the layout of a CSK website by building new skins (as we’ll learn inChapter 4) or using the predefined themes that ship with the CSK.

Note

You can preview the predefined themes at http://localhost/CommunityStarterKit/Admin/help/theme.htm.

The Community Logo

The community logo appears in the upper left part of the site. It can be changed by editing the logo of the home page in the Community Administration Menu.

The Community Menu

The community menu is just below the logo, and contains links to the sections of your community. Each section in the community has a content type, such as Books, Links, or...

Overview of the CSK Modules


Now let’s learn more about each type of content supported by the CSK by playing further with the Lunar .NET community.

In the following sections, we will look at:

  • Articles

  • Events

  • Books

  • Links

  • Discussion Forums

  • Photo Gallery

  • Downloads

  • Parent Section

  • HTML Page

In this chapter, we aim at having a good overview and knowledge about the capabilities of these modules. We will discuss their functionality with more details inChapter 3 while learning how to administer them using the Community Administration Menu.

Articles

The Articles page of the Lunar .NET community can be accessed by clicking on the Mission link. The Articles module first shows a list of the articles in the current section:

While logged in as Admin, apart from the usual content, you can also see the following elements:

  • The Admin link, which leads to the Community Administration Menu

  • The edit, delete, and move controls that appear for every article in the section

  • The Add Article link, which allows adding a new article...

Common Features in the CSK Modules


The following list summarizes the most important CSK features:

  • Security

  • Moderation

  • Comments

  • Ratings

  • Notifications

  • Quotas

  • HTML Editor

Before we can talk about each community module, it’s important to know what these features do, even if you will not understand all the details now. While analyzing the individual community modules (like Articles, Photo Gallery, and so on) later in this chapter, we’ll make frequent references to these features.

Security

Security controls "who-can-do-what" in a particular environment. Security in general, and with the CSK in particular, deals with two fundamental notions:

  • Authentication: Deals with uniquely identifying users by (usually) asking for a username and password

  • Authorization: Decides what permissions an authenticated user has while browsing the community website

The CSK implements authentication by adding support for user accounts, so it can authenticate them when necessary by asking for a username/password combination. The CSK...

Creating and Using User Accounts


Because some features in the CSK modules can be accessed by default only by authenticated users, you need to know how to create a new user account. You can also cheat a little bit by using the administrator account; with this, you can unlock features that let you see how to change or add content directly in the community web pages.

Keep in mind that adding or editing content (for example, modifying articles, book information, or links) doesn’t imply accessing the Community Administration Menu.

Creating a New User Account

In the left part of the community website, you can see the Register link. After clicking on it, you’re presented with a form where you can enter the required data for your new account:

Note that in the registration page, you have the option to choose receiving newsletters or e-mail notifications. Sending newsletters is the privilege of community administrators. After clicking the Register button, you are forwarded to the main community web page...

Summary


In this chapter, we had a high-level overview of the features of the CSK. We took a quick look at the CSK modules and the common features found in them. We also saw how to create a new user account, because some features in the CSK modules can by default be accessed only by authenticated users.

In the next chapter, we’ll learn how to create new communities and how to create and manage the sections inside them (such as adding more Articles sections, and so on). This will be a big step towards learning how to create your own unique community website.

Left arrow icon Right arrow icon

Description

Microsoft's ASP.NET Community Starter Kit (CSK) is a powerful, freely available application that allows you to quickly create a fully featured community-driven website, complete with article and news management, downloads, forums, and user handling. Supported and tested by thousands of developers in the ASP.NET community across the world, the Community Starter Kit offers you the luxury of a scalable and extensible architecture, and the ability to brand your own site. This book will take you inside the Community Starter Kit, allowing you to harness its power for easily creating your own websites. The book is structured to help you understand, implement and extend the Community Starter Kit: Understand how the Community Starter Kit works. Build the skills to implement your own site. Develop the confidence to extend the system for your own needs. With this book, you will learn how to: Install and configure the CSK Find your way around the CSKs towering range of features Create and administer community websites Become familiar with the common CSK ASP.NET controls Customize your CSK site Discover the secrets of the CSK core architecture Explore the inner workings of CSK modules Extend the CSK by creating new modules Customize existing modules with Web controls Add an RSS feed to share your content with others Deploy your CSK website This book is for ASP.NET developers with a sound grasp of C# and access to Visual Studio .NET. This book uses the Visual Studio. NET version of the ASP.NET Community Starter Kit available from http://www.asp.net/StarterKits/

Who is this book for?

This book has been written for ASP.NET developers with a sound grasp of C# and access to Visual Studio .NET. This book uses the Visual Studio. NET version of the ASP.NET Community Starter Kit.

What you will learn

  • Learn .NET architecture through building real-world examples
  • Understand, implement, and extend the Community Starter Kit
  • Learn to create and customize your own website
  • For ASP.NET developers with a sound grasp of C#

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : May 07, 2004
Length: 284 pages
Edition : 1st
Language : English
ISBN-13 : 9781904811343
Vendor :
Microsoft
Languages :
Concepts :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : May 07, 2004
Length: 284 pages
Edition : 1st
Language : English
ISBN-13 : 9781904811343
Vendor :
Microsoft
Languages :
Concepts :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just Can$6 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just Can$6 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total Can$ 156.97 261.97 105.00 saved
ASP.NET Site Performance Secrets
Can$83.99
Building Websites with the ASP.NET Community Starter Kit
Can$59.99
RESTful Services with ASP.NET Web API
Can$12.99 Can$117.99
Total Can$ 156.97 261.97 105.00 saved Stars icon
Banner background image

Table of Contents

11 Chapters
The ASP.NET Community Starter Kit Chevron down icon Chevron up icon
Touring a Community Starter Kit Website Chevron down icon Chevron up icon
Creating and Administering Community Websites Chevron down icon Chevron up icon
Themes, Skins, and the Common Controls Chevron down icon Chevron up icon
Customizing your Website Chevron down icon Chevron up icon
The Community Starter Kit Core Architecture Chevron down icon Chevron up icon
Inside a CSK Module Chevron down icon Chevron up icon
Creating a New Module Chevron down icon Chevron up icon
Customization with User Controls Chevron down icon Chevron up icon
Adding an RSS Feed Chevron down icon Chevron up icon
Deployment Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Half star icon Empty star icon 3.3
(3 Ratings)
5 star 33.3%
4 star 33.3%
3 star 0%
2 star 0%
1 star 33.3%
Janice Maloney Jul 26, 2004
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Before I give my opinions on this book, I would like to state that though I have a background in Web Application Development, I had never worked with Microsoft's ASP.NET Community Starter Kit so everything I was able to accomplish with the CSK was entirely due to reading this book. With no prior CSK exposure, I was immediately impressed how methodically the authors introduced the reader to the subject. Required software, and basics for downloading, installation, and configuration were given in very concise instructions with plenty of screenshots to support the instructional dialogue. Easy to install, the CSK is a complete Website, and is one of a number of "Free" starter kits developed by Microsoft that you can update, and customize to suit you own Website needs, and can be used for either commercial/non-commercial Websites. It's quite impressive when you first see it, and frankly, hard to believe a Website so professional in appearance, and with so many complex features could be "Free." Everything is free, such as, the CSK, and MSDE2000 if you do not have access to SQL Server, but you do need to have Visual Studio .NET Professional, or higher in order to view the code-behind files. I downloaded the code examples that were generously made available, and found them to be an added teaching tool. Though CSK can be downloaded for C#, VB.NET, and J# languages, and each language version is equivalent, this book does use the C# language version. I think the authors might have short changed themselves a little with the statement that this book is for ASP.NET developers with a sound grasp of C# because I think this book can serve as a wonderful teaching resource for C#; especially because the book starts with a completed application, shows you all the functionality of CSK, then takes you behind the scenes to see the supporting code. This is a slender book of only a little over 250+ pages, but I found it highly informative, full of concrete easy to follow instructional information, smooth reading, and illustrated throughout (in fact, almost every page) with screenshots to help support the learning process. The presentation of the material was very well thought out, and left me with the opinion that undoubtedly these authors are experts on Microsoft's Community Starter Kit. I never felt burden, or bored with trying to navigate thru this book or the CSK, and never felt forced to read endless page after page of information before the authors made a point. This book contains an invaluable source of information about the CSK, and I felt I learned at an extremely rapid pace. I will note that don't expect just to read this book through one time. If you are doing development work with the CSK, you will definitely be reading this book more than once; there is just too much information about the CSK to absorb one time through. In the course of studying this book, I ventured out into some of the ASP.NET support forums found on the Internet, such as, [...] and looked for areas where the Community Starter Kit was being discussed. I also invite the readers of this review to do the same. Besides reading this book, I found some really good reasons why developers should purchase a book like this. The CSK is extremely complex. In reviewing the forums, I saw endless questions from developers who were having problems with the CSK. But, in reviewing all of the questions/problems, I couldn't help but feel that many of these developers were out there trying to build a CSK without first reading a comprehensive book that discusses in great detail the whole CSK architecture, as this book does. And, I should add, I could not find any other book on the market that covers the CSK architecture! There is so much material in this book that I would like to comment on, but here's just some items I'd like to highlight: *** Not only does the book cover everything from installation, navigation, customization, administration, but in the back of the book in Chapter 10, you learn how to add a "Really Simple Syndication (RSS 2.0 feed)" feature to the CSK because CSK does not come with the ability to expose content thru RSS. Having this RSS feed added sets up an alert system to let administrators know when new items are available because the news aggregator software periodically scan the RSS feed, retrieves the content, and sends an alert. *** I was personally delighted to see Chapter 11 "Deployment." Obviously, after spending time working hard on building your own new community, you do want to know how to get it deployed properly. The authors left no guess work here as they give you concise details for not only deploying to an in-house SQL Server, but also help you with the challenges of deployment to a hosting provider. *** Be sure to do all of your development work with the IE browser as it will duplicate all the configuration screens you see in this book; whereas, when I tried to use Netscape, there were differences in the screenshots. *** In Appendix A: CSK Controls, you will find a comprehensive outline of all of the skin files listed, and categorized which is an extremely helpful reference. I couldn't help but count the number of skins listed: 101 Skin Files Listed. This is just another indication of how very complex the CSK really is. *** Explained the complete core architecture of the CSK, and demonstrated in full details how to create your very own new community. *** Teaches about all the major classes found in the CSK, and instructions on how to build your own CSK modules *** Examines the CSK folder structure, and configuration files, such as, a complete breakdown, and discussion on Web.Config, and Global.asax *** Explains about: middle-tier classes; database structure, and coverage on stored procedures in the database; how the CSK engine builds client pages. Cristian Darie, one of the co-authors of "Building Websites with the ASP.NET Community Starter Kit" asked if I would review this book, and give an honest assessment of opinions I formed in reading this book. I should note that although I have never personally met Cristian Darie, I became interested in his work when I read his book "Beginning ASP.NET E-Commerce", and am also currently reading another one of his books entitled "Beginning ASP.NET 1.1 E-Commerce From Novice To Professional." What I enjoy so much about his books is his direct, and informative style of writing that shows a complete comprehension of the subjects he writes about. He has the ability to conceptualize, and articulate highly complex technical material into clear and concise sentences, and the best gift of all, he has the ability to "Teach."
Amazon Verified review Amazon
Stephen M. Redd Jul 11, 2004
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
The book is fairly short coming in at about 250 informative pages (excluding the tiny appendix and introduction). It is targeted at people that are familiar with ASP.NET and C# (code examples are from the CSVS version), but just beginning with the CSK. Fortunately it doesn't waste any time explaining basic ASP.NET or C# concepts and concentrates exclusively on just the CSK. This tight focus is very refreshing. The book uses the teach by example and step-by-step tutorial styles common in books targeted at beginners.This book is a fantastic way to get up to speed with the CSK and learn what it does and how to start coding modifications to it. It is well organized and covers topics of interest to every CSK developer and administrator; but stops short of going into deep technical detail or architectural analysis which could leave more experienced developers wanting more.The first 4 chapters are simply orientation covering what the CSK is, how to install it (a mercifully short chapter), and then a tour of each of the CSK's features, modules, and admin tools; and wraps up with an explanation of the skins and themes. This is basically the same stuff that the CSK's own documentation covers; but better written and more complete. A great set of information for someone completely new to the CSK.The weakest chapter would have to be chapter 5; which is mostly devoted to writing custom themes and skins. While it does cover an example of creating a very simple theme, it really didn't go into enough depth. It skipped over working with the various control and template skins completely. But it is a great start on theme writing, and anyone that gets through chapter 5 should be able to figure most of the rest without serious additional effort.The last 6 chapters are all programming, beginning with an examination of the CSK request and dynamic page creation (a line by line walk-through of the relevant code). Then an examination of the content module design. In chapter 8, 9, and 10 you actually get to write a new content module from scratch (a great chapter), then write some customization using the custom modules section type and adding new web boxes. and in chapter 10 you modify the core engine to support RSS 2.0 publishing (another great chapter).The book wraps up with a detailed look at publishing and deploying CSK sites manually from development to production systems... which is one of the best chapters, and probably the most frequently discussed topic on the forums.My major gripes with the book, aside from the weak chapter 5, would be that it didn't really discuss ANY of the CSK's serious flaws... and there are serious flaws. It kept a very positive tone about the CSK, which is good, but I thought developers could have learned a lot more if the CSK's mistakes were pointed out more often. It also should have discussed the database performance problem with the stock CSK and linked to the database performance fix.It also didn't really do enough to point the reader at the user community created custom mods, fixes, and other online resources. It did link to some ASP.NET forum posts, and even to my own web site (thanks!); but it seemed to avoid linking to the most popular community sites or the GotCommunityNet project. I feel that the developer community is one of the strongest aspects of the CSK and that talking about the works, tools, and code available on the various community sites and forums could easily have filled a complete chapter all by itself.Overall this is an excellent book, an easy 8 out of 10 rating in my opinion. The tight focus on just the CSK kept it on track without diverging into yet another generic "learn ASP.NET" book. The book also hits the target audience, developers just beginning to work with the CSK and the non-developer just wanting to know what the CSK is and what it can do. It does a lot to take information spread out all over the web and bring it all into a single book in a well organized manner.Great piece of work!
Amazon Verified review Amazon
Bhasya Apr 21, 2024
Full star icon Empty star icon Empty star icon Empty star icon Empty star icon 1
CSK is not available for download. I am not sure how this book's content can be used. I am keep getting The page you are looking for is not available when I try to access the URL (http://www.asp.net/StarterKits/DownloadCommunity.aspx?tabindex=0&tabid=1) provided in the book.
Subscriber review Packt
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.