Skip navigation

ASP.NET 2.0 MVP Hacks and Tips



ASP.NET 2.0 MVP Hacks and Tips

ASP.NET 2.0 ships with many new features. You can not only work with them directly in different ways, but also can tweak them using various techniques indirectly. Many developers learn these techniques only by experience or by attending conferences, user group meetings, and other events. But what about having next to your desk a book that provides instant information about those techniques?


ASP.NET 2.0 MVP Hacks and Tips unleashes the hidden secrets and mysteries behind the exciting technology in the form of hacks and tips. The book, written by experienced developers who are recognized by Microsoft as Most Valuable Professionals (MVPs), contains 17 chapters with high-quality content that you will not find anywhere else. Each chapter contains numerous undocumented techniques, which will surely enable you to work better with ASP.NET 2.0.


The first chapter provides detailed coverage about the Wizard control and techniques for implementing the URL Rewriting and Mapping capabilities. It also includes short coverage about Master Pages, with special reference to ASP.NET 1.1. While Chapter 2 examines the organization of projects and solutions, including Themes and Skinning, Chapter 3 covers the various providers that ship with ASP.NET 2.0. The chapter also demonstrates the creation of your own Membership and Role providers, in addition to building a custom provider.


Chapter 4 provides detailed coverage about building smarter Web clients with Ajax, including a hack provided directly by the ASP.NET team at Microsoft. Chapter 5 examines some of the hacks meant for debugging, with special reference to one-stop visualization. Chapter 6 covers some of the advanced hacks regarding creation of RSS feeds and custom type converters.


The next chapter is an important one as it examines hacks devoted to the GridView control. I think developers will be interested to test drive all the hacks discussed in the chapter as the control is used in many projects. The disappointing feature I noticed is that the chapter doesn t provide any screenshots of the final output. From my point of view, screenshots help because a developer can view the live output before attempting to work with each hack. An interesting feature of this book is that each chapter includes complete source code with detailed explanation of the code. The authors also provide a comparison of topics with ASP.NET 1.1 wherever required.


Chapter 8 examines extreme data binding, with special coverage of extending the Query String parameter. The next two chapters will be of good use as they provide coverage about ViewState- and Caching-related hacks. Chapter 11 includes some of the tips for migration of an ASP.NET 1.x site to 2.0. While Chapter 12 deals with hacks related to deployment of an ASP.NET 2.0 application, Chapter 13 discusses how to effectively leverage Visual Studio 2005 with code snippets and templates.


Chapter 14 provides some of the techniques for securing an ASP.NET 2.0 application, such as validating a strong password, usage of Dynamic Impersonation, and much more. You ll learn how to build and publish your own hacks with the help of Chapter 15. The penultimate chapter provides hacks to work with Master Pages with a special reference about sharing Master Pages across IIS applications. The final chapter provides crisp coverage about the creation of handlers and modules. It includes a sample HttpModule project that enables you to blacklist an IP address.


I am of the opinion that the book contains extensive information for advanced developers. Beginners and intermediate developers will find it hard to follow the content discussed in the book. They can, however, use the book after gaining sufficient knowledge about ASP.NET 2.0. The authors missed an opportunity by not providing hacks about Web services, e-mail, and some of the other new controls (such as FormsView and DetailsView). I would also love to see a hack that provides information regarding the working of Memberships in a shared hosting environment. I hope the authors will provide even more useful hacks in the next edition of the book.


Anand Narayanaswamy



Title: ASP.NET 2.0 MVP Hacks and Tips

Authors: David Yack, Joe Mayo, Scott Hanselman, Fredrik Norm n, Dan Wahlin, J. Ambrose Little, and Jonathan Goodyear

Publisher: Wrox Publishing

ISBN: 0-7645-9766-3

Web Site:

Price: US$39.99

Page Count: 432



Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.