December 2008
Monthly Archive
Monthly Archive
aspnetnerd 27 Dec 2008 | : Book
Visual Basic 2005 By Practice Programming Series

Learning an object oriented programming language like Visual Basic can be a challenging and often frustrating task. Many Visual Basic books are intimidating for the beginning programmer because they are mostly theory, making the material difficult to apply. Visual Basic 2005 by Practice cuts through the jargon and provides a better understanding of the language by teaching concepts through step-by-step, clear, and concise examples. These examples provide an easy-to-follow and simple approach to learning the concepts and tools involved with Visual Basic 2005, including the new language features and controls needed to complete beginning and intermediate projects. The examples cover a vast array of language features, including flow charts, radio buttons, detailed message boxes, loading images dynamically, calculations, constants, variables, image lists, creating sub procedures, printing, adding forms to a project, data grids, and string functions. The book also covers important topics such as interactive programming, database features, debugging, and Web controls. The source code for all the examples in the book is provided on the companion CD-ROM, which allows you to see the programs in action and examine their features. The book is written for entry- and intermediate-level Visual basic programmers as well as those experienced with other programming languages, such as those experienced with other programming languages, such as C++, Java and BASIC, and the .NET Framework - Visual Basic’s development environment - is explained to the degree needed to learn programming. The user-friendly style, sequence of topical coverage, ample examples, and simple approach of this book make it a must-have for any beginning programmer eager to learn Visual Basic 2005.
5 Stars If You Like Hands-On Learning, This Book is for You
I’m in a class that uses this book as the text. I am very impressed with the step-by-step instruction. The text doesn’t assume anything and yet, it doesn’t insult my intelligence.
Very well-written, easy to follow, and confidence inspiring.
Well done, Mr. Mostafavi!
5 Stars Good Introductory Book on Programming re .NET
This is an introductory book on programming in Visual Basic 2005. However it does presume that you have programmed before on some kind of system. It doesn’t matter which language, but the basic concept of writing commands, logic, and so on should be familiar to the reader. To be sure, he does give a bit of instruction into basic programming principles, but it is pretty basic.
Next he goes into a description of Visual Studio which is used to program in several Microsoft languages. Then on to writing programs. He leads you through the writing of a pretty basic program. While basic in nature this program covers a lot of the principles of programming. By the end of the chapter, you’ve put a small window on your screen.
Throughout the book he uses a series of extentions to the little program, and by the end of the book you should have a pretty good understanding of the language.
aspnetnerd 23 Dec 2008 | : Book
Visual Basic 2005 A Developers Notebook

When Microsoft introduced the Visual Basic .NET programming language, as part of its move to the .NET Framework two years ago, many developers willingly made the switch. Millions of others, however, continued to stick with Visual Basic 6. They weren’t ready for such a radical change, which included an object-oriented environment similar to Java. They liked the old Visual Basic just fine. In an effort to win over those diehard VB6 developers, the company has included a new version of VB.NET in its upcoming next generation release of the Visual Studio .NET development platform. Visual Basic 2005 comes with innovative language constructs, new compiler features, dramatically enhanced productivity and an improved debugging experience. The language’s new version is now available in beta release, and Microsoft is encouraging developers to give it a test drive. Visual Basic 2005: A Developer’s Notebook provides the ideal test track. With nearly 50 hands-on projects, this practical introduction to VB 2005 will bring you up to speed on all the new features of this language by allowing you to work with them directly. The book summarizes the changes that VB 2005 brings, and tells you how to acquire, install and configure the beta version of VB 2005 SDK. Each project or experiment explores a different feature, with emphasis on changes that can increase productivity, simplify programming tasks, and help you add new functionality to your applications. This one-of-a-kind book also offers suggestions for further experimentation, links to on-line documentation and other sources of information, and practical notes and warnings from the author. The new Developer’s Notebooks series from O’Reilly offers an in-depth first look at important new tools for software developers. Emphasizing example over explanation and practice over theory, they focus on learning by doing you’ll get the goods straight from the masters, in an informal and code-intensive style. For those who want to get up speed with VB 2005 right away, this is the perfect all lab, no lecture guide.
5 Stars Great for 2003–>2005 Upgrade
This book nicely captures a balance between ultra-condensed “Nutshell” books and the mighty 1,000 page+ tomes. It is aimed at experienced VB developers switching from Visual Studio 2003/CRL 1.1 to Visual Studio 2005/CLR 2.0. It has nice concise examples with great explanations.
This book is not an introduction to Visual Basic. If you’re just getting into .Net I’d recommend looking for another book–at least at first. But, if you’ve been coding awhile and are looking to migrate to the latest version, I highly recommend this volume.
5 Stars Great value
The VB 2005 Developer’s Notebook is just chock-full of very useful and immediately usable information, much of which is not readily available elsewhere. For example, I recently made use of the section on adding images and controls to the datagridview. There’s also a very useful intro to using the new factory model to write database-agnostic code.
The examples are not complex, and chances are that after MacDonald gets you started in the right direction, you’ll need to find more detailed information from the SDK or other source as you build a more complex real-world app. But, the value in seeing in a concise and easily accessible example how you might tackle some problem makes this book well worth the price.
5 Stars A great start for someone moving up to VB 2005
This is an excellent book for people moving from VB 2003 to VB 2005. It just gives an overview of what has changed, pointing out the issues and limitations in 2003 and the improvements to these issues in 2005. It presumes you are already familiar with VB 2003, so this is not a primer. It’s a quick read, and had me constantly saying “Thank goodness - they’ve done something about that”. All the examples are straightforward. Writing style is very straightforward. Every topic has where to go for further help.
4 Stars Fast Way to Upgrade from VB .Net 2003 to 2005
On the back cover the book says that it is designed to help experienced .Net 2003 developers move up to 2005. From that point of view I think it is excellent. In one evening I had a good overview of what has changed and the features that I am likely to use. Because it focuses on developers familiar with previous versions, you do not have to wade through pages of things you already know in order to find a few nuggets.
5 Stars Excellent Quick Read
I found that Visual Basic 2005 “A Developer’s Notebook” was a quick and informative read. While many topics only scratched the surface, that’s exactly why the book was written, to get the VB.Net developer up to speed on changes and enhancements to both the language and environment. Good Job!
aspnetnerd 23 Dec 2008 | : Book
Professional ASP NET 2 0 Server Control and Component Development Wrox Professional Guides

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:
This book is also available as part of the 5-book ASP.NET 2.0 Wrox Box (ISBN: 0-470-11757-5). This 5-book set includes:
2 Stars Unorganized
This book has some very useful information, but it’s poorly organized. In many cases, the most complex possible case is explained, followed by more simple solutions. In many cases, I found myself reading through large amounts of code and descriptions only to find an actual explanation of what was going on many pages later.
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.
2 Stars Prepare to write your own book
While this book has some valuable content, prepare to do a lot of research. By the time you get through this book, you will have researched so much more than what this book purports to teach and you will be able to write your own book on the subject.
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.
[Added 2008-07-26]
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!
3 Stars Just Show Me The Baby
There’s an old line my boss used to use when people were being long winded with an explanation of something. He would say, “Stop telling me about the labor and just show me the baby.” I guess this describes what I want in a technical manual. I like lots of examples and code, and a synopsis of what the pieces of code do. I don’t want to know all of the interim steps you need to go through to understand the code. I have enough experience in programming (about 17 years) that I can infer why code works, or why it doesn’t. I might be the exception, and maybe your learning style requires more explanation. If it does, you might like this book, but I didn’t really enjoy it.
The author presents several different ways to implement components in ASP.NET 2.0, but he doesn’t spend very much time telling you when one method might be more useful than another, or if he does I couldn’t separate that information from the in depth theoretical coverage of component architecture. But again, that’s just my learning style. I would personally prefer more of a reference manual, and a little less of a lecture series.
Overall, the information in the book is accurate and the coverage of various component implementations seems thorough. The examples, when you get to them, are clear and well documented. The author obviously tried very hard to cover all of the landscape of building components in ASP.NET 2.0 and that is a commendable effort. But in my opinion the curb weight of this book is about 200 pages more than it needs to be. I would have preferred more meat and less bread in this sandwich.
4 Stars Takes you from A to B to D
This is a really good book, with the only thing that holds me back from saying a great book being the author’s occasional jumps from step B to step D leaving you to infer that there is a step C and then to figure it out from the not overly-commented code.
3 Stars good coverage, terrible writing style
This book covers topics for which content is difficult to find elsewhere and for that I give it the 3 stars. However, the writing style for the book is terrible. Much of the text reads like lawyer jargon and wastes too much page real estate explaining and re-explaining irrelevant items to the topic at hand. Minus 2 stars for the annoyingly awkward writing style.
aspnetnerd 22 Dec 2008 | : Book

Like most complex tasks, .NET programming is fraught with potential costly, and time-consuming hazards. The millions of Microsoft developers worldwide who create applications for the .NET platform can attest to that. Thankfully there’s now a book that shows you how to avoid such costly and time-consuming mistakes. It’s called .NET Gotchas. The ultimate guide for efficient, pain-free coding, .NET Gotchas from O’Reilly contains 75 common .NET programming pitfalls–and advice on how to work around them. It will help you steer away from those mistakes that cause application performance problems, or so taint code that it just doesn’t work right. The book is organized into nine chapters, each focusing on those features and constructs of the .NET platform that consistently baffle developers. Within each chapter are several “gotchas,” with detailed examples, discussions, and guidelines for avoiding them. No doubt about it, when applied, these concise presentations of best practices will help you lead a more productive, stress-free existence. What’s more, because code examples are written in both VB.NET and C#, .NET Gotchas is of interest to more than 75 percent of the growing numbers of .NET programmers. So if you’re a .NET developer who’s mired in the trenches and yearning for a better way, this book is most definitely for you.
5 Stars Thorough presentation of several .NET pitfalls
This book is written with determination and care. Every aspect is explained at length and the examples are abundant.
But this book is not for everyone. If you want to learn .NET, C# or VB.NET programming from it, you won’t be able to do it. Also, if you have time to search through zillions of MSDN pages in order to seek various details on .NET and/or .NET languages, then this book is not for you either.
But if your time is tight and you want to have many .NET common mistakes at your fingertips with no effort from your part, then this book is for you.
5 Stars This is an excellent book …
… for many reasons, foremost in my mind - the format makes for very efficient reading - and if all you have is 30 minutes a day, a gotcha or two a day and in a month you are done. That being said, I found some of the topics rather esoteric, so chose to revisit those at some point in the unknown, er, future.
Superb succinct read.
5 Stars GOTCHA!!!
Are you among the many programmers who have come to appreciate how powerful Microsoft’s .NET Framework can be as a platform for development? If you have, this book is for you! Author Venkat Subramaniam, has done an outstanding job of writing a great book that shares his .NET experiences with developers, to help them avoid the gotchas!
Subramaniam begins by discussing the features in the CLR and the Framework that can impact the behavior and performance of your application. Next, the author focuses on Visual Studio- and compiler-related gotchas. Then, he delves into gotchas at the language and API level of the .NET platform. The author continues by discussing the issues of language operability gotchas. In addition, the author next focuses on concerns related to garbage collection, and how to write code that handles it effectively. He also discusses, the things you need to be aware of in the areas of inheritance and polymorphism so you can make the best use of these important concepts. Next, the author addresses the general problems with threading, the thread pool, asynchronous calls using delegates, and threading problems related to Windows Forms and Web Services. Finally, he focuses on details you should be aware of to make interoperability work for you.
With the preceding in mind, the author has done an excellent job of writing a book that focuses on the .NET Framework and language features that have consistently exhibited behavior that is not obvious to the programmer. So, why should you be interested in learning about these unexpected features? Because, knowning these little gotchas will help you avoid mistakes!
1 Star The Question is Why?
I made the mistake of buying this book based on recommendations I had read here on amazon.com — don’t make the same mistake. If you are looking for practical techniques that will help you write .NET applications, this is NOT the book you want. Now this book is sort of interesting and points out weirdnesses of .NET but nothing that I hadn’t seen online. So, check this book out first by browsing through a hard copy in a bookstore to see if it’s what you want. I wish I had.
3 Stars Technically Good but a Bit on the Dry Side
I got this book as a gift. I’m not sure that I would have bought it myself. Pros: good technical information, one of the few books to give both VB.NET and C# versions. Cons: very dry writing style and the topics seemed disconnected somehow. So, I give it a 5 for technical and a 1 for writing, for an overall of 3.0. I think this is a book you’ll like a lot or dislike a lot.
aspnetnerd 20 Dec 2008 | : Book

Get the hands-on, step-by-step guide to learning the latest enhancements in ASP.NET code name Orcas. ASP.NET continues to be an important application platform that delivers a simplified, high-performance, and powerful Web development experience. Building on your familiarity with the Microsoft .NET Framework and Microsoft Visual C#