Commit Graph

67 Commits (chap15)

Author SHA1 Message Date
Jason Zhu fe196ca256 10.2.2.1 Helping the Controller Select a View; Listing 10-5 Updating the Menu Action Method in the NavController.cs File 2021-09-22 22:59:14 +10:00
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 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 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 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 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 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 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 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 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 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 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 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