Want ASP.NET code you can use? Code that embodies the best development practices? Code that’s not just correct but flexible enough to adapt to your real-world applications? Check out the 230 code samples in ASP.NET Developer’s Cookbook.
ASP.NET MVP Steven Smith and Microsoft ASP.NET program manager Rob Howard have brought together code that addresses nearly every corner of ASP.NET functionality, from caching to DataSets, security to web services. (It’s all downloadable from the companion web site, in both C# and VB.NET versions.)
Don’t have much ASP.NET experience? They start with the simple stuff: declaring ASP.NET pages, using codebehind, dynamically adding HTML, submitting data, validating input, working with UI controls.
Next, they turn to user controls and flexible custom server controls for encapsulating complex user interface logic or business rules. Examples include creating composite and templated controls and using the Treeview and Toolbar IE web controls.
Then, it’s on to application configuration, state management, and forms authentication; followed by in-depth coverage of data access, beginning with connections (examples include SQL Server, Oracle, MySQL, Access, and generic ODBC). You’ll find sample code for creating transactions; executing stored procedures; creating, filtering, and sorting DataSets; working with XML data; and much more.
ASP.NET Developer’s Cookbook includes full chapters on several virtually universal ASP.NET development tasks: working with classes; manipulating strings; working with numbers, dates, and times; manipulating files and folders; and finally, using collections. You’ll even find several slick .NET Framework goodies (image generation, threading, remoting, reflection). Good stuff. Bill Camarda
Bill Camarda is a consultant, writer, and web/multimedia content developer. His 15 books include Special Edition Using Word 2000 and Upgrading & Fixing Networks for Dummies, Second Edition.