Chapter 6: Building an Online Store


This chapter shows you how to develop BuyDirect, an ASP.NET online store for selling electronic goods. The application developed in this chapter serves as a template that you can easily extend and modify. To build the application, you should be familiar with the basics of ASP.NET programming, even though some theory will be given. The ASP.NET programming topics covered in this chapter include Web forms, server components, authorization methods, session management, user input validation, application configuration, and so on. In addition, it also focuses on how to work with data processing using ActiveX Data Objects for the .NET Framework (ADO.NET), which is a set of classes that exposes data access services for creating distributed, data-sharing applications. It is assumed you are familiar with the Structured Query Language (SQL).

It should not be hard for you to imagine what kind of application BuyDirect is. There are countless such applications, and you have probably developed one yourself in classic ASP.

Overview of the Chapter

The chapter starts by presenting some introductory topics that will help you understand each piece of the software. It then concludes by discussing a project. The main sections in this chapter are as follows:

  • "Understanding ADO.NET": This section explains what ADO.NET is and how to use it to connect to a relational database and manipulate the data in it. In addition, it discusses working with Extensible Markup Language (XML) documents with ADO.NET. This section focuses on the types in the System.Data namespace as well as providing discussion on the supported data providers: OLE DB, SQL Server, ODBC, Oracle, and SQL Server CE.

  • "Data Binding": Data binding enables server controls to automatically obtain values or data from an expression or a data source. It is a feature that gives you more control over your data and helps you shorten development time. This section provides the basics of data binding.

  • "Configuring ASP.NET Applications": This section discusses ASP.NET application configuration using the web.config and global.aspx files. It also covers application deployment.

  • "Securing ASP.NET Applications": This section covers the methods for securing ASP.NET applications.

  • "Implementing the Project": This section provides a complete discussion of the application built for this chapter. It explains the database structure, page design, each page in the application, plus all the classes used in the application.




Real World. NET Applications
Real-World .NET Applications
ISBN: 1590590821
EAN: 2147483647
Year: 2005
Pages: 82

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