Corrections, Breaking Changes and Errata

This book was written against an early copy of the Technical Preview. This page details any late-breaking changes to the .NET Framework as well as any corrections to the book.

 

Chapter 2

Page 46. The arguments for the aspnet_compiler command should be:

aspnet_compiler.exe [-m metabasePath | -v virtualPath | 
                    [-p physicalPath]] [target_dir]
        

Chapter 3

Page 71, the sample indicates a CookieParameter (as DeleteParameters). The attribute CookieName is misspelled CoookieName (with three o's).

Chapter 4

On page 132, table 4.13 - The Properties of the DetailsView Control. The sixth row documents the DataItem property, which is no longer present. Instead there is a Rows property allowing access to the bound data. 

 

Chapter 6

On page 206, Listing 6.15, Configuring Role Manager, there is a missing closing XML tag on the add element. 

 

Chapter 11

Page 368 details the configuration for SqlCacheDependency as: 
<cache>
  <sqlCacheDependency enabled="true">
    <add name="Northwind"
         connectionStringName="Northwind"
         pollTime="500" />
</cache>
                        

This should be:

<cache>
  <sqlCacheDependency enabled="true">
    <databases>
      <add name="Northwind"
           connectionStringName="Northwind"
           pollTime="500" />
    </databases>
  </sqlCacheDependency>
</cache>
                        

Notice the intermediate <databases> element and the missing </sqlCacheDependency> element.