Creating a Library of Common ASP.NET 2.0 Functions

Build a library of common ASP.NET 2.0 functions that will help you maintain and secure your Web sites.

 Listen to the audio and watch the slides! (Running time: 1 hour)

Have you ever seen the "Object Reference Not Set" exception? Or tried to track down its cause in a production system? Discover some common functions that provide safe coding practices and simplify your search for the causes of null references. For example, you can use VerifyTables to validate the expected tables and rows that are present in a dataset before you use it. Learn how you can leverage a generic function that will enable or disable all controls on a Web page for a given type, or utilize callbacks to provide other processing. Plus, implement QueryString tamper proofing for more secure Web sites.

About the Author

Robert Boedigheimer has been designing and developing Web sites for the past 18 years including the early days of ASP and ASP.NET. He is a columnist for, a Pluralsight author, an ASP.NET MVP and a third degree black belt in Tae Kwon Do.

comments powered by Disqus


  • GitHub Copilot for Azure Gets Preview Glitches

    This reporter, recently accepted to preview GitHub Copilot for Azure, has thus far found the tool to be, well, glitchy.

  • New .NET 9 Templates for Blazor Hybrid, .NET MAUI

    Microsoft's fifth preview of .NET 9 nods at AI development while also introducing new templates for some of the more popular project types, including Blazor Hybrid and .NET MAUI.

  • What's Next for ASP.NET Core and Blazor

    Since its inception as an intriguing experiment in leveraging WebAssembly to enable dynamic web development with C#, Blazor has evolved into a mature, fully featured framework. Integral to the ASP.NET Core ecosystem, Blazor offers developers a unique combination of server-side rendering and rich client-side interactivity.

  • Nearest Centroid Classification for Numeric Data Using C#

    Here's a complete end-to-end demo of what Dr. James McCaffrey of Microsoft Research says is arguably the simplest possible classification technique.

  • .NET MAUI in VS Code Goes GA

    Visual Studio Code's .NET MAUI workload, which evolves the former Xamarin.Forms mobile-centric framework by adding support for creating desktop applications, has reached general availability.

Subscribe on YouTube