Commit Graph

73 Commits (4090de140a4ceaaf8daa93d89e019b34ceaf426e)

Author SHA1 Message Date
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
Jason Zhu 0086a9a75f 8.1.1 Filtering the Product List; Listing 8-1. Enhancing the ProductsListViewModel.cs File 2021-09-08 21:22:41 +10:00
Jason Zhu 5b843e3cdb 7.6.3 Creating a Partial View; Listing 7-29 Using a Partial View in the List.cshtml File 2021-09-08 17:07:12 +10:00
Jason Zhu bc939b22da 7.6.3 Creating a Partial View; Listing 7-28. Adding Markup to the ProductSummary.cshtml File 2021-09-08 16:17:32 +10:00
Jason Zhu 982ff29ec1 7.6.2 Applying Bootstrap Styles tot he Layout; Listing 7-26 Applying Bootstrap to Style the List.cshtml File 2021-09-08 16:14:14 +10:00
Jason Zhu 72d6a86d87 7.6.2 Applying Bootstrap Styles to the Layout; Listing 7-26 Applying Bootstrap CSS to the _Layout.cshtml File 2021-09-08 16:08:19 +10:00
Jason Zhu b16bff04fc 7.6.1 Installing the Bootstrap Package 2021-09-08 15:55:54 +10:00
Jason Zhu 226651bed4 7.5.2 Improving the URLs; Listing 7-24 Adding a New Route to the RouteConfig.cs File 2021-09-08 15:53:41 +10:00
Jason Zhu 8d40247742 7.5.1.4 Displaying the Page Links; Listing 7-23 Calling the HTML Helper Method in the List.cshtml File 2021-09-08 15:48:06 +10:00
Jason Zhu 237a9f0aa8 7.5.1.3 Adding the View Model Data; Listing 7-22 Updating the List.cshtml File 2021-09-08 15:43:25 +10:00
Jason Zhu a5e527e9b8 7.5.1.3 Adding the View Model Data; UNIT TEST: PAGE MODEL VIEW DATA 2021-09-08 15:40:07 +10:00
Jason Zhu 6164f14dfc 7.5.1.3 Adding the View Model Data; Listing 7-21 Updating the List Method in the ProductController.cs File 2021-09-08 15:39:09 +10:00
Jason Zhu 3ab9977773 7.5.1.3 Adding the View Model Data; Listing 7-20. The Contents of the ProductListViewModel.cs File 2021-09-08 15:23:44 +10:00
Jason Zhu cb3d151c6b 7.5.1.2 Adding the HTML Helper Method; Listing 7-19. Adding the HTML Helper Method Namespace to the Views/web.config File 2021-09-08 15:20:17 +10:00
Jason Zhu 20f1cf9dec 7.5.1.1 Adding the View Model; UNIT TEST: CREATING PAGE LINKS 2021-09-08 15:18:46 +10:00
Jason Zhu 7539975905 7.5.1.2 Adding the HTML Helper Method; Listing 7-18. The Contents of the PagingHelpers.cs Class File 2021-09-08 15:13:15 +10:00
Jason Zhu d7dcb89a64 7.5.1.1 Adding the View Model; Listing 7-17 The Contents of the PagingInfo.cs File 2021-09-08 15:09:02 +10:00