Book Image

Building Websites with the ASP.NET Community Starter Kit

1 (1)
Book Image

Building Websites with the ASP.NET Community Starter Kit

1 (1)

Overview of this book

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/
Table of Contents (16 chapters)
TrixBox Made Easy
Credits
About the Authors
Introduction
CSK Controls

Community Starter Kit Configuration


There are two steps to CSK configuration:

  1. 1. Edit Web.Config for a production environment.

  2. 2. Configure your communities through the ISP Admin tools.

Web.Config

There are few modifications you need to make to the Web.Config file in production. You may want to change the IspUsername and IspPassword values to be more secure. Change the connectionString to point to your production database.

There are a couple of changes required in the system.web section. In the compilation element, make sure that the debug attribute is false. Set the mode attribute in customErrors to RemoteOnly. These settings will ensure that the CSK site runs at peak performance without any error messages revealing source code getting out to users. Even after doing a release build in the CSK, you’ll still need to set this debug attribute to prevent the ASPX pages from being compiled into debug code.

With ASP.NET 1.1, all requests are scanned for an attempt to POST HTML content. If the runtime...