Microsoft KB Archive/941491

= MCPD Self-Paced Training Kit (Exam 70-547): Designing and Developing Web-Based Applications Using the Microsoft .NET Framework comments and corrections =

Article ID: 941491

Article Last Modified on 11/28/2007

-

APPLIES TO


 * MCPD Self-Paced Training Kit (Exam 70-547): Designing and Developing Web-Based Applications Using the Microsoft .NET Framework, ISBN 0-7356-2340-6

-



SUMMARY
This article contains comments, corrections, and information about known errors relating to the Microsoft Press book MCPD Self-Paced Training Kit (Exam 70-547): Designing and Developing Web-Based Applications Using the Microsoft .NET Framework, 0-7356-2340-6.

The following topics are covered:


 * CD-ROM: File extensions for Chapter 4 code samples are incorrect
 * CD-ROM: Incorrect answer marked correct in the Practice Test
 * CD-ROM: Readiness Review Assessment question answer structure incorrect
 * CD-ROM: Readiness Review Assessment &quot;aren't&quot; should be &quot;are&quot;
 * Page 63: &quot;bit&quot; should be &quot;big&quot;
 * Page 69: &quot;Exipre&quot; should be &quot;Expire&quot;
 * Page 125: path should be page
 * Page 307: inheritance information for the Friend keyword is partially incorrect
 * Page 309: Overrides should be override for C#
 * Page 318: Insufficient information regarding C# concept
 * Page 319: &quot;new&quot; qualifier missing from C# code sample
 * Page 325: Question 2 should be removed/disregarded
 * Page 570: &quot;e-mail&quot; should be &quot;network message&quot;
 * Page 574: &quot;e-mail&quot; should be &quot;network message&quot;
 * Page 577: &quot;Working set&quot; is not a Memory object counter
 * Page 582: &quot;Working set&quot; is not a Memory object counter
 * Page 598: Answer A to Question 2 should be correct
 * Page 602: Incorrect answer to Question 2 of Lesson 1
 * Page 605: &quot;CurrentCultureUI&quot; should be &quot;CurrentUICulture&quot;
 * Page 615: Answer to question 3 is partially incorrect
 * Page 635: &quot;e-mail&quot; should be &quot;network message&quot;



CD-ROM: File extensions for Chapter 4 code samples are incorrect
Some of the code samples for the Chapter 4 exercises have an incorrect .xpsa extension. In order to use these files correctly, they should be renamed to .aspx.

If the code samples are installed to the default location the following files are located in \My Documents\Microsoft Press\MCPD Self-Paced Training Kit Exam 70-547\Chapter 04\Lesson 1\CS and in \My Documents\Microsoft Press\MCPD Self-Paced Training Kit Exam 70-547\Chapter 04\Lesson 1\VB:

Ch04_Intro.xpsa

Ch04_MasterPage_Intro.xpsa

Ch04_MasterPage_Terms.xpsa

Ch04_TreeView_Intro.xpsa

Ch04_TreeView_Terms.xpsa

The extension .xpsa is incorrect, it should be .aspx.

Please use the following directions to rename these files:

1. Using Windows Explorer navigate to the Chapter 4 VB or CS folder containing the invalid code sample files listed above.

2. Select one of the invalid code sample files listed above with the .xpsa file extension.

3. Click on File, then click on Rename. At this time the filename can be edited.

4. Change the filename extension from .xpsa to .aspx then press Enter.

5. Repeat steps 1 through 4 for the remaining code sample files that have the .xpsa file extension.

CD-ROM: Incorrect answer marked correct in the Practice Test
In the Electronic practice test included on the Companion CD, one of the questions is scored incorrectly. The question reads:

&quot;You are developing an ASP.NET application that your company’s employees will use internally. Each employee will use a secured Windows XP workstation to access the application. Which of the following authentication strategies would be the easiest to implement and maintain?

Allow anonymous access

Forms-based authentication using an XML-based file to store the user name and password

Forms-based authentication using a back-end SQL database

Access control list (ACL) authentication using Windows challenge/response&quot;

When the question is scored, &quot;Allow anonymous access&quot; is marked as correct. &quot;Access control list (ACL) authentication using Windows challenge/response&quot; should be marked correct instead.

CD-ROM: Readiness Review Assessment question answer structure incorrect
On the Readiness Review Assessment, there is one question that incorrectly uses radio buttons for answer selection. The question should use checkboxes since there is more than one correct answer. The question reads (currently using radio buttons for answer selection):

&quot;Which of the following are characteristics of unit tests? (Choose all that apply.)

A full set of unit tests results in the ability to do smoke (or regression) testing.

Unit tests are useful for determining performance issues with your code.

Unit tests help to document your code.

Unit tests help to confirm the execution of your user interface.&quot;

It should read (using checkboxes for answer selection):

&quot;Which of the following are characteristics of unit tests? (Choose all that apply.)

A. A full set of unit tests results in the ability to do smoke (or regression) testing.

B. Unit tests are useful for determining performance issues with your code.

C. Unit tests help to document your code.

D. Unit tests help to confirm the execution of your user interface.&quot;

Answers A and C are correct.

CD-ROM: Readiness Review Assessment &quot;aren't&quot; should be &quot;are&quot;
In the Readiness Review assessment Answer 3 to one of the questions uses &quot;aren't&quot; instead of &quot;are&quot;.

Change:

What would you want to watch for when tracking page response times? (Choose all that apply.)

Answers:

1. Time it takes for the server to process the request

2. Time it takes for the client to process the request

3. Pages that aren't accessed frequently

4. How fast your Web application renders Web pages

To:

What would you want to watch for when tracking page response times? (Choose all that apply.)

Answers:

1. Time it takes for the server to process the request

2. Time it takes for the client to process the request

3. Pages that are accessed frequently

4. How fast your Web application renders Web pages

Page 63: &quot;bit&quot; should be &quot;big&quot;
On page 63, the 10th sentence of the second paragraph uses the word &quot;bit&quot; instead of &quot;big&quot;.

Change:

&quot;The other objects in your ORM are sometimes bit players in the domain.&quot;

To:

&quot;The other objects in your ORM are sometimes big players in the domain.&quot;

Page 69: &quot;Exipre&quot; should be &quot;Expire&quot;
On page 69, the 6th line down in both code samples for VB and C# contains a misspelled word.

Change: Cache.Exipre

To: Cache.Expire

Page 125: path should be page
On page 125, in the first sentence after Figure 4-3, the word path is used in place of page.

Change:

&quot;Placing a SiteMapPath control on your path is all that is required for it to display.&quot;

To:

&quot;Placing a SiteMapPath control on your page is all that is required for it to display.&quot;

Page 307: inheritance information for the Friend keyword is partially incorrect
On page 307, the Friend keyword in the inheritance description list contains incorrect information in regards to C#. The last two sentences in the description are incorrect for C# but are correct for Visual Basic.

Change:

&quot;Classes declared as friend must be within another class. All classes declared at the namespace level must be public.&quot;

To:

&quot;Classes declared as friend must be within another class and all classes declared at the namespace level must be public (for Visual Basic only).&quot;

Page 309: Overrides should be override for C#
On page 309, the last sentence of the second paragraph of the &quot;Overriding and Overloading&quot; section indicates the incorrect keyword for overrinding in C#.

Change:

&quot;In Visual Basic and C#, you use the Overrides keyword (although it is not capitalized in C#) to indicate that a member is overriding another member of the same name in the base class.&quot;

To:

&quot;In Visual Basic you use the Overrides keyword to indicate that a member is overriding another member of the same name in the base class. In C#, you use the override keyword to accomplish the same task.&quot;

Page 318: Insufficient information regarding C# concept
On page 318, the 4th sentence in the only paragraph on the page is missing key information regarding the &quot;hiding by name&quot; concept for C#.

Change:

&quot;This is implemented in Visual Basic with the Shadows keyword and in C# by redeclaring the method as private.&quot;

To:

&quot;This is implemented in Visual Basic with the Shadows keyword and in C# by redeclaring the method as private and applying the new keyword.&quot;

Page 319: &quot;new&quot; qualifier missing from C# code sample
On page 319, the 10th line in the continuation of the C# code sample from page 318 is missing the &quot;new&quot; qualifier.

Change: private decimal PerformCalculation(int count)

To: private new decimal PerformCalculation(int count)

Page 325: Question 2 should be removed/disregarded
On page 325, Question 2 is incorrect and is not in line with the information presented in the Chapter therefore it needs to be disregarded.

Page 570: &quot;e-mail&quot; should be &quot;network message&quot;
On page 570, Step 5 contains an incorrect notification option.

Change:

&quot;5. On the Action tab, specify an action that will be performed such as sending an e-mail, writing an entry to the event log, or executing some program.&quot;

To:

&quot;5. On the Action tab, specify an action that will be performed such as sending a network message, writing an entry to the event log, or executing some program.&quot;

Page 574: &quot;e-mail&quot; should be &quot;network message&quot;
On page 574, Answer B of Question 3 contains an incorrect notification option.

Change:

&quot;B. Create an Alert within System Monitor that sends an e-mail directly to the administrators.&quot;

To:

&quot;B. Create an Alert within System Monitor that sends a network message directly to the administrators.&quot;

Page 577: &quot;Working set&quot; is not a Memory object counter
On page 577, the third bullet point under Memory Use titled &quot;Working set&quot; and its explanation can be disregarded and removed. Working set is not a Memory object counter.

Page 582: &quot;Working set&quot; is not a Memory object counter
On page 582, the 4th bullet down in Lesson Summary incorrectly states that Working Set counters are part of the Memory object.

Change:

&quot;Available Mbytes, Pages/sec, and Working Set counters from the Memory object can be used to monitor the memory use on your servers.&quot;

To:

&quot;Available Mbytes and Pages/sec counters from the Memory object can be used to monitor the memory use on your servers.&quot;

Page 598: Answer A to Question 2 should be correct
On page 598, Answer A to Question 2 should be correct and a different explination given.

Change:

&quot;2. Correct Answers: B and C

A. Incorrect: The user interface should not be required to enforce data integrity. Allowing the data tier and the database to enforce the integrity ensures that the data is safe from any code.&quot;

To:

&quot;2. Correct Answers: A, B and C

A. Correct: The user interface should be required to enforce data integrity.&quot;

Page 602: Incorrect answer to Question 2 of Lesson 1
On page 602, answer B to question 2 of Lesson 1 should be marked correct, and answer A should be marked incorrect.

Change:

&quot;2. Correct Answer:

A A. Correct: The @Register directive is required only once, regardless of the number of times the user control is used on the page.

B. Incorrect: The @ Register directive for a user control contains a TagPrefix attribute, which associates a prefix with the user control. This prefix will be included in the opening tag of the user control element. It also contains a TagName attribute, which associates a name with the user control. This name will be included in the opening tag of the user control element. An Src attribute defines the virtual path to the user control file that you are including.&quot;

To:

&quot;2. Correct Answer: B

A. Incorrect: The @Register directive is required only once, regardless of the number of times the user control is used on the page.

B. Correct: The @ Register directive for a user control contains a TagPrefix attribute, which associates a prefix with the user control. This prefix will be included in the opening tag of the user control element. It also contains a TagName attribute, which associates a name with the user control. This name will be included in the opening tag of the user control element. An Src attribute defines the virtual path to the user control file that you are including.&quot;

Page 605: &quot;CurrentCultureUI&quot; should be &quot;CurrentUICulture&quot;
On page 605, in Step 1 of Case Scenario 2 the control that is used is incorrect.

Change:

&quot;1. The CurrentCultureUI control provides you with the capabilities necessary to expose localized text to users.&quot;

To:

&quot;1. The CurrentUICulture control provides you with the capabilities necessary to expose localized text to users.&quot;

Page 615: Answer to question 3 is partially incorrect
On page 615, the answer to question 3 in the middle of the page is partially incorrect..

Change:

&quot;3. Correct Answer: C

A. Incorrect: Private methods are Overridable by default.

B. Incorrect: Public methods are NotOverridable by default.

C. Correct: If you are creating MustOverride methods or properties, the class must be inherited.

D. Incorrect: MustOverride methods contain only the declaration statement for a Sub, Function, or Property. In addition, there is no End Sub or End Function statement for methods.&quot;

To:

&quot;3. Correct Answers: A, C, and D

A. Correct: Private methods are NotOverridable by default.

B. Incorrect: Public methods are NotOverridable by default.

C. Correct: If you are creating MustOverride methods or properties, the class must be inherited.

D. Correct: MustOverride methods contain only the declaration statement for a Sub, Function, or Property. In addition, there is no End Sub or End Function statement for methods.&quot;

Page 635: &quot;e-mail&quot; should be &quot;network message&quot;
On page 635, Answers B and C of Question 3 contain an incorrect notification option.

Change:

&quot;B. Correct: You can create an alert that sends an e-mail when a certain counter threshold is exceeded or not reached.

C. Incorrect: Although you can set up an alert to execute an executable, it would be easier to just send an e-mail directly, using the alert.&quot;

To:

&quot;B. Correct: You can create an alert that sends a network message when a certain counter threshold is exceeded or not reached.

C. Incorrect: Although you can set up an alert to execute an executable, it would be easier to just send a network message directly, using the alert.&quot;

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.

Additional query words: 0-7356-2340-6 978-0-7356-2340-8

Keywords: KB941491

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.