Commit Graph

103 Commits (7e57cd2d1665052fe0b726c12be47e33d54f50f8)

Author SHA1 Message Date
Jason Zhu 7e57cd2d16 15.5 Using Static URL Segments; Listing 15-13. Mixing Static URL Segments and Default Values in the RouteConfig.cs File 2021-11-23 20:34:18 +11:00
Jason Zhu 2ea5c23a4d 15.5 Using Static URL Segments; Listing 15-12. A URL Pattern with a Mixed Segment in the RouteConfig.cs File 2021-11-23 11:59:50 +11:00
Jason Zhu 981ebcaf47 15.5 Using Static URL Segments; Listing 15-11. A URL Pattern with Static Segments in the RouteConfig.cs File 2021-11-23 11:52:55 +11:00
Jason Zhu 6112f51510 15.4 Defining Default Values; Unit Testing: Default Values 2021-11-23 00:15:22 +11:00
Jason Zhu ff4638e027 15.4 Defining Default Values; Listing 15-10 Providing Action and Controller Default Values in RouteConfig.cs File 2021-11-23 00:07:16 +11:00
Jason Zhu cf7a377fe0 15.4 Defining Default Values; Listing 15-9 Providing a Default Value in RouteConfig.cs File 2021-11-23 00:06:28 +11:00
Jason Zhu 3ddca950e3 15.3.1 Using the Simple Route; UNIT TEST: TESTING INCOMING URLs 2021-11-22 23:49:41 +11:00
Jason Zhu ef7147427c 15.3 Creating and Registering a Simple Route; Listing-15.8 Registering a Route Using the MapRoute Method in RouteConfig.cs file 2021-11-22 00:42:19 +11:00
Jason Zhu a5503a177b 15.3 Creating and Registering a Simple Route; Listing 15.7 Registering a Route in RouteConfig.cs file 2021-11-22 00:37:05 +11:00
Jason Zhu 9b99afe3d3 15.1.2 Creating the View; Listing 15-4 The Contents of the ActionName.cshtml File 2021-10-01 00:01:31 +10:00
Jason Zhu afb82add7b 15.1.1 Creating the Example Controller; Listing 15-3 The Contents of the AdminController.cs File 2021-09-30 22:42:48 +10:00
Jason Zhu 67c6858c48 15.1.1 Creating the Example Controllers; Listing 15-1. The Contents of the HomeController.cs File 2021-09-30 22:41:17 +10:00
Jason Zhu 0d89e1d9bc 15.1 Preparing the Example Project 2021-09-30 22:38:31 +10:00
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 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