Chapter 9: Data-Driven ASP.NET Applications in the Real World

Chapter 9 - Data-Driven ASP.NET Applications in the Real World
byJohn Kauffman, Fabio Claudio Ferracchiatiet al.?
Wrox Press ?2002

Overview

Until now, we've been writing code without taking into account how many users would be accessing our application. However, applications are put on the Web because we want lots of people to use them. In most cases, the more people accessing a web site, the more successful it's deemed to be.

Now that you've learned the basic aspects of data-driven application development, we need to start talking about how to use what you've learned to create applications that can support the number of users you hope to have. If your application crashes because one half of an update your user makes is successfully written to the database but the other half fails, users are going to go elsewhere. If, for example, you have an online ticket-ordering application and an error occurs after reserving the tickets in a customer's name, but before charging their credit card, you have lost money.

In this chapter, we're going to cover the following areas:

  • Ways to handle errors

  • Reasons for and uses of transactions

  • Techniques for organizing our .NET and database code

  • Suggestions for securing the access to your database



Beginning ASP. NET 2.0 and Databases
Beginning ASP.NET 2.0 and Databases (Wrox Beginning Guides)
ISBN: 0471781347
EAN: 2147483647
Year: 2004
Pages: 263

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net