106 Commits

Author SHA1 Message Date
9afd2e2cfd 11.1.4.5 Displaying a Confirmation Message; Listing 11-12. Handling the ViewBag Message in the _AdminLayout.cshtml Fil 2021-09-23 19:27:08 +10:00
c0b4f638f9 11.1.4.4 Handling Edit POST Requests; UNIT TEST: EDIT SUBMISSIONS 2021-09-23 16:46:45 +10:00
57a8f62c14 11.1.4.4 Handling Edit POST Requests; Listing 11-11. Adding the POST-Handling Edit Action Method in the AdminController.cs File 2021-09-23 16:41:28 +10:00
610a360fb2 11.1.4.3 Updating the Product Repository; Listing 11-10. Implementing the SaveProduct Method in the EFProductRepository.cs File 2021-09-23 16:37:27 +10:00
85f354b5ba 11.1.4.3 Updating the Product Repository; Listing 11-9. Adding a Method to the IProductRespository.cs File 2021-09-23 16:31:52 +10:00
2047c92b96 11.1.4.2 Creating the Edit View; Listing 11-8 Updating the Edit.cshtml File 2021-09-23 16:29:18 +10:00
911ab9f5c8 11.1.4.2 Creating the Edit View; Listing 11-7 Using Model Metadata in the Product.cs File 2021-09-23 12:54:55 +10:00
436f78cf71 Listing 11-6 The Coontents of the Edit.cshtml File (Edited) 2021-09-23 12:54:24 +10:00
f1cdbf375b 11.1.4.2 Creating the Edit View; Listing 11-6 The Contents of the Edit.cshtml File 2021-09-23 12:48:39 +10:00
35c520e1ed 11.1.4.1 Creating the Edit Action Method; UNIT TEST: THE EDIT ACTION METHOD 2021-09-23 12:05:39 +10:00
d33320ce73 11.1.4.1 Creating the Edit Action Method; Listing 11-5 Adding the Edit Action Method in the AdminController.cs File 2021-09-23 12:00:31 +10:00
8c22c6e26a 11.1.3 Implementing the List View; Listing 11-4 Modifying the Index.cshtml View 2021-09-23 11:54:48 +10:00
6801b717df 11.1.3 Implementing the List View; Listing 11-3 The Contents of the Views/Admin/Index.cshmtl File 2021-09-23 11:20:56 +10:00
8318883c0a 11.1.2 Creating a New Layout; Listing 11-2 The Contents of the _AdminLayout.cshtml File 2021-09-23 11:11:02 +10:00
de9d07f75f 11.1.1 Creating a CRUD Controller; UNIT TEST: THE INDEX ACTION 2021-09-23 11:05:52 +10:00
6e6ae67b21 11.1.1 Creating a CRUD Controller; Listing 11-1 The Contents of the AdminController.cs File 2021-09-23 10:53:58 +10:00
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
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
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
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
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
e899f54af3 Fixed location of email file sent location 2021-09-22 16:43:28 +10:00
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
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
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
6838555dd2 9.3.5 Completing the Cart Controller; UNIT TEST: ORDER PROCESSING 2021-09-22 16:14:07 +10:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
a8154783e7 9.1.1 Creating a Custom Model Binder; UNIT TEST: THE CART CONTROLLER 2021-09-18 23:30:33 +10:00
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
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
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
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
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
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
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
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