-
Book Overview & Buying
-
Table Of Contents
Building Websites with Microsoft Content Management Server
At some point in time, you are going to find a bug in your application. Ideally, we would write applications that have zero defects. However, despite our best efforts at writing perfect code, chances are, the application is not going to behave as you expect the first time you run it.
Creating quality code is appreciated by everyone and an important part of that is a process of rigorous testing and debugging before release. The debugging techniques discussed in this chapter are similar to those that apply to regular ASP.NET web applications with several key differences, which we will highlight as we work through each section. Each method discussed is equally effective in debugging a solution.
If you have been following us so far, your code should be bug free, as the sample code has been thoroughly tested. In order to demonstrate debugging, we will now introduce a bug into the template code.
To add a bug to the Plant template file:
Open the TropicalGreen...
Change the font size
Change margin width
Change background colour