Microsoft ASP.NET 2.0 Step By Step comments and corrections (905042)



The information in this article applies to:

  • Microsoft ASP.NET 2.0 Step By Step, ISBN 0-7356-2201-9

SUMMARY

This article contains comments, corrections, and information about known errors relating to the Microsoft Press book Microsoft ASP.NET 2.0 Step By Step, ISBN 0-7356-2201-9.

The following topics are covered:

  • Pages 2 and 3: Clarification on virtual directory name
  • Page 3: Wrong location for helloworld.htm file referenced
  • Page 35: Extra using line in code sample.
  • Page 36: Method2 defined rather than Method1 in Listing 2-1
  • Page 42: ASP.NET Web Site template referenced rather than Empty Web Site
  • Page 86: Extra step needed between steps 1 and 2 of the Using View State process
  • Page 97: Incorrect control name used in Step 10

MORE INFORMATION

Pages 2 and 3: Clarification on virtual directory name

After installing the Code Samples as described on pages xxv and xxvi, a virtual directory is created in IIS named aspnet2sbs which contains the sample code. The last line on on Page 2 and Step 3 on Page 3 both refer to a virtual directory named ASPNETStepByStep.

In those instances and where ever else in the content a virtual directory containing the code samples is referred to, replace ASPNETStepByStep with aspnet2sbs.

Page 3: Wrong location for helloworld.htm file referenced

On page 3, step 3 reads:

"After the TELNET client connects, type the following GET command (assuming you have a virtual directory named aspnet2sbs on you machine, containing a file named HelloWorld.HTM):

C:/> GET //aspnet2sbs/helloworld.htm"

It should read: "After the TELNET client connects, type the following GET command (assuming you have a virtual directory named aspnet2sbs on you machine, containing a file named HelloWorld.HTM in the /CS/Chapter02/content subdirectory):

C:/> GET //aspnet2sbs/CS/Chapter02/content/helloworld.htm"

Page 35: Extra using line in code sample.

On page 35, the first three lines of Listing 2-1 read:

using System;
// partial1.cs
using System;

The first line should be removed, so they read:

// partial1.cs
using System;


Page 36: Method2 defined rather than Method1 in Listing 2-1

On page 36, the definition of Method2 in Listing 2-1 reads:

public void Method2()
{
	Console.WriteLine("SplitMe Method2");
}

It should read:

public void Method1()
{
	Console.WriteLine("SplitMe Method1");
}


Page 42: ASP.NET Web Site template referenced rather than Empty Web Site

On page 42, the first sentence of the last paragraph reads:

"Selecting ASP.NET Web Site causes Visual Studio to generate a directory structure similar to the one generated by ASP.NET Web Site."

It should read:

"Selecting ASP.NET Web Site causes Visual Studio to generate a directory structure similar to the one generated by Empty Web Site."

Page 86: Extra step needed between steps 1 and 2 of the Using View State process

On page 86, an additional step should be inserted between steps 1 and 2 of the Using View State process that reads:

"Add System.Collections to the list of using directives.

using System;
	
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Collections
"

Page 97: Incorrect control name used in Step 10

The first two sentences of step 10 read:

"Build the project and add the User control to the ControlORama UsePalindromeCheckerControls.aspx page. You can pick up the User control directly from the toolbox and drop it on to the page."

They should read:

"Build the project and add the PalindromeCheckerCompositeControl control to the ControlORama UsePalindromeCheckerControls.aspx page. You can pick up the PalindromeCheckerCompositeControl control directly from the toolbox and drop it on to the page."

Microsoft Press is committed to providing informative and accurate books. All comments and corrections listed above are ready for inclusion in future printings of this book. If you have a later printing of this book, it may already contain most or all of the above corrections.

The print number of the book is located on the copyright page in the form of a string of numbers. For example: "2 3 4 5 6 7 8 0 QWT 9 8 76 5 4". The first number in the string is the the print number. In this example, the print number is 2.

Modification Type:MinorLast Reviewed:8/15/2006
Keywords:kbinfo kbdocfix kbdocerr KB905042 kbAudEndUser