O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building e-Commerce Sites with the .NET Framework

Book Description

There is currently no book on the market that has a case-study focus and builds e-commerce sites using the new Microsoft Visual Studio .NET Framework. In addition, many of the books that are likely to be released in the near future won't target the intermediate to advanced developer. Building e-commerce Sites describes the steps a developer will take to plan, develop and deploy an actual robust, scalable e-commerce application using the Microsoft Visual Studio .NET. There are detailed descriptions of design choices a developer makes, implementation details. The author's first hand experience will save the reader time and effort. Finally, the development of a working, modern e-commerce site is provided, in this case study approach, along with clear and simple explanations, screenshots, and step-by-step code excerpts.

Table of Contents

  1. Copyright
  2. Acknowledgments
  3. Tell Us What You Think!
  4. Introduction
  5. Foundations
    1. Business-to-Consumer e-Commerce Overview
      1. Current e-Commerce Trends
      2. Business-to-Business e-Commerce
      3. A Technical Overview of Business-to-Consumer e-Commerce
      4. An Overview of the MyGolfGear.NET B2C Architecture
      5. Steps Involved in Creating a B2C e-Commerce Application
      6. Current Tools for Developing B2C Applications
      7. Summary
    2. .NET Overview
      1. The .NET Framework
      2. The Common Language Runtime
      3. Self-Describing Components
      4. Application Domains
      5. Common Type System
      6. Cross-Language Interoperability
      7. The Common Language Specification
      8. Managed Execution
      9. ASP.NET Page Execution
      10. Summary
      11. Self Instruction
    3. Planning MyGolfGear.NET
      1. Defining the Goals of MyGolfGear.NET
      2. Deciding on Features
      3. Designing MyGolfGear.NET
      4. Integration Considerations
      5. Architecture Planning
      6. Security Planning
      7. Available Development Tools
      8. Summary
      9. Self Instruction
  6. Building the B2C Storefront
    1. Building MyGolfGear.NET's Product Catalog with SQL Server 2000
      1. Developing the Data Model
      2. Developing the Stored Procedures
      3. Securing the Product Catalog
      4. Summary
      5. Self Instruction
    2. Using ASP.NET to Administer the Product Catalog
      1. Component Development
      2. Page Development
      3. Summary
      4. Self Instruction
    3. Using ASP.NET to Display the Simple Catalog
      1. Creating the Category List
      2. Developing the Simple Home Page
      3. Developing the Product Selection Page
      4. Developing the Product Detail Page
      5. Developing the Product Search Functionality
      6. Summary
      7. Self Instruction
  7. Building Advanced Features
    1. Using ASP.NET to Implement Product Spotlights
      1. Product Spotlight Database Object
      2. The FeaturedItems.ascx.cs Code Behind Class
      3. The FeaturedItems.ascx User Control File
      4. Adding Web Server Controls to the Home.aspx Page
      5. Summary
      6. Self Instruction
    2. Using ASP.NET to Implement Discount Specials
      1. Changes to the Database to Support Discount Specials
      2. Implementing the ProductSpecialDataTable Class
      3. Using the OrderManager Class to Implement Discount Specials
      4. Modifying the Product Selection Page to Display Discount Information
      5. Adding Discount Information to the Product Details Page
      6. Summary
      7. Self Instruction
    3. Using ASP.NET to Implement Wish Lists
      1. Additions to the Data Model
      2. The New Stored Procedures
      3. The New Data Access Component
      4. The User Interface Elements
      5. Summary
      6. Self Instruction
    4. Using ASP.NET to Implement Product Reviews and Ratings
      1. The Database Changes to Support Product Reviews
      2. Changes to the CatalogDS Class Necessary to Support Product Reviews
      3. The Product Review User Control
      4. Adding the ProductReviews User Control to the Product Details Page
      5. Summary
      6. Self Instruction
    5. Implementing Gift Certificates in MyGolfGear.NET
      1. The Database Changes Necessary to Support Gift Certificates
      2. The GiftCertificate Data Access Class
      3. Implementing the Acceptance of Gift Certificates on the Checkout Page
      4. The OrderManager Class
      5. Summary
      6. Self Instruction
    6. Automating the E-mailing of Product Information with ASP.NET
      1. Modifications to the ProductDetails.aspx Page
      2. The Email.aspx Page
      3. System.Web.Mail Namespace
      4. The Email.aspx.cs Code Behind Class
      5. Summary
      6. Self Instruction
    7. Implementing Cross Selling and Up Selling
      1. Cross Selling in MyGolfGear.NET
      2. Up Selling in MyGolfGear.NET
      3. Summary
      4. Self Instruction
    8. Using ASP.NET to Build the Shopping Cart
      1. State Management in ASP.NET
      2. The Data Model and Stored Procedures
      3. Management of a MyGolfGear.NET Order
      4. Summary
      5. Self Instruction
    9. The Checkout Process
      1. Beginning the Checkout Process
      2. Retrieving Shipping Information
      3. Reviewing Options for Calculating Tax
      4. Using the Tax Web Service
      5. Reviewing Options for Authorizing Payment
      6. Retrieving Payment Information
      7. Using the Payment Web Service
      8. Submitting Orders
      9. Developing the Confirmation Page
      10. Summary
      11. Self Instruction
    10. Using ASP.NET Authentication and Authorization for Personalization
      1. Additions to the MyGolfGear Data Model Used to Support Authentication, Authorization, and Personalization
      2. Implementing the LoginInformation Class to Facilitate Authentication in MyGolfGear.NET
      3. Using the Login Page for Authentication
      4. Implementing the Join Page So New Users Can Join MyGolfGear.NET
      5. Summary
      6. Self Instruction
    11. Tracking the Status of Orders
      1. Restricting Access to the Order Status Page
      2. Accessing the Order Status Page
      3. Summary
      4. Self Instruction
  8. Delivering and Keeping the Site Going
    1. Maintaining MyGolfGear.NET's User Information
      1. The User Tables Revisited
      2. The UserDS DataSet
      3. The MyGolfGearDP Data Access Class
      4. The Users.aspx.cs Code Behind Class
      5. Accessing User Information via the Users.aspx Page
      6. Summary
      7. Self Instruction
    2. Debugging and Optimizing the Site
      1. Stress Testing
      2. Profiling and Debugging Services
      3. Optimizing the Site
      4. Logging in .NET
      5. Summary
      6. Self Instruction
    3. Securing the Site
      1. Key Concepts
      2. Role-Based Security
      3. Code-Access Security
      4. Encrypting Data
      5. ASP.NET Security
      6. Summary
      7. Self Instruction
    4. Deploying the Site
      1. A Few Words About Server Farms
      2. Application Center
      3. File Copy Deployment
      4. Packaging a Site to Be Hosted Externally
      5. Moving the Database
      6. Summary
      7. Self Instruction
  9. Appendixes
    1. C# Language Reference
      1. Data Types
      2. Classes
      3. Structs
      4. Enumerators
      5. Statements and Execution Flow
      6. Operators
      7. Properties
      8. Attributes
      9. Indexers
      10. Arrays
      11. Strings
      12. Interfaces
      13. Delegates and Events
      14. Exception Handling
      15. Method Parameters
      16. Function Overloading
      17. Inheritance
    2. VB.NET Language Reference
      1. Syntax Changes and New Language Features
      2. Object-Oriented Features
    3. ASP.NET Object Model
      1. HttpContext
      2. HttpRequest
      3. HttpResponse
      4. HttpApplication
      5. HttpSessionState
      6. HttpServerUtility
    4. ADO.NET Quick Reference
      1. ADO.NET
      2. ADO.NET Architecture
      3. Connections and SqlConnection Objects
      4. Command Object
      5. ADO.NET DataAdapters
      6. ADO.NET DataSets
  10. Index