Errata
The errata list is a list of errors and their corrections that were found after the product was released.
The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.
Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version | Location | Description | Submitted by | Date Submitted |
---|---|---|---|---|
Page 23 11^line |
If no errors occurred, the ModelState.IsValid property will reflect this by returning false. |
Scippy | Jan 07, 2016 | |
Page 54 var url = "http://www.myblog.com/posts/post.cshtml"id=" + post.ID; |
var url = "http://www.myblog.com/posts/post.cshtml"id=" + post.ID; |
ramin rajabi | Oct 27, 2013 | |
Page 53 @foreach(var in posts) |
@foreach(var in posts) { |
ramin rajabi | Oct 27, 2013 | |
Page 37 Ebook version, From bottom up, Line 12 |
Chage: |
Đỗ Như V? | Jul 31, 2013 | |
Page 19 code within listing on page inside if(IsPost){...} |
Since the book was published in Sept. 2011, I assume that the author was using the original WebMatrix, however, in the latter part of 2011 and recently in 2012, WebMatrix 2 beta and WebMatrix 2 RC, respectively, have been released. These versions of WebMatrix require that a reference to a .dll or a library be added. This is most easily accomplished by using NuGet to add "Microsoft ASP.NET Web Pages 2 Web Data" to the project. Otherwise, the code presented on page 19 will not work as expected. |
mschaffer | Sep 01, 2012 | |
Page 5 First line of text at top of page (template...) |
I believe the line should read: |
mschaffer | Sep 01, 2012 | |
Page 5 First line of text at top of page (template...) |
I believe the line should read: |
Mark Schaffer | Sep 01, 2012 | |
Page 15 figure 2-4 |
In figure 2-4, the table for the posts is defined. The reader is instructed to make all of the fields to not allow nulls. Then, In the following sections describing the AddPost form, the POST action does not update the date field, so an error is encountered when trying to POST: PublicationDate is null. |
Mark Schaffer | Sep 01, 2012 | |
Printed | Page 21 row 10 |
var id=Request["id"].IsInt(-1); |
Kurt Andersson | Mar 06, 2012 |
Printed | Page xii "Conventions used in this book", 3rd and 4th items |
The sub-headers, "Constant width bold" and "Constant width italic," have been printed as strange square symbols instead of readable characters (compared to online version on Google Books http://books.google.com/books?id=2l-GvnvR9AIC&lpg=PP1&pg=PR12#v=onepage&q&f=false). |
Anonymous | Dec 07, 2011 |
Printed | Page iv "Revision history..." |
First release is dated as "2001-09-28" - should be 2011? |
Anonymous | Dec 07, 2011 |