SKIP THE SHIPPING
Use code NOSHIP during checkout to save 40% on eligible eBooks, now through January 5. Shop now.
Register your product to gain access to bonus material or receive a coupon.
As an old saying goes, "it's not what you know, it's who you know." You know what ASP.NET is and you know how to develop websites using it. But what you don't know is who to go to for solutions, tips and tricks to using ASP.NET. That is why Sams has assembled a team of authors who are ASP.NET experts to bring you ASP.NET 1.1 Insider Solutions. Draw upon the experience and knowledge of these authors to discover the best practices, tips and tricks, workarounds, undocumented information and creative ways to use the ASP.NET technology. Insider Solutions will address common and not-so-common programming concerns as well, covering everything from application design to security. A meeting of minds as tremendous as these who authored this book is rare-don't miss out on your opportunity to learn from the best!
Client-Side Script Integration in ASP.NET
Creating Reusable Content in ASP.NET
Loading Progress and Status Displays
Loading Progress and Status Displays in ASP.NET 1.1
Working with Nested List Controls in ASP.NET
Introduction.
I. WEB FORM USER INTERFACES.
1. Web Forms Tips and Tricks.Getting More from ASP.NET Validation Controls. Taking Control of Content Layout in a DataGrid Control. Loading Controls Dynamically at Runtime. Summary.
2. Cross-Page Posting.Techniques for Passing Values Between Pages. Client-Side Versus Server-Side Redirection. Exposing Values to Another Page via References. The Server.Execute Method. Summary.
3. Loading Progress and Status Displays.Displaying a “Please Wait” Page. Displaying a Progress Bar Graphic. Implementing a Staged Page Load Process. Summary.
4. Working with Nested List Controls.Displaying Related Data in Nested DataGrid Controls. A Master/Detail Display with DataList and DataGrid Controls. Summary.
II. REUSABILITY.
5. Creating Reusable Content.Techniques for Creating Reusable Content. Building a ComboBox User Control. Using the ComboBox Control. Populating the ComboBox Control. Summary.
6. Client-Side Script Integration.Client-Side Interaction on the Web. Useful Client-Side Scripting Techniques. Summary.
7. Design Issues for User Controls.The Effect of User Controls on Design and Implementation. Building a SpinBox User Control. Integrating Client-Side Script Dialogs. Browser-Adaptive Script Dialogs. Integrating Internet Explorer Dialog Windows. Browser-Adaptive Dialog Windows. Summary.
8. Building Adaptive Controls.The Advantages of Server Controls. The Basics of Building Server Controls. Building a MaskedEdit Server Control. Building a SpinBox Server Control. Making the SpinBox Control Adaptive. Installing a SpinBox Control in the GAC. Summary.
9. Page Templates.Designing for Consistency. Templating Solutions. A Simple Layout Server Control. A Server Control That Uses Templates. Creating Default Content for Templates. Creating Dynamic Regions for Page Content. Using a Custom Page Class for a Page Template. Using Custom Controls in Visual Studio .NET. Summary.
III. DATA TECHNIQUES.
10. Relational Data-Handling Techniques.Using Parameters with SQL Statements and Stored Procedures. Filling a DataSet Instance With and Without a Schema. Writing Provider-Independent Data Access Code. Updating Multiple Rows by Using Changed Events. Summary.
11. Working with XML Data.The Role of XML in ASP.NET. XML API Pros and Cons. Combining the XmlTextReader and XmlTextWriter Classes. Parsing XML Strings. Accessing XML Resources by Using the XmlResolver Class. Searching, Filtering, and Sorting XML Data. Creating a Reusable XML Validation Class. Converting Relational Data to XML. Simplifying Configuration by Using XML. Summary.
IV. HOSTING AND SECURITY.
12. Side-by-Side Execution in ASP.NET.How Version 1.1 of the .NET Framework Is Distributed. How Installing a New Version of the .NET Framework Affects Existing Applications. How ASP.NET Selects the Runtime Version. How to Specify the ASP.NET Version for Individual Applications. ASP.NET and IIS 6.0 on Windows Server 2003. Summary.
13. Taking Advantage of Forms Authentication.Building a Reusable Sign-in Control. Hashing Passwords. Helping Users Who Forget Their Passwords. Persistent Authentication Cookies. Using Forms Authentication in Web Farms. Cookieless Forms Authentication. Protecting Non-ASP.NET Content. Supporting Role-Based Authorization with Forms Authentication. Using Multiple Sign-in Pages. Dealing with Failed Authorization. Listing Signed-in Users. Forcibly Signing Out a User. Summary.
14. Customizing Security.Building a Custom Authentication Module. Building a Custom Authorization Module. Trust Levels. Summary.
Index.