Commit Graph

88 Commits (b03c3d3e774462d7b87786dfd80c88aa899e4600)

Author SHA1 Message Date
Jason Zhu b03c3d3e77 10.2.2 Creating a Responsive Product List; Listing 10-3 Creating a Product List in _Layout.cshtml File 2021-09-22 22:46:58 +10:00
Jason Zhu 17c5e9e391 10.2.1 Creating a Responsive Header; Listing 10-2. Adding Responsive Content to the `Summary.cshtml` File 2021-09-22 22:36:56 +10:00
Jason Zhu fa611c9e3b 10.2.1 Creating a Responsive Header; Listing 10-1 Adding Responsive Content to the _Layout.cshtml file 2021-09-22 22:14:15 +10:00
Jason Zhu dfd6b230f6 9.3.7 Displaying a Summary Page; Listing 10-1 Adding Responsive Content to the _Layout.cshtml File 2021-09-22 20:51:13 +10:00
Jason Zhu e899f54af3 Fixed location of email file sent location 2021-09-22 16:43:28 +10:00
Jason Zhu ffce55b6a9 9.3.6 Displaying Validation Errors; Listing 9-21 Adding a Link Element in the _Layout.cshtml File 2021-09-22 16:25:16 +10:00
Jason Zhu ba2f003e49 9.3.6 Displaying Validation Errors; Listing 9-20 The Contents of the ErrorStyles.css File 2021-09-22 16:24:00 +10:00
Jason Zhu f4146a6c0f 9.3.6 Displaying Validation Errors; Listing 9-19 Adding a Validation Summary to the Checkout.cshtml File 2021-09-22 16:16:18 +10:00
Jason Zhu 6838555dd2 9.3.5 Completing the Cart Controller; UNIT TEST: ORDER PROCESSING 2021-09-22 16:14:07 +10:00
Jason Zhu 23f23641e5 9.3.5 Completing the Cart Controller; Listing 9-18 Completing the Controller in the CartController.cs File 2021-09-22 15:20:39 +10:00
Jason Zhu b8a2c0043d 9.3.4 Registering the Implementation; Listing 9-17 Application Settings ini the Web.config File 2021-09-22 15:10:08 +10:00
Jason Zhu ca3c72f560 9.3.4 Registering the Implementation; Listing 9-16 Adding Ninject Bindings for IOrderProcessor to the NinjectDependencyResolver.cs File 2021-09-22 15:01:30 +10:00
Jason Zhu 27f0d26168 9.3.3.2 Implementing the Interface; Listing 9-15 The Contents of the EmailOrderProcessor.cs File 2021-09-22 14:51:34 +10:00
Jason Zhu 021dd4d937 9.3.3.1 Defining the Interface; Listing 9-14 The Contents of the IOrderProcessor.cs File 2021-09-22 14:28:44 +10:00
Jason Zhu 41f564e967 9.3.2 Adding the Checkout Process; Listing 9-13 Applying the Display attribute to the ShippingDetails.cs File 2021-09-22 14:20:20 +10:00
Jason Zhu 9491c62113 9.3.2 Adding the Checkout Process; Listing 9-12 Reducing Duplication in the Checkout.cshtml File 2021-09-22 14:19:19 +10:00
Jason Zhu 4090de140a 9.3.2 Adding the Checkout Process; Listing 9-11 The Contents of the Checkout.cshtml File 2021-09-22 11:42:47 +10:00
Jason Zhu 5eb2302b52 9.3.2 Adding the Checkout Process; Listing 9-10 The Checkout Action Method in the CartController.cs File 2021-09-22 11:40:11 +10:00
Jason Zhu 5e83bfa72f 9.3.2 Adding the Checkout Process; Listing 9-9 Adding the Checkout Now Button to the Index.cshtml File 2021-09-22 11:37:26 +10:00
Jason Zhu 35419556fe 9.3.1 Extending the Domain Model; Listing 9-8 The Contents of the ShippingDetails.cs File 2021-09-22 11:34:57 +10:00
Jason Zhu 4027f863cc 9.2.2 Adding the Cart Summary; Listing 9-7 Adding the Summary Partial View to the _Layout.cshtml File 2021-09-22 11:22:41 +10:00
Jason Zhu 57c4f167ca 9.2.2 Adding the Cart Summary; Listing 9-6 The Contents of the Summary.cshtml File 2021-09-22 11:19:34 +10:00
Jason Zhu d17ea37a0d 9.2.2 Adding the Cart Summary; Listing 9-5 Adding the Summary Method to the CartController.cs File 2021-09-22 11:15:51 +10:00
Jason Zhu 5636a37f58 9.2.1 Removing Items from the Cart; Listing 9-4 Introducing a Remove Button to the Index.cshtml File 2021-09-22 11:15:00 +10:00
Jason Zhu a8154783e7 9.1.1 Creating a Custom Model Binder; UNIT TEST: THE CART CONTROLLER 2021-09-18 23:30:33 +10:00
Jason Zhu 78b4ea3640 9.1.1 Creating a Custom Model Binder; Listing 9-3 Relying on the Model Binder in the CartController.cs File 2021-09-18 23:15:05 +10:00
Jason Zhu 767b09def1 9.1.1 Creating a Custom Model Binder; Listing 9-2 Registering the CartModelBinder Class in the Global.asax.cs File 2021-09-18 22:28:20 +10:00
Jason Zhu 1bb96ab788 9.1.1 Creating a Custom Model Binder; Listing 9-1. The Contents of the CartModelBinder.cs File 2021-09-18 22:26:21 +10:00
Jason Zhu 8dff8292b3 8.2 Building the Shopping Cart; Listing 8-17. The Contents of the Index.cshtml File 2021-09-18 18:34:56 +10:00
Jason Zhu b64c59264b 8.2 Building the Shopping Cart; Listing 8-16 The Index Action Method in the CartController.cs File 2021-09-18 18:25:55 +10:00
Jason Zhu 4436c60e79 8.2 Building the Shopping Cart; Listing 8-15. The Contents of the CartIndexViewModel.cs File 2021-09-18 18:22:36 +10:00
Jason Zhu a24fe02bbd 8.2.3 Implementing the Cart Controller; Listing 8-14 The Contents of the CartController.cs File 2021-09-13 00:23:59 +10:00
Jason Zhu 905ecd6969 8.2.2 Adding the Add to Cart Buttons; Listing 8-13. Adding the Buttons to the ProductSummary.cshtml File View 2021-09-13 00:16:06 +10:00
Jason Zhu 697f6017dd 8.2.1 Defining the Cart Entity; UNIT TEST: TESTING THE CART 2021-09-13 00:11:39 +10:00
Jason Zhu 2b1fee6172 8.2.1 Defining the Cart Entity; Listing 8-12 The Cart and CartLine Classes in the Cart.cs File 2021-09-09 00:02:29 +10:00
Jason Zhu 62e5982ef8 8.1.4 Correcting the Page Count; UNIT TEST: CATEGORY PRODUCT COUNTS 2021-09-08 23:55:32 +10:00
Jason Zhu 8f39a1ae1c 8.1.4 Correcting the Page Count; Listing 8-11 Creating the Category-Aware Pagination Data in the ProductController.cs File 2021-09-08 23:43:01 +10:00
Jason Zhu 59e5f471db 8.1.3.4 Highlighting the Current Category; Listing 8-10. Highlighting the Selected Category in the Menu.cshtml File 2021-09-08 23:41:08 +10:00
Jason Zhu 6cc688fc9d 8.1.3.4 Highlighting the Current Category; UNIT TEST: REPORTING THE SELECTED CATEGORY 2021-09-08 23:24:09 +10:00
Jason Zhu 32fa22777d 8.1.3.4 Highlighting the Current Category; Listing 8-9 Using the View Bag Feature in the NavController.cs File 2021-09-08 23:11:00 +10:00
Jason Zhu 4eaf23bc64 8.1.3.3 Creating the View; Listing 8-8 The Contents of the Menu.cshtml File 2021-09-08 23:08:58 +10:00
Jason Zhu c55dd5f133 8.1.3.2 Generating Category Lists; UNIT TEST: GENERATING THE CATEGORY LIST 2021-09-08 23:00:27 +10:00
Jason Zhu d240d7d569 8.1.3.2 Generating Category Lists; Listing 8-7 Implementing the Menu Method in the NavController.cs File 2021-09-08 22:33:17 +10:00
Jason Zhu 0bd06ef01c 8.1.3.1 Creating the Navigation Controller; Listing 8-6 Adding the RenderAction Call to the _Layout.cshtml File 2021-09-08 22:15:59 +10:00
Jason Zhu 5b697839e7 8.1.3.1 Creating the Navigation Controller; Listing 8-5 Adding The Menu Action Method to the NavController.cs File 2021-09-08 22:12:51 +10:00
Jason Zhu 56838b589e 8.1.2 Refining the URL Scheme; Listing 8-4. Adding Category Information to the Pagination Links in the List.cshtml File 2021-09-08 22:09:48 +10:00
Jason Zhu f2b64d578f 8.1.2 Refining the URL Scheme; Listing 8-3. The New URL Scheme in the RouteConfig.cs File 2021-09-08 22:08:59 +10:00
Jason Zhu a353aacadc 8.1.1 Filtering the Product List; UNIT TEST: CATEGORY FILTERING 2021-09-08 21:37:23 +10:00
Jason Zhu 7659a7b282 8.1.1 Filtering the Product List; UNIT TEST: UPDATING EXISTING UNIT TESTS 2021-09-08 21:27:53 +10:00
Jason Zhu 4b8ce0c014 8.1.1 Filtering the Product List; Listing 8-2. Adding Category Support to the List Action Method in the ProductController.cs File 2021-09-08 21:25:39 +10:00