Chapter 8: Testing and Debugging

Microsoft Exam Objectives Covered In This Chapter:

  • Create a unit test plan.

  • Instrument and debug a Windows service, a serviced component, a .NET Remoting object, and an XML Web service.

    • Configure the debugging environment.

    • Create and apply debugging code to components and applications.

    • Execute tests.

    • Provide multicultural test data to components and applications.

  • Log test results.

    • Resolve errors and rework code.

    • Control debugging in the web.config file.

    • Use SOAP extensions for debugging.

  • Use interactive debugging.

  • Implement tracing.

    • Configure and use trace listeners and trace switches.

    • Display trace output.

  • [AU: just moved these up as subobjectives of Log Test Results, per website. SW]

The first four chapters of this book taught you how to create Windows services, serviced components, .NET Remoting applications, and XML Web services. Chapters 5 through 7 showed you how to use .NET Framework classes in the System.Data namespace and the System.Xml namespace to access data in your applications. This chapter begins the last section of the book, which covers testing and debugging, security considerations, deploying applications, and configuring applications in a production environment.

This chapter introduces you to Visual Studio .NET debugging capabilities and to the .NET Framework classes in the System.Diagnostics namespace that enable you to instrument your applications by using tracing. You will learn how to control debugging in the web.config file for ASP.NET applications and how to use SOAP extensions to debug XML Web services. However, first you will look at some recommendations for creating a testing strategy for your projects.



MCAD/MCSD(c) Visual Basic. NET XML Web Services and Server Components Study Guide
MCAD/MCSD: Visual Basic .NET XML Web Services and Server Components Study Guide
ISBN: 0782141935
EAN: 2147483647
Year: 2005
Pages: 153

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net