Top 10 Programming Books Every .NET Developer Should Own
Have you ever had a programming book that you had to keep near you? This list of must-have books are required reading and should always be within your reach.
Everyone at one time or another reached for that specific book to find out how that one design pattern works or just needed it as a refresher on how to do that one routine better.
When you grow in your career, you start to notice that tutorial books don't line your bookshelf anymore. Nor do you own "how to code in ASP.NET in 5 minutes." Coding becomes easier. As I've said before, a language is a language is a language.
These programming books are a testament to the author's experience. It just goes to show you that these books I list below are exceptional in every way and have stood the test of time in the lines of development and design.
My post about What Books are Within Your Reach? was dated in 2010 and you know what?
To this day, a majority of those books are still within my reach and quite valuable. They never accumulate dust.
Now I know what some people are saying. You have the Internet at your fingertips, why not use that?
While the Internet is a great resource, there is something to be said for a solid book that I KNOW has the answers (and sometimes more) within arms reach. I'm not saying all material on the Internet is bad, but it does take time to research that topic. When I've gone through these programming books and trust the material, I would feel more comfortable reaching for one of these following books/authors.
On with the list!
- Patterns of Enterprise Application Architecture By Martin Fowler
It's true this book is a little pricey, but Mr. Fowler has put his experience and knowledge into enterprise application development and this book is an exceptional mark of his programming experience.
On the inside cover of the book, they provide you with a list of programming thoughts and then provide you with a pattern to apply to that thought. It's kind of like trying to remember the name of that song and all you have is a lyric.
A quarter of the book gives an intro on layering, organizing domain logic, sessions, concurrency, and mapping to databases. During each of these sections they discuss a topic and use a number to refer to the pattern used in the book. These pattern numbers are in the remaining 3/4 of the book and I've used this strictly as reference when needed.
Most of the Wesley-Addison Signature series books have this format which I absolutely love. This is what sets Wesley-Addison Signature Series apart from the other publishers. The book provides you with an intro, a description of a pattern, and a reference number to the pattern in the book. When finished reading it, you have the black tabs on the book to use when you have a particular pattern in question.
A number of patterns are listed in the inside front cover. Most of the patterns are used today in the corporate world. On the back inside cover is a cheat sheet that helps with picking the right pattern for your particular approach.
- Refactoring: Improving the Design of Existing Code By Martin Fowler, Kent Beck, John Brant, Williams Opdyke, and Don Roberts
The functionality of ReSharper is based on this book. For those not knowing about ReSharper, it's a Visual Studio extension that gives developers a significant boost in productivity by assisting with refactoring their code with confidence (Those who want to know more, I wrote a couple posts about ReSharper here, here, and here).
Just like Patterns of Enterprise Application Architecture, this book goes over the basics of taking your code from spaghetti to lasagna (wait...is that better?). The first part of the book discusses "bad code smells", how to identify bad code, and ways to fix it. Such refactorings include Long Methods, Large Class, Long Parameter List, Duplicated Code, and Switch statements to name a few.
The code examples in this programming book are either Java or .NET or both and are extremely clear to understand each refactoring concept.
- Refactoring to Patterns By Joshua Kerievsky
After you read the two books above, make sure you add this one to the list as well. If you thought both previous programming books were extremely valuable, then I highly recommend this book because it combines enterprise patterns with refactoring.
For example, let's say you have a huge if..then..else from hell. One refactoring called Replace Conditional Logic with Strategy Pattern takes the if..then..else and makes classes out of them while creating an abstract pattern to handle the heavy lifting.
This is just one of the many great refactorings in this book.
- The Design of Sites: Patterns for Creating Winning Web Sites (2nd Edition) by Douglas K. van Duyne, James A. Landay, and Jason I. Hong
This book provides a catalog of "design patterns" for building websites. If you are looking for an ecommerce site, here are the components you need to make it successful to your audience.
It's basically a catalog of website standards that I use as a basic checklist for building sites from scratch and I also use it as a reference for evaluating the design of existing websites.
- Microsoft .NET - Architecting Applications for the Enterprise (2nd Edition) (Developer Reference) by Dino Esposito and Andrea Saltarello
I know I've discussed enterprise patterns with the Patterns of Enterprise Application Architecture book above, but this is geared more towards a .NET readership which is why I consider this the best .NET book for Microsoft developers.
The book is broken down into the following categories: Design Patterns and what is a design pattern; The Business Layer; The Service Layer; The Data Access Layer; and the Presentation Layer.
If you've been coding with .NET in a corporate environment for a while, this may be the only .NET book in the list that I suggest you pass on and purchase any one of the other books.
- Don't Make Me Think, Revisited: A Common Sense Approach to Web Usability (3rd Edition) (Voices That Matter) By Steve Krug
This is another design book that every developer should read. It includes a number of different ways of look at things when it comes to usability. When I was reading this book, each chapter gave me a different perspective of how to design a web page to get the most efficient use for my audience.
While this isn't a programming book, it's always good to have a solid understanding of how to structure a web page using general design techniques.
Also, the book is doing extremely well because they are on the 3rd edition and added a web chapter.
- Information Dashboard Design: The Effective Visual Communication of Data By Stephen Few
If you've ever built dashboards in your experience, you'll find this book very helpful. I've used it to develop 3 dashboards in my career and they seem to be getting easier and easier. ;-)
If you would like a better review of this book, check the post titled Book Review: Information Dashboard Design.
- Design Patterns in C# By Steven John Metsker
Just as the Design Patterns book from the gang of four was a masterpiece, this book focuses on design patterns from the viewpoint of C# developers making it one of the best .NET books I would highly recommend. It covers the original 23 patterns including Singleton, Strategy, Flyweight, Factory, and others.
This is one of those fundamental books that should be used in colleges.
- Any O'Reilly Pocket References
The funny thing about these pocket references is that I've had web professionals come over and borrow them for a couple of days when the Internet was at their fingertips.
That tells me how much these pocket references are worth.
- The Clean Coder: A Code of Conduct for Professional Programmers (Robert C. Martin Series) By Robert C. Martin
Everyone knows "Uncle Bob." His coding experience is also apparent in this book. He covers Saying Yes, Saying No, TDD, Professionalism, Tooling, Craftsmanship, Mentoring, and Pressure just to mention a couple of chapters.
It's more of a combination of programming philosophies, how to handle your programming career, and how to write code properly.
While these programming books are by no means the end all when it comes to programming, they surely encompass a lot of experience, ideas, and designs that make this list of books an absolute must for up-and-coming developers.
Did I miss any books on my list? Please post your comments below.