Home > Store

ASP.NET Solutions - 23 Case Studies: Best Practices for Developers

Register your product to gain access to bonus material or receive a coupon.

ASP.NET Solutions - 23 Case Studies: Best Practices for Developers

Premium Website

  • Sorry, this book is no longer in print.
Not for Sale



This book gives developers the practical solutions they need for using ASP.NET to develop real-life applications.

° Goes beyond teaching the basic concepts to showing how to apply them to solving everyday programming problems

° The examples and format have proven to be highly successful in the author's training classes for professional developers

° Fully covers version 1.1 of ASP.NET


  • Copyright 2004
  • Edition: 1st
  • Premium Website
  • ISBN-10: 0-321-15965-9
  • ISBN-13: 978-0-321-15965-6

Many developers are already familiar with the basics of ASP.NET and have been impressed with its potential to ease the creation of Web applications. However, few resources exist for those looking to translate their knowledge of ASP.NET into tailored solutions for actual challenges developers face on a daily basis.

Enter ASP.NET Solutions--23 Case Studies, the authoritative guide for real-world solutions, design patterns, and best practices using the .NET framework and C# and VB .NET languages. Honed through training programs for seasoned developers, the book's case studies demonstrate how to build more than twenty different applications using various aspects of ASP.NET. Each chapter builds on those that came before, allowing readers to advance their programming skills by applying the technology to increasingly complex projects.

The applications in this book can save developers time and money by providing the foundation for applications such as:

  • Use ADO.NET to create a technical support application--Chapter 4
  • Build an online store by creating custom server controls--Chapter 8
  • Use XML to create a guest book application--Chapter 9
  • Manage a dynamic ad banner using NT services--Chapter 12
  • Create a feedback tracking module using data mining--Chapter 15
  • Enable speech on the Web--Chapter 21

A companion Web site, www.ASPNET-Solutions.com, provides working source code that can easily be modified to meet your specific needs. The site also offers demos, additional solutions, and a forum where readers can pose questions and swap tips.

Developers are hungry to realize the full potential of the ASP.NET platform. ASP.NET Solutions--23 Case Studies moves beyond concepts to provide expertise gained in the trenches to help readers find effective solutions to common problems.


Sample Content

Online Sample Chapter

Effective Use of ADO.NET: Creating a Survey Application

Downloadable Sample Chapter

Download the Sample Chapter related to this title.

Table of Contents



About the Author.

1. Getting Started with .NET.

Common Language Runtime.



.NET Languages.




2. Effective Web Forms: Creating a Resumé Application.

Web Form Controls.

Web User Controls.

Page Execution Sequence.

Data Validation.

The Resumé Application.

Extending and Modifying the Resumé Application.

Deploying the Resumé Application.


3. Effective Use of ADO.NET: Creating a Survey Application.

ADO.NET Overview.

The Survey Application.

Extending and Modifying the Survey Application.

Deploying the Survey Application.


4. Using ADO.NET: Creating a Technical Support Application.

Ad Hoc Queries.

The DataAdapter and DataSet Objects.

The Cache API.

The HelpDesk Application.

Extending and Modifying the HelpDesk Application.

Deploying the HelpDesk Application.


5. Databound Controls: Building a Scheduling Application.

Databound Controls.

Schedule Application.

Deployment and Customization.


6. The Microsoft Forum Application.

Using Embedded Server Controls in Iterative Databound Controls.

The Database.

The Repeater Demo.

The DataList Demo.

The DataGrid Demo.


7. Using Session State: Building a Classifieds Application.

Using Application and Session Variables.


Using the Cache Object.

The Classifieds Application.


8. Creating Custom Server Controls: Building an Online Store.

Home Page.

The Store Database.

Server Controls.

Product List Page.

Product Detail Page.

Review and Add Page.

Search Results Page.

Shopping Cart Page.


9. Using XML: Creating a Guest Book Application.

.NET XML Architecture.




Writing a Guest Book Application.


10. Dynamic Charts and Graphs.

Dynamic Images.

Getting Started with Dynamic Images in ASP.NET.

The Graph2D Class.

Using the Graph2D Class.

Enhancing the Graph2D Class.


11. Animated Banners.

Anatomy of a GIF Image.

The AnimatedGif Class.

Using the AnimatedGif Class.


12 Using NT Services: An Ad Banner Management.


The BannerBuddy Application.

Writing and Deploying Windows Services in .NET.


13. Effective Use of the .NET Networking Classes.

Using the Dns Class.

Using the WebClient Class.

Using the WebRequest and WebResponse Classes.

Using the WebProxy Class.

NTLM Authentication.

SSL Communication.

Posting Data.

System.Net Errors.


14. Effective Use of Networking and Regular Expressions: Mining Data.

Regular Expressions.

Example Programs That Use Regular Expressions.

Web Services Overview.



Creating Web Services.

Consuming Web Services.

Web Service Security.

Web Service Transactions.

Data Scraping Web Services.


15. Server Controls and HttpModules: Creating a Feedback Tracking Module.

Custom Server Controls.

The Comment Tracking Control.


Adding Comment Tracking Automatically.

Deploying the Application.


16. Converting Data to Charts: Displaying Data.

The DataToGraph Application.

Using the Graph2D Class.

The DataToGraph Code.

Deploying the Application.

Extending the Application.


17. Using Dynamic JavaScript: Creating a Personal Idea Organizer.

Dynamically Creating JavaScript in ASP.NET.

The BrainStormer Application.

Accepting User Uploads in ASP.NET.


18. The IBuySpy Portal Application.

Application Architecture.

Administering the Portal.

Effective Use of Style Sheets.

Enhancing and Extending the Portal.


19. Editing HTML: Creating an HTML Editing Server Control.

Editing HTML with a Web Browser.

Implementing an HTML Editor as a Server Control.

Using the HTML Editor Server Control.


20 Creating an Online Training Application.

The VideoPresentations Architecture.

The Notable JavaScript.

Server Multimedia Basics.

The VideoPresentations Class.

The Demonstration Application.


21. Speech-Enabling Web Applications.

Getting Started.

The SpeechVB Application.


22. Uploading Content: Building a File Repository Application.

The Main Menu.

The Manage Files Page.

The Edit Files Page.

The Delete Group Page.

The Add File Page.

The Search Page.

The Show Group Page.

The Edit Profile Page.


23. Effective Use of GDI+: Creating a Certificates Program.

The Member Variables and Properties.

Creating the Certificate.

Initializing the Default.aspx User Interface Objects.

Instantiating and Using the Certificate Class.

Responding to User Interaction.


24. Monitoring Servers: Using WMI and Performance Monitor.

Windows Management Instrumentation.

Performance Monitor.

The ServerMonitor Demo Program.


Index. 0321159659T09182003


I've been teaching ASP.NET for more than two years and things have changed. It's not just the course material that's changed, but more importantly it's the ability of my students to be extremely productive. They can create enterprise applications in a fraction of the time it used to take. Many of my students are seasoned Web developers who work for fortune 1000 companies. They have taken what they've learned back to the workplace, and saved their employers thousands of dollars. And the savings have been possible because the cost of developing enterprise applications with ASP.NET is so much lower. That's because ASP.NET gives developers so much of the plumbing that they used to have to write themselves such as Web services, XML rendering, and remoting.

This book should not be the first book on ASP.NET development that you read. While there is a fair amount of teaching throughout, it assumes that you know the basics of Web development using ASP.NET. This book is full of solutions that can be easily added to your Web site. The solutions also show you lots of recommended practices. Learning these recommended practices is the next step past learning the basics of ASP.NET that you need. It's kind of like once you've learned to spell and write sentences, you can correctly learn to craft coherent prose. This book teaches you how to tie all of the ASP.NET pieces together. It teaches you how to get the most of the ASP.NET platform.

Many of the applications in this book would cost you significant dollars if you purchased them. Examples of this are the Forum application, the Classifieds application, and the Graphing class. As a developer, I often look for applications and classes that I can use. Finding these cuts my cost of development significantly since I don't have to write them myself. And even if you do have to modify these applications to suit your needs, they give you a starting point that'll still save you lots of time.

I have a Web site so that you can see the applications. The Web site is at www.ASPNET-Solutions.com. Besides giving you the opportunity to see the applications in action, this Web site offers updates. If for some reason I find bugs and make modifications, I'll post them on the Web site. There's a forum on the Web site too, where you can ask questions and make comments.

You can also contact me directly via email at Rick@JSVentures.com. I can usually answer your questions within several days. There are times, though, when I'm in the final stages of a project when it might take me as long as a week to answer your email. Be patient and I'll respond as soon as possible. I also welcome questions that go beyond the material in the book--if you have a related question in your own development, please ask and I'll try to get you an answer.



Download the Index file related to this title.


Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership