The basis for all CMS-based sites is templates. In CMS, templates define the look and feel as well as the functionality of your site. The development that you'll do will happen primarily within the context of a template. In Chapter 10 we talked about one half of what makes up a template a TGI and in Chapter 11 we explored template-based processing. In this chapter we'll explore the other component, the ASPX page. We will define what a template is, how to classify templates into logical groups, how to create templates, and how to debug them once you've written your code.