ASP.NET in a Nutshell, Second Edition

  Author:    Matthew MacDonald, G. Andrew Duthie, G Andrew Duthie
  ISBN:    0596005202
  Sales Rank:    321316
  Published:    2003-08-26
  Publisher:    O'Reilly
  # Pages:    1008
  Binding:    Paperback
  Avg. Rating:    4.0 based on 15 reviews
  Used Offers:    18 from $13.47
  Amazon Price:    $34.16
  (Data above last updated:  2008-08-29 07:01:35 EST)
  
  
Sort customer reviews by:
  
Show All Reviews on Page      Hide All Reviews on Page
   
  
ASP.NET in a Nutshell, Second Edition
  
ASP.NET in a Nutshell is a concise, one-volume reference to everything you need to make effective use of ASP.NET. An invaluable resource that goes beyond the published documentation to highlight little-known details, stress practical uses for particular features, and provide real-world examples that show how features can be used in a working application, ASP.NET in a Nutshell is the definitive guide for developers of both applications and web services. Updated for Visual Studio .NET 2003, the 2nd edition of this book includes fresh information on application and web service development, custom controls, data access, security, deployment, and error handling, new material on web application development for mobile devices, plus an overview of the class libraries. For developers who still use Microsoft's older ASP technology, this book also provides information for migrating to ASP.NET. The material in ASP.NET in a Nutshell is presented in three sections:
  • A fast-paced introduction to ASP.NET that examines topics such as building ASP.NET applications, developing web services, creating custom controls and user controls for maximum code reuse, debugging and handling errors, understanding ASP.NET security, and configuring and deploying an ASP.NET application
  • A detailed reference to the properties, methods, and events of the most frequently used ASP.NET classes which include the Page class and the new .NET classes, such as HttpApplicationState and HttpSessionState, which correspond to the intrinsic objects in classic ASP. Configuration settings in web.config are also documented
  • A Quick Reference to the types (the classes, structures, interfaces, delegates, events, and enumerations) found in web-related namespaces to the .NET Framework Class Library.
Like other books in the "In a Nutshell" series, ASP.NET in a Nutshell, 2nd Edition, offers the facts, including critical background information, in a no-nonsense manner that users will refer to again and again. With its wealth of up-to-date information, ASP.NET in a Nutshell is a book that web developers will refer to again and again.
                  Reader Reviews 1 - 15 of 15                 
  
  
Review
Date
Review
Rating(5 High)
Review
Helpful
to:
Customer Review Reviewer
Info
Permanent
Link
Reader Reviews Below Sorted by Newest First
08-11-08 3 (NA)
(Hide Review...)  Easy examples but needs more sample code that progressively increases in complexity and functionality
Reviewer Permalink
ASP.NET in a nutshell appeals to two audiences: beginners and advanced developers. The middle group is neglected. The samples were easily coded and worked. However, the object model describing the objects were referenced as complex schematics in the appendix. Another set of examples needed to be included that showed how to interact with the object methods and properties of the .net components. I had to go to the web and read numerous articles to discover how to manipulate the components through their object model. I've included a few samples on my site.

Configuration Settings was not clearly described. The custom error handling was difficult to understand.

The tree control view was initialized using an xml structure. The OnTreeNodePopulate event was need a sample code demonstration. I create a treenode called Industry which loads the children nodes on demand using the PopulateOnDemand callback.

The Datalist control has a number of important attributes which must be attended too: Datakeyfield (Primary Index), Datasource (the Oledb database connection-a AccessDataSource type). ASP.net carries the Visual C++ tradition of event mapping. I've chosen to use OnItemCommand event to capture the e.commandname for "Insert","Edit","Update", and "Delete". Insert requires a special routine of making visible a panel with an input form embedded and upon clicking the save button mapping to the AddNewRecord function which creates a insert into sql string and assigns it to the datasource insertcommand attribute and transacts the dml then resets the input variable and hides the panel.

ASP.NET System.Data.OleDB (connection, command object) active Server Pages. The oledb coverage is highly neglected in the ASP.NET in a nutshell book. I used the internet to discover how to open a MS access oledb connection and execute an Update DML using the oledbcommand object.

Validators were very interest. I create an input form has three types of validation routines: required validator, custom validator, and range validator.
If the validation rule is not met than an custom error message will appear to the right of the textbox. You can force validation by calling the validator method validate. The result can be returned to the calling program by invoking the IsValid method. I've used a regular expression to check for valid email, currency, and other patterns. There are a number of helpful sites for regular expression that are searchable from my site from "active server pages" query.


ASP.NET Calendar Control - Changing Display Years - Updating a Textbox with selection - Active Server Pages I coded a codeset of interaction between a textbox, dropdown combo box, and a calendar. I started by populating a drop down combo box with plus and minus 20 years from the current year and selecting the current year. An event handler is defined for the OnSelectedIndexChanged value which called "Set_Calendar" eventhandler. "Set_Calendar" event handler uses the selected value for year from the drpCalYear control to initialize the calendar using the VisibleDate property of the calendar control. The autopostback attribute of the drop down combobox must be set to true allowing a postback when index selection change has occurred.

Other topics that were of interest:
Understanding the system.array
Using .net collections
working with arraylists and hashtables
Using the application object
Using the session object
reading and writing cookies
using the query string
understanding VB classes
formating Numbers, dates, and times
Using the datareader
overriding producings
raising events and implement callbacks
(Review Data Last Updated: 2008-08-27 04:46:13 EST)
10-01-04 4 5\6
(Hide Review...)  Fairly good structure; Mostly for VB.NET programmers
Reviewer Permalink
I concur with other reviewers on the following points:

1) The organization is good and focuses strictly on the relevant web classes in .NET.

2) The documentation, however, is more or less a repeat of ASP.NET information from MSDN. In a lot of O'Reilly Nutshell books, the authors typically add more insight to the classes they cover that the official documentation does not. With this book, I really did not get that impression.

If you need an offline version of the MSDN documentation, this is great. Another detraction is that the book does not come with a documentation add-in CD like the other .NET in a Nutshell books.

3) The most egregious fault with this book is that the authors do NOT tell you that the book is mostly in VB.NET syntax. I'm trying to learn C# and the book's latter parts is all VB.NET. I really wish the authors were upfront about this, so I could save myself some money. *sigh*

Future ASP.NET Authors: If you're going to write about ASP.NET, please specify, somewhere on the cover or in the introduction, the language you will be using for examples.

C# programmers may be better off reading other ASP.NET books, which usually are in C# (or at least tell you upfront which language is being used).
(Review Data Last Updated: 2007-09-07 18:54:48 EST)
10-01-04 4 5\6
(Hide Review...)  Fairly good structure; Mostly for VB.NET programmers
Reviewer Permalink
I concur with other reviewers on the following points:

1) The organization is good and focuses strictly on the relevant web classes in .NET.

2) The documentation, however, is more or less a repeat of ASP.NET information from MSDN. In a lot of O'Reilly Nutshell books, the authors typically add more insight to the classes they cover that the official documentation does not. With this book, I really did not get that impression.

If you need an offline version of the MSDN documentation, this is great. Another detraction is that the book does not come with a documentation add-in CD like the other .NET in a Nutshell books.

3) The most egregious fault with this book is that the authors do NOT tell you that the book is mostly in VB.NET syntax. I'm trying to learn C# and the book's latter parts is all VB.NET. I really wish the authors were upfront about this, so I could save myself some money. *sigh*

Future ASP.NET Authors: If you're going to write about ASP.NET, please specify, somewhere on the cover or in the introduction, the language you will be using for examples.

C# programmers may be better off reading other ASP.NET books, which usually are in C# (or at least tell you upfront which language is being used).
(Review Data Last Updated: 2008-08-18 04:46:56 EST)
08-07-04 1 2\6
(Hide Review...)  Poorly planned, I don't know who this book is for
Reviewer Permalink
The description of this book says it's for ASP developers transitioning to ASP.NET. I have worked with ASP for over a year, and this book was pretty much useless. The only redeeming factor was that I was able to get it from my local library, so I found out before it cost me any cash. The first part of the book delves into topics with zero explanation, and very little code, so you don't have a chance to get your feet wet with actual code, and the topics are dull and dry. The last portion of the book looks like it would be a nice reference, but honestly, why would you buy a book like this for a reference? Isn't that what the 'net is for?

Two thumbs down. I'm working through a Sam's teach yourself in 21 days book and it is significantly better for anyone transitioning from classic ASP or learning ASP.NET from scratch,

(Review Data Last Updated: 2007-07-09 14:58:57 EST)
03-02-04 5 2\3
(Hide Review...)  O'Reilly at it's best
Reviewer Permalink
I've been reading O'Reilly since the days of the tiny fifty page staple-bound brown Nutshell books that covered shell commands and the first version of Perl. This book is that has taken that same approach to data condensation and applied it to everything you need to know about ASP.NET. And extend they have at almost a thousand pages it is far heavier than the original books, but that doesn't make it any less worthwhile.

The first section covers all of the conceptual introductions to the topics, .NET controls, web services, configuration and security and all of the basics. The second section covers each section of the class library in a concise and consistent form that make it so much easier to grab for the book before you even press F1 to bring up the MSDN. Where necessary they include code fragments to demonstrate the point along with the explanatory text but it is never overblown or unnecessary.

This isn't light bedtime reading but it is an invaluable reference to sit next to the keyboard of any ASP.NET programmer.

(Review Data Last Updated: 2007-06-30 09:49:57 EST)
03-01-04 5 2\4
(Hide Review...)  O'Reilly at it's best
Reviewer Permalink
I've been reading O'Reilly since the days of the tiny fifty page staple-bound brown Nutshell books that covered shell commands and the first version of Perl. This book is that has taken that same approach to data condensation and applied it to everything you need to know about ASP.NET. And extend they have at almost a thousand pages it is far heavier than the original books, but that doesn't make it any less worthwhile.

The first section covers all of the conceptual introductions to the topics, .NET controls, web services, configuration and security and all of the basics. The second section covers each section of the class library in a concise and consistent form that make it so much easier to grab for the book before you even press F1 to bring up the MSDN. Where necessary they include code fragments to demonstrate the point along with the explanatory text but it is never overblown or unnecessary.

This isn't light bedtime reading but it is an invaluable reference to sit next to the keyboard of any ASP.NET programmer.

(Review Data Last Updated: 2006-07-07 08:36:00 EST)
11-06-03 3 1\4
(Hide Review...)  No CD with VS add-in
Reviewer Permalink
Just bought the 2nd edition and I was looking forward to the CD with the Visual Studio .Net doc'n plug-in, but when I received the book it didn't have the CD. I called O'Reilly and customer support told me that they had decided not to include the CD, and Amazon just has an old image of the cover (O'Reilly has the "old" cover image too then!).

I had installed the add-in for other O'Reilly nutshell books (ADO.Net and Windows Forms) and found them to be useful, and thus I was disappointed that this book is not including the CD. Perhaps O'Reilly is planning to sell a plug-in for all of the FCL, and that is why the CD was pulled...

(Review Data Last Updated: 2007-07-09 14:58:57 EST)
11-05-03 3 1\4
(Hide Review...)  No CD with VS add-in
Reviewer Permalink
Just bought the 2nd edition and I was looking forward to the CD with the Visual Studio .Net doc'n plug-in, but when I received the book it didn't have the CD. I called O'Reilly and customer support told me that they had decided not to include the CD, and Amazon just has an old image of the cover (O'Reilly has the "old" cover image too then!).

I had installed the add-in for other O'Reilly nutshell books (ADO.Net and Windows Forms) and found them to be useful, and thus I was disappointed that this book is not including the CD. Perhaps O'Reilly is planning to sell a plug-in for all of the FCL, and that is why the CD was pulled...

(Review Data Last Updated: 2006-07-07 08:36:00 EST)
06-25-03 5 2\4
(Hide Review...)  I buy a lot of books this one is one of the best
Reviewer Permalink
I really liked this book and its format. Perhaps it was just me but everytime I was looking for a particular solution I found it quickly. The book unlike some other nutshell books actaully does a very very good job of explaining the concepts as you code which is exactly the way I like to work.
(Review Data Last Updated: 2007-07-09 14:58:57 EST)
06-24-03 5 2\4
(Hide Review...)  I buy a lot of books this one is one of the best
Reviewer Permalink
I really liked this book and its format. Perhaps it was just me but everytime I was looking for a particular solution I found it quickly. The book unlike some other nutshell books actaully does a very very good job of explaining the concepts as you code which is exactly the way I like to work.
(Review Data Last Updated: 2006-07-07 08:36:00 EST)
02-27-03 4 9\11
(Hide Review...)  ASP.Net in a nutshell
Reviewer Permalink
Review: ASP.NET in a Nutshell - A Desktop Quick Reference

ASP.NET in a Nutshell is the fast track way to get up-to-speed on Microsoft's next generation technology for building web enabled applications on the .NET platform.

The book is structured in three sections. Part 1 provides a high level overview of what ASP.NET is and discusses the new features such as Web Services, Server Controls, Data Access (ADO.NET), Security, Configuration, Error Handling, and Validation Controls. Part 2 is a reference to each of the major classes that are available as part of the ASP.NET object model. A chapter is devoted to each of the following classes:

- Page

- HttpApplication and HttpApplicationState

- HttpContext

- HttpException

- HttpRequest

- HttpResponse

- HttpServerUtility

- HttpSessionState

Part 3 provides a reference to the namespaces you'll most commonly come across while developing ASP.NET applications. Of all three sections, I found this section to be the least useful. Although each of the classes has an introductory reference, Most of the information here can be sourced easily from the MSDN documentation. Such a reference would have been better suited to a book on ASP, where the official documentation was somewhat scarce.

The books introductory chapters start out with code examples written in both VB.NET and C#, however as you progress further through the book the samples are provided in VB.NET only. This is not such a bad thing, but I would have preferred it had the authors stuck to one language throughout the book, or give consistent examples throughout the book in both languages.

This is not a book for beginners. For those readers just starting out with ASP.NET or with little to no web development experience, I would suggest reading other titles such as Programming ASP.NET (O'Reilly) or Professional ASP.NET (Wrox Press) before purchasing ASP.NET in a Nutshell.

At the end of the day, ASP.NET in a Nutshell provides a good quick reference to the fundamentals of ASP.NET, with excellent tutorials and "How To's" throughout. Despite the namespace reference providing only a little more than the MSDN documentation, the first two sections more than make up for those 300 odd pages of filler. And If you're willing to live with most of the example being written in VB.NET then this book is definitely a worthwhile purchase.

(Review Data Last Updated: 2006-07-07 08:36:00 EST)
02-24-03 2 10\13
(Hide Review...)  Not a focused book
Reviewer Permalink
I'm afraid I disagree with most of the reviews.

This book is divided in three sections:
1-A "fast-paced introduction to ASP.NET" (ch.1-11, p.1-228)
2-A "detailed reference to most frequently used ASP.NET classes" (ch.12-20)and,
3-A "Quick reference" of the ASP-related namespaces(ch.21-38)

My comments:
1-The fast-paced intro reads rather like a list than an actual intro. I mean you don't really get the picture of what .NET, or the elements described here, is about. And, though it certainly aims at programmers with previous experience, its code examples are not focused on the topic discussed but wastes pages upon pages by showing context code as well(which could have been clearly implied). So if you know the things covered here, it's a waste, if you don't know them you are not going to get any useable info. Finally occupying roughly the 1/3 of the book it could really get off the way.

2-The reference of the most used classes is nothing you couldn't find in the framework's documendation. Yes, it's focused on web-related classes and more handy maybe than the on-line reference but that's not a big deal. The big deal is, though, that it does not give you a better insight into the programming logic they supply. So what's the benefit?

3-The quick namespace reference part is the best one(compared to others). It has a UML formatted diagram of each namespace followed by a short description of its classes each with a list of its methods and properties. The diagrams are good and give you a panoramic view but an index of the UML notation is missing. Also the methods and properties of the classes are just listed and not described so what's the use if you need additional reference resources? It would have been better if this part were more detailed and covered the whole book. This would make it a real reference.

Overall, I found the book confused about its target reader, mixing too much with too little, certainly unbalanced, and the explanations a bit "wooden" and messy,lucking crispness and in the bottom line it is not a book you could use as complete reference by itself.

(Review Data Last Updated: 2006-07-07 08:36:00 EST)
01-12-03 4 9\9
(Hide Review...)  BALANCED AND WELL-STRUCTURED
Reviewer Permalink
Messrs Duthie and MacDonald should be commended for their great effort in structuring this text. The entire 800 pages of this book contain all the necessary ingredients that any serious ASP.NET learner would need in balancing his/her knowledge. It includes: web service development, data access, security, custom controls, deployment, error handling and much more.
In highlighting all the essentials, this book provided easy-to-follow practical analyses for all the features it covered. There are well-anticipated examples which guide the reader through the course. This is a very nice book to have around.
(Review Data Last Updated: 2006-07-07 08:36:00 EST)
09-26-02 4 9\14
(Hide Review...)  Excellent Reference -- So-So Tutorial
Reviewer Permalink
I picked this particular book because it was by O'Reilly, and their reference "ASP in a Nutshell" is excellent. However, that other book is by a different author, and ASP.NET is far more complex than classic ASP.

The dilemma the authors faced was that if they wanted to create an excellent reference at a reasonable price, they had to skimp on creating a good tutorial. Well, they succeeded in creating an excellent reference at a fair price. The book is almost 800 pages, and I think they used the space very well. But as other reviewers have noted, if you need a slower-paced introduction, you will need another book. O'Reilly & Associates have apparently realized this, because they also publish "Programming ASP.NET" (which I know little about).

To me, the authors seem to be very knowledgeable. The book is well-organized and doesn't skimp on any ASP.NET topics. They know "classic" ASP extremely well, which is helpful if you yourself are migrating from classic ASP.

C# and other non-VB programmers will notice a slight bias towards Visual Basic .NET, but honestly this shouldn't be a problem for anybody, especially if you were used to switching between VBScript and JScript in "classic" ASP.

If I could change one thing about the book, it would be the introduction to ADO.NET. ADO.NET only bears a superficial resemblance to "classic" ADO, and the bound ASP.NET data controls are completely new. Yet the chapter that covers them is only 23 pages long. The chapter is explicitly written as an overview, but if you have no other printed reference handy the chapter ends up being just a teaser. The examples in that chapter are fairly similar to the ones in the MDSN library, which are quite "lazy". I would have gladly paid another $2.20 for 50 more pages to expand upon the topic. Instead I will have to find some good examples on the web somewhere, or buy another book (not likely).

I don't own any other ASP.NET books, but I can say that if you could only buy one ASP.NET book, this one would be a good choice.

(Review Data Last Updated: 2006-07-07 08:36:00 EST)
08-05-02 5 9\11
(Hide Review...)  I keep this book within arm's reach
Reviewer Permalink
If you're serious about knowing all the nooks and crannies of ASP.NET then have this book on standby at all times. I haven't read every page in it yet since it's so much of a reference manual (covers all the web namespaces) but when I'm stuck on something it has in most cases been able to solve the problem for me. I've been turning to this book if I need to know the name of a method or property or what namespace it's located in or if I want a particular functionality but need to find out if such a function even exists. This book has helped me in those areas. You won't get the most benefit from this book until you're at least at a comfortable level with ASP.NET so don't try to learn it from scratch from this book. Have at least one good ASP.NET book under your belt first.
Happy Coding!
(Review Data Last Updated: 2006-07-07 08:36:00 EST)
  
                  Reader Reviews 1 - 15 of 15                 
  
  
  
  
  
  

Because the data used to generate this site come from outside sources, VeryWellSaid.com cannot guarantee the completeness or accuracy of the data.
Search VeryWellSaid™
Google
Web VeryWellSaid™
New subjects are added every week.
View Subjects Below by:
* Top Selling
 (click category name, left)
* Top-Rated Top Sellers
 (click 'Top Rated', right)
In the news...  
Dubai\UAE Top Rated
Influenza\Bird Flu Top Rated
Iraq Top Rated
Supreme Court Top Rated
All Books Top Rated
Arts Top Rated
Photography Top Rated
Digital Photography Top Rated
Digital Cameras Top Rated
Biography Top Rated
Business Top Rated
Management Top Rated
Marketing Top Rated
Sales Top Rated
Stocks Top Rated
Bonds Top Rated
Real Estate Top Rated
Trading Top Rated
Commodities Trading Top Rated
Time Management Top Rated
Starting A Business Top Rated
Children's Top Rated
Comics Top Rated
Computers Top Rated
PC Top Rated
Mac Top Rated
Programming Top Rated
Design Patterns Top Rated
.Net Top Rated
C# Top Rated
Vb.Net Top Rated
Asp.Net Top Rated
Java Top Rated
Python Top Rated
PHP Top Rated
Perl Top Rated
Javascript Top Rated
Ajax Top Rated
CSS Top Rated
Open Source Top Rated
SQL Top Rated
Databases Top Rated
Oracle Top Rated
MySql Top Rated
Sql Server Top Rated
IIS Top Rated
Apache Top Rated
Linux Top Rated
Windows Server Top Rated
Project Management Top Rated
HTML Top Rated
UML Top Rated
IT Certifications Top Rated
Cisco Certifications Top Rated
MCSE Top Rated
MCSD Top Rated
Cooking Top Rated
Italian Cooking Top Rated
Vegetarian Cooking Top Rated
Wine Top Rated
Engineering Top Rated
Entertainment Top Rated
Health Top Rated
Nutrition Top Rated
Dieting Top Rated
Sex Top Rated
History Top Rated
Military History Top Rated
British History Top Rated
Middle East History Top Rated
Land Battles Top Rated
Naval Warfare Top Rated
Air Warfare Top Rated
9/11 Top Rated
Terrorism Top Rated
Home Top Rated
Mortgage\Home Equity Loan Top Rated
Cars Top Rated
Car Buying Top Rated
Sports Cars Top Rated
Cat Top Rated
Humor Top Rated
Horror Top Rated
Law Top Rated
IP Law Top Rated
Legal History Top Rated
Fiction Top Rated
Oprah's Book Club Top Rated
Medicine Top Rated
Cancer Top Rated
Stroke Top Rated
Heart Disease Top Rated
Fertility Top Rated
Diabetes Top Rated
Pharmacology Top Rated
Back Problems Top Rated
Menopause Top Rated
Thyroid Top Rated
Pain Top Rated
Organic Chemistry Top Rated
Immune System Top Rated
Mystery Top Rated
Nonfiction Top Rated
Outdoors Top Rated
Running Top Rated
Radio Control Models Top Rated
Guns Top Rated
Parenting Top Rated
Divorce Top Rated
Professional Top Rated
Reference Top Rated
Religion Top Rated
Romance Top Rated
Science Top Rated
Physics Top Rated
Chemistry Top Rated
Astronomy Top Rated
Psychology Top Rated
Science Fiction Top Rated
Sports Top Rated
Teens Top Rated
Travel Top Rated
USA Top Rated
Europe Top Rated
France Top Rated
Italy Top Rated
England Top Rated
China Top Rated
All Books Arts Biography Click Here For An A-Z Index Of All 213 Best-Seller Subjects Business Children's Comics
Computers Cooking Engineering Entertainment Health History Home Horror Humor Law Fiction Medicine Mystery
Nonfiction Outdoors Parenting Professional Reference Religion Romance Science Sci-Fi Sports Teens Travel
In Association with Amazon.com

Cache miss
(not cached)