Useful for anyone who builds Windows Web applications, Debugging ASP: Troubleshooting for Programmers offers invaluable advice on fixing (and avoiding) a handful of common problems with Active Server Pages (ASPs). Traditional debugging actually is only a small part of the package. This book is a solid guide to deploying ASP Web applications on both development and production servers.
"Experience is the best teacher," the old maxim goes, and the approach in Debugging ASP makes good use of real-world expertise. Author Derek Ferguson has compiled a list of bugs from his work at a regional ISP, a perfect laboratory for uncovering the most common problems that ASP developers face every day. First and foremost are his suggestions for configuring Internet Information Server (IIS) for development systems. A number of valuable tips help you improve the feedback that you get from Web server logs. You also learn about several options that will simplify debugging of new scripts and components over old ones. (In short, Debugging ASP will help you make sure, when you deploy a new script or component, that it gets displayed in your Web page, instead of the out-of-date version.) A really useful section points out common gotchas in ASP development, and there are tips on the right ways to include other files in ASPs and how to redirect HTTP requests correctly. The book also explains how to maintain state with Session objects, while balancing performance and security considerations.
The tutorial on the most effective ways to make use of COM objects on the middle tier is key to the book, and offers plenty of screen shots that show how to build, deploy, and configure components by using transactions and Microsoft Component Services. Several chapters look at problems and useful techniques for ADO database programming in your ASP-based Web applications, and there's even a step-by-step guide to setting up ODBC to connect to SQL Server databases. The text concludes with some tips for boosting performance in production systems, and a preview of the upcoming ASP+ standard from Microsoft.
In all, Debugging ASP provides a handy road map to successful ASP deployment, which can save you considerable time and effort as you put your Web applications online. --Richard Dragan
Topics covered:
Product Description
Provides Web developers with solutions for troubleshooting errors and preventing potential bugs from occurring. Examines solutions for Visual InterDev 6.0--ASP's main programming tool that requires freqent debugging. Offers tips and techniques for avoiding pitfalls associated with the development of COM components. Discusses error-handling and debugging in SQL Server.







