: Cristian Darie, Karli Watson
: Beginning ASP.NET 2.0 E-Commerce in C# 2005 From Novice to Professional
: Apress
: 9781430200796
: 1
: CHF 36.40
:
: Informatik
: English
: 704
: Wasserzeichen/DRM
: PC/MAC/eReader/Tablet
: PDF
*Code-base rewritten from previous version, to demonstrate ASP.NET 2.0 functionality; updated features also included

*Example code is flexible, to fit each reader's needs

*Each chapter-not just the latter ones-builds a new feature of the functional e-commerce website; keeps reader excited

*Final website is fully operational and ready for immediate use to sell goods and take money.



Cristian Darie is a software engineer with experience in a wide range of modern technologies. He is the author of numerous books, including his popular ASP.NET C# e-commerce tutorial, his Ajax and PHP tutorial, and his search engine optimization tutorial for PHP developers. Cristian studied distributed application architectures for his Ph.D, and is getting involved with various commercial and research projects. When not planning to buy Google, he enjoys his bit of social life. If you want to say 'Hi,' you can reach Cristian through his personal website, www.CristianDarie.ro.
Contents5
About the Authors13
About the Technical Reviewer14
Introduction15
Chapter 1 Starting an E-Commerce Site20
Deciding Whether to Go Online20
Getting More Customers21
Making Customers Spend More21
Reducing the Costs of Fulfilling Orders22
Making Money22
Considering the Risks and Threats23
Designing for Business24
Phase I: Getting a Site Up25
Phase II: Creating Your Own Shopping Cart25
Phase III: Processing Orders26
The Balloon Shop27
Summary28
Chapter 2 Laying Out the Foundations29
Designing for Growth30
Meeting Long-Term Requirements with Minimal Effort30
The Magic of the Three-Tier Architecture31
Choosing Technologies and Tools36
Using ASP.NET 2.037
Using C# and VB .NET41
Using Visual Studio 2005 and Visual Web Developer 2005 Express Edition41
Using SQL Server 200542
Following Coding Standards44
Creating the Visual Web Developer Project45
Implementing the Site Skeleton49
Building the First Page51
Adding the Header to the Main Page56
Creating the SQL Server Database59
Downloading the Code61
Summary61
Chapter 3 Creating the Product Catalog: Part I62
Showing Your Visitor What You ve Got62
What Does a Product Catalog Look Like?63
Previewing the Product Catalog64
Roadmap for This Chapter67
Storing Catalog Information69
Understanding Data Tables70
Creating the Department Table78
Communicating with the Database80
Speaking the Database Language81
Creating Stored Procedures85
Adding Logic to the Site87
Connecting to SQL Server88
Issuing Commands and Executing Stored Procedures91
Implementing Generic Data Access Code93
Catching and Handling Exceptions95
Sending Emails98
Writing the Business Tier Code98
Displaying the List of Departments107
Preparing the Field: Themes, Skins, and Styles107
Displaying the Departments111
Adding a Custom Error Page117
Summary121
Chapter 4 Creating the Product Catalog: Part II122
Storing the New Data122
What Makes a Relational Database123
Enforcing Table Relationships with the FOREIGN KEY Constraint127
Adding Categories128
Adding Products133
Querying the New Data139
Retrieving Short Product Descriptions139
Joining Data Tables140
Showing Products Page by Page142
Writing the New Stored Procedures146
Using ADO.NET with Parameterized Stored Procedures152
Using Input Parameters152
Using Output Parameters152
Stored Procedure Parameters Are Not Strongly Typed153
Getting the Results Back from Output Parameters153
Completing the Business Tier Code153
Implementing the Presentation Tier164
Displaying the List of Categories165
Displaying Department and Category Details170
Displaying Product Lists174
Summary184
Chapter 5 Searching the Catalog185
Choosing How to Search the Catalog185
Teaching the Database to Search Itself187
Implementing a Custom Search Engine187
Introducing the SearchCatalog Stored Procedure191
Implementing Paging193
Writing the Code194
Implementing the Business Tier198
Implementing the Presentation Tier200
Creating the Search Box201
Displaying the Search Results207
Searching Smarter211
Summary213
Chapter 6 Improving Performance214
Handling Postback214
Managing ViewState218
Using Output Cache221
Summary223
Chapter 7 Receiving Payments Using PayPal224
Considering Internet Payment Service Providers225
Getting Started with PayPal226
Integrating the PayPal Shopping Cart and Checkout227
Using the PayPal Single Item Purchases Feature233
Summary234
Chapter 8 Catalog Administration235
Preparing to Create the Catalog Administration Page235