The first time I saw a computer that could connect to a network was back in the late ’80s when my friend Greg showed
me how we could use his Apple IIe to download the Anarchy Cookbook from a bulletin board service. That first
experience, which included a misguided crash course in chemistry, eventually led Greg to a career as a pharmacist
and got me hooked on the potential of computers.
Fast-forward to 2013 and the Internet is everywhere. It’s in your home, at your job, in your car, and in your pocket.
You can access the Web from your PC, your phone, your music player, your tablet, and you can even stream movies
to your TV. Terrestrial radio is gradually being replaced by Internet music services, cable TV by services from Netflix
and Amazon, paper maps by GPS systems, magazines and newspapers by e-readers and tablets. You surf the Web
using touch screens, your voice, and TV remotes. Web pages adapt to fit your iPad’s orientation, your screen dims
automatically to account for room lighting, your game console and your phone can recognize your face, and your
tablet can read your handwriting.
As software developers, you need to be three steps ahead of this changing world. You are on the front lines. The
world expects that not only will your software work but also that it will get smarter, faster, more reliable, and easier to
use. These goals are only possible with improved techniques and better tools.
Adopting new techniques and learning new tools can be challenging, especially when you are on a tight schedule.
When learning new technologies, many developers can spend more time searching Google and reading blogs and
forum posts than writing code. Many times, they end up using a code snippet from some random source without a full
understanding of what it does. The code may seem to fit the need at that time but if it ever breaks, they do not know
how to fix it because they don’t understand it.
This book was written to help ASP.NET MVC developers like you to quickly find the code you need to move your
project forward. More importantly, this book also will help you understand how each solution works. Each solution is
broken down step by step and each code sample is explained in detail. In many cases, the explanation will go beyond
the code and will discuss what is happening behind the scenes.