- Amazon Student members save an additional 10% on Textbooks with promo code TEXTBOOK10. Enter code TEXTBOOK10 at checkout. Here's how (restrictions apply)
Professional ASP.NET 2.0 Server Control and Component Development Paperback – Aug 7 2006
Special Offers and Product Promotions
No Kindle device required. Download one of the Free Kindle apps to start reading Kindle books on your smartphone, tablet, and computer.
To get the free app, enter your e-mail address or mobile phone number.
From the Back Cover
The ASP.NET 2.0 Framework introduced web developers to dozens of new server controls and components, and a greatly expanded and easier structure for writing their own server controls and components. Professional ASP.NET 2.0 Server Control and Component Development covers the breadth of server control functionality as well as the rest of the membership, role management, SchemaImporterExtension, and so on – the functionality referred to as components. Written for the experienced ASP.NET developer, Professional ASP.NET 2.0 Server Control and Component Development will show you how to write your first sever control or custom component.
The step-by-step coverage drills down to the details of the extensible part of the ASP.NET 2.0 Framework that you need to extend to write the specified type of custom control or component. Rather than present the extensible part as a black box, it presents a detailed step-by-step approach to implement functional replica of the extensible part, discusses the replica’s code in detail, and provides an in-depth coverage of the techniques, tools, and technologies used in the code. From there you get a detailed practical recipe for developing the specified type of custom control or component and book then uses the recipe to implement one or more real-world custom controls or components of the specified type that you can use in your own Web applications.
Some of the many types of controls and components you'll learn to build are:
- Web Parts: four chapters on Web Parts in ASP.NET 2.0 develop a number of custom WebPart, EditorPart, CatalogPart, WebPartZone, WebPartChrome, WebPartVerb, WebPartManager, and data-bound WebPart controls.
- 5 chapters on ASP.NET 2.0 security, membership, and role management components
- 5 chapters on ASP.NET 2.0 tabular and hierarchical data source controls and custom Parameter components
- 4 chapters on ASP.NET 2.0 tabular data-bound controls and data control fields
- Developing controls and components that can access any type of data store and automate all their data operations such as Delete, Update, Insert, and Sort.
- XML Web service, WSDL, Google XML Web service API, SchemaImporterExtension, ISerializable, and CodeDom
- XmlReader, XmlWriter, XPathNavigator, DOM, and XmlResolver
- Provider-Based Services including how to implement a RSS service provider that can feed RSS from any type of data store such as SQL Server, file system, Web services, and so on
- HTTP modules, HTTP handler factories, HTTP handlers, and control builders including developing an HTTP module and an HTTP handler factory that perform URL rewriting and an HTTP handler that generates RSS feeds
- User controls and composite and templated custom controls
- State management and custom type converters.
- Events, IPostBackEventHandler, IPostBackDataHandler, and Page lifecycle
About the Author
Shahram Khosravi started working as a software engineer while still in college. After completing his Ph.D., he continued working on cutting-edge software development projects. Shahram is a senior software engineer, consultant, author, and instructor specializing in ASP.NET, Web services, .NET technologies, XML technologies, ADO.NET, C#, 3D computer graphics, Human Interface (HI) usability, and design patterns. He has more than 10 years of experience in object-oriented analysis, design, and programming. Shahram has written articles on the .NET Framework, ADO.NET, ASP.NET, and XML technologies for industry leading magazines such as Dr. Dobb’s Journal, asp.netPRO magazine, and Microsoft MSDN Online. He is a great enthusiast for using, teaching, and writing about the latest Microsoft technologies, and provides consulting and training services to help others use them in their own software products.
Inside This Book(Learn More)
Most Helpful Customer Reviews on Amazon.com (beta)
He does an superb job of explaining why he's presenting information in the sequence he does. So often I struggle to understand why an author is showing me how to do something I consider trivial (like changing style attributes) before or even instead of something important (like interacting with other controls). I never had that problem with this book.
Server controls are a very complex and potentially confusing subject. The Wrox Profession ASP.NET 2.0 book does a very poor job of explaining them and dedicates far too little space to the subject which is why I bought this book. In comparison, Dr. Khosravi and his editor have done a very good job of organizing the subject. Even thought the resulting book is still a challenging read, I can grasp some concepts that other authors were unable to explain clearly. It may be that Dr. Khosravi had more space or that he was more skilled. I don't care - it worked.
If you are interested in developing custom server controls, which you should be, then this is the best resource you can have on your bookshelf. All ambitious ASP.NET developers should own this book.
Sometimes one very talented mind can acheive more than a host of merely smart ones. This is such a case. If you're ever in Southern California, Doctor, please let me buy you a beer. Cheers.
In the Introduction to the book, Wrox Press' standard boiler-plate text states "As you work through the examples in this book, you may choose either to type in all the code manually or to use the source code files that accompany this book" (pg. xxxiv). Well, prepare to download the source code. Half the code is missing from the book. The code snippets that are shown are missing vital pieces, such as attributes that are necessary to make it work. The code that is available is often incorrect or doesn't match up with the book anyway.
In short, you will learn things from this book, but it will take a lot more effort than just reading this book and working through the examples. It would make a good reference book for those times when you need a quick answer. Try to find this book for more than 50% off, because it's not worth even that much.
Well, I'm only at Chapter 13, after having reworked the examples again and again from chapters 1 through 8. That's because the code samples in the book and the source code available from Wrox's web site are so poor.
In addition, I would like to go on record and say that the editors of this book did an absolutely horrible job. The author has a hard enough time trying to get his ideas across and often can't see the forest for the trees. It's the editor's job to bring the author's thoughts into clarity and focus and conciseness. This book has none of that. It makes for incredibly difficult reading.
The index is horrible and references the examples directly, instead of the concepts being taught as they relate to the .NET Framework and ASP.NET. How am I supposed to find something quickly with that index? Consequently, my original suggestion that this would be a good reference book is only half-true—providing you can find what you need, it's a good reference book. As one reviewer noted, however, many examples rely upon earlier examples; and I agree with the reviewer that each concept, perhaps, should have used a different example to make that one concept more concrete.
One other important factor comes back to the code provided for download. It's horribly written. I, for one, like to have my methods and properties and other constructs grouped together in one spot within my classes. In addition, I like to have the properties and methods and other constructs listed alphabetically. This aids in being able to quickly find code constructs within the file while scrolling around. It also just makes for neater code. Shouldn't professional (writing) programmers be practicing what they teach about writing neat code? This code would never pass a "code review" at any professional development organization. (This is partly the author's fault, but the code reviewer for the book had every opportunity to tell the author to clean it up or clean it up him/herself.)
Again, nothing against the author in all of this, this is the editor's job. I would definitely reference the credits page to avoid other books with the same Editors and Proofreaders/Indexers.
Like another reviewer said, you will learn from this book, it will just take you an inordinate amount of time and lots and lots of patience!
It's also very difficult to use as a reference because every example relies on specfic code in the previous examples. In fact, the first several chapters are all rebuilding the exact same control. It would've been much better to see a series of different controls each re-enforcing the text of the chapter. I feel like I'm wasting time learning bad techniques for writing a control only to go back and rewrite them multiple times.
Some people have found this book useful, but it's stumped all 4 of our developers here.