Pro ASP.NET 2.0 E-Commerce in C# 2005

Paul Sarknas

Pro ASP.NET 2.0 E-Commerce in C# 2005 takes you through the e-commerce web application development cycle, from conception to coding to deployment and maintenance.

  • Published on Jun 12 2007
  • Pages 640
  • Downloaded 272
  • Type PDF
Download
    • Like
    • Love It
    • Awesome
    • Interesting
    • It's Okay
    • Thumbs Down
  • 19.9k
  • 0

Introduction:

Introduction

Pro ASP.NET 2.0 E-Commerce in C# 2005 takes you through the e-commerce web application development cycle, from conception to coding to deployment and maintenance. It will also help you maximize your potential profits, learn what risks are involved, and take the necessary steps to minimize those risks. The book begins by introducing e-commerce systems and lays out the toolset. To help you learn about meeting and overcoming real-world challenges, the book features a case study of a fictional company, Little Italy Vineyards.

As you progress through the book, you’ll focus on e-commerce requirements, then proceed to model the objects utilizing UML to generate and define the complete architecture for the example application. Once you put it all together, you’ll address the site coding. In this section, author Paul Sarknas demonstrates how the practical application of modern programming techniques, like web services and Ajax, can have direct impact on your customer’s user experience and the success of your site.

After design and development are complete, the author focuses on utilizing the best deployment methods for maintaining the application and allowing maximum scalability. By the end of this book, you’ll have all the skills you’ll need to begin creating professional quality e-commerce systems from the ground up.

Author Information

Paul Sarknas currently serves as the president of his own consulting company, Sarknasoft Solutions, which provides enterprise solutions to a wide array of companies that utilize the .NET platform. Sarknas specializes in C#, ASP.NET, and SQL Server. He works intimately with all aspects of software including planning, gathering, designing, architecting, developing, testing, and deploying.

Sarknas has worked with Microsoft technologies for over 8 years and has used .NET since its early conception. Along with authoring and technical reviewing for Apress, Sarknas has also co-authored for WROX Press.

Sarknas may be contacted via his consulting company’s website www.sarknasoft.com, or his personal site www.paulsarknas.com. He welcomes questions and feedback of any kind.

What is in this book

Contents

 

About the Author

About the Technical Reviewer

Introduction

 

PART 1  -  The Basics

 

CHAPTER 1 - Introducing E-commerce Systems

 

Defining Commerce

Studying the Benefits of E-commerce

Examining the Barriers to Entry

Looking Forward

Summary

 

CHAPTER 2 - Introducing the Microsoft Tools

 

Introducing the Individual Tools

Visual Studio 2005

Microsoft NET Framework 2.0

C# 2.0

Microsoft Visio or Visual Studio 2005 Class Designer

SQL Server 2005

Internet Information Services

SSL Certificate

Introducing the Development Environment

Introducing the Production Environment

Going with In-House Hosting

Outsourcing the Hosting

Summary

 

CHAPTER 3 - Exploring the Company Background for the Case Study

 

Getting Some Company Background

The Current Situation

The Competition

Moving Forward and Increasing Sales

Why a Case Study?

Summary

 

PART 2  -  The Business Aspects

 

CHAPTER 4 - Gathering the Requirements

 

What Is Requirement Gathering?

How to Gather Requirements

Interviews

Documentation

The Official Requirements

Product Catalog

Shopping Cart

PayPal Credit Card Handling

Tracking Information

Content Management System

About Us

Contact Form

User Account Login

Wine of the Month Club

Age Verification

Summary

 

CHAPTER 5 - Turning Sales into Profits

 

Selling the Main Product

Selling Affiliate Products

Partnering with Similar Businesses

Creating a User Membership

Selling Advertising Space

Summary

 

CHAPTER 6 - Examining the Risks

 

Supply for the Demand

System Downtime

Processing Payments

Physical and Logical Attacks

Physical Attack

Logical Attack

Prevention

Sensitive Information and Data

Summary

 

PART 3  -  The Project Plan and Design

 

CHAPTER 7 - Modeling Objects with UML

 

Benefits of Object Modeling

Activity Diagrams

Searching

Adding Items to the Shopping Cart

Checking Out

Processing Abandoned Shopping Carts

Account Registration

Use Cases

Class Diagrams

EndUser

EndUserType

Product

ProductCategory

Orders

OrderDetails

Address

ContactInformation

ShoppingCart

CreditCard

Summary

 

CHAPTER 8 - Designing the Database with SQL Server 2005           

 

Creating the Database

Creating the Tables

Products

ProductCategory

ProductImages

Orders

OrderDetails

OrderStatus

EndUser

EndUserType

Address

ContactInformation

ShoppingCart

Creating the Relationships

OrderDetails

Orders

EndUser

Products

ShoppingCart

Writing the Type Inserts

EndUserType

OrderStatus

ProductCategory

Examining the Complete Database

Summary

 

CHAPTER 9 - Using Visual Studio 2005

 

Understanding the Case Study’s Approach

Understanding the Case Study’s Solution

Creating the Web Project

Expanding the Web Project

Images

Scripts

CSS

Admin

Adding the Class Libraries

Common

DataAccess

Operational

BusinessLogic

Summary

 

PART 4  -  Architecture

 

CHAPTER 10 - Building the Complete System Architecture

 

Introducing Multitier Architecture

Introducing the LittleItalyVineyards Architecture

Introducing the Presentation Layer

Introducing the Data Access Layer

Introducing the Business Logic Layer

Summary

 

CHAPTER 11 - Creating the Common Objects

 

Why Use Common Objects?

Revisiting the Classes

EndUser

EndUserType

Product

ProductCategory

Orders

OrderDetail

Address

ContactInformation

ShoppingCart

CreditCard

Implementing the Common Classes

Refactoring Within Visual Studio 2005

Summary

 

CHAPTER 12 - Creating the Data Access Layer

 

Why a Data Access Layer?

Using the Microsoft Data Access Application Block

Implementing the Classes

The DataAccessBase Class

The Connection String

The StoredProcedure Class

The DataBaseHelper Class

Summary

 

CHAPTER 13 - Creating the Business Logic Layer

 

Introducing the Business Logic Layer

Implementing the Business Logic Layer

Getting Everything Working Together

Summary

 

CHAPTER 14 - Exploring Your Integration Options

 

Introducing the Operational Manager

Implementing the Operational Manager

Implementing Web Services

Performing Some Exception Handling

Summary

 

CHAPTER 15 - Creating the Presentation Layer

 

Looking at the Overall Design

Implementing the Master Page

Creating the Individual Web Pages

About Us

Winery

FAQ

Contact Us

Default Error Page

Summary

 

PART 5  -  Core Development

 

CHAPTER 16 - Developing the Product Catalog

 

Creating the Product Catalog

Creating the Stored Procedure

Writing the Code and Classes

Displaying the Product Images

Creating the Product Details

Searching the Catalog

Summary

 

CHAPTER 17 - Building the Shopping Cart

 

Adding to the Shopping Cart

Displaying the Shopping Cart

Updating the Shopping Cart

Processing Abandoned Shopping Carts

Summary

 

CHAPTER 18 - Integrating the PayPal SDK

 

Introducing the PayPal SDK

Why PayPal?

Installing the PayPal SDK

Configuring Your Developer Central Account

Creating the Sandbox Account

Creating the Test Certificate

Configuring the Test Certificate

Integrating the PayPal APIs

Summary

 

CHAPTER 19 - Implementing the Checkout Process

 

Checking Out of the Shopping Cart

Creating a New User Account

Logging In

Summary

 

CHAPTER 20 - Processing the Payment

 

Implementing the PayPal API Code

Implementing the Direct Payment

Entering the Billing and Shipping Information

Submitting the Payment

Finalizing the Payment

Summary

 

CHAPTER 21 - Creating the Administrator’s Control Panel

 

Setting Up the Control Panel

Creating the Administrator Login

Creating a New Product

Updating a Product

Viewing All the Products

Summary

 

CHAPTER 22 - Building the Customer’s Account

 

Setting Up the Customer Account

Extending the Customer Login

Viewing the Orders

Viewing the Order Details

Summary

 

PART 6  -  Order Fulfillment and Promotion

 

CHAPTER 23 - Managing the Orders

 

Viewing the Orders

Viewing the Order Details

Creating the Order Fulfillment

Informing the Customer

Issuing Refunds

Summary

 

CHAPTER 24 - Promoting the Site and Upselling

 

Upselling with Related Products

Promoting with the E-newsletter

Allowing the Customer to Unsubscribe

Summary

 

CHAPTER 25 - Accessing the Money from the

 

Credit Card Transaction

Transferring Funds

Accessing the Money in Other Ways

Requesting a Check

Money Market

Debit Card

Cash with ATM

Purchase from PayPal Shops

Summary

 

PART 7  -  Deployment

 

CHAPTER 26 - Exploring Your Compilation and

 

Deployment Options

Building the Code

Precompiling and Publishing

Finalizing the Application

Summary

 

CHAPTER 27 - Configuring the Production Environment

 

Setting Up the Domain

Registering Your Domain

Setting Up the DNS Servers

Setting Up the Hosting Plan

Setting Up IIS and the Database

Configuring the SQL Server 2005 Database

Configuring the SSL Certificate

Obtaining the SSL Certificate

Installing the SSL Certificate

Deploying the Application

Copying the Source Code

Finalizing the Webconfig File

Summary

 

PART 8  -  Aftercare

 

CHAPTER 28 - Supporting and Maintaining the Application

 

Monitoring the Application

Why This Is Important

Performance

Discovering and Solving Errors

Optimizing the Application

Summary

 

INDEX

 

Note:

Mindcracker Network accepts no liability for providing the customer with the hard copy of the book purchased. Mindcracker is not responsible for any dispute relating to the above. All eBooks listed in this section are in "PDF" Format. Contact [email protected] for further assistant.