Commit Graph

110 Commits (e43c56e68a033d1ba748e9d809382efbcd54f601)

Author SHA1 Message Date
Jason Zhu e43c56e68a 15.6.2 Defining Optional URL Segments; Listinig 15-19. Specifying an Optional URL Segment in the RouteConfig.cs File 2021-11-24 18:37:05 +11:00
Jason Zhu b1390aba96 15.6.1 Using Custom Variables as Action Method Parameters; Listing 15-18. Adding an Action Method Parameter in the HomeController.cs File 2021-11-23 22:56:17 +11:00
Jason Zhu 0f14a97ae2 15.6 Defining Custom Segment Variables; UNIT TEST: TESTING CUSTOM SEGMENT VARIABLES 2021-11-23 22:51:24 +11:00
Jason Zhu e7f13be7d8 15.6 Defining Custom Segment Variables; Listing 15-17. The Contents of CustomVariable.cshtml File 2021-11-23 21:16:29 +11:00
Jason Zhu 98748c4b3d 15.6 Defining Custom Segment Variables; Listing 15-16. Accessing a Custom Segment Varaible in an Action Method in the HomeController.cs File 2021-11-23 21:09:53 +11:00
Jason Zhu fc704d2a68 15.6 Defining Custom Segment Variables; Listing 15-15. Defining Additional Variables in a URL Pattern in the RouteConfig.cs File 2021-11-23 21:01:56 +11:00
Jason Zhu c4f05470ab 15.5 Using Static URL Segments; Listing 15-14. Aliasing a Controller and an Action in the RouteConfig.cs File 2021-11-23 20:42:13 +11:00
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