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 |
Jason Zhu
|
af43a33a3a
|
7.5 Adding Pagination; UNIT TEST: PAGINATION
|
2021-09-08 15:02:07 +10:00 |
Jason Zhu
|
565270f975
|
7.5 Adding Pagination; Update Microsoft.AspNet.Mvc to 5.2.7 for SportsStore.Domain, and SportsStore.UnitTests
|
2021-09-08 14:56:09 +10:00 |
Jason Zhu
|
a0d696df62
|
7.5 Adding Pagination; Listing 7-16 Adding Pagination Support to the List Action Method in the ProductController.cs File
|
2021-09-08 14:53:25 +10:00 |
Jason Zhu
|
72064ff65c
|
7.4.5 Creating the Product Repository; Listing 7-15. Adding the Real Repository Binding in the NinjectDependencyResolver.cs File; Fix typo in Web.config
|
2021-09-08 13:26:56 +10:00 |
Jason Zhu
|
46fbd3ed91
|
7.4.5 Creating the Product Repository; Listing 7-14. The Contents of the EFProductRepository.cs File
|
2021-09-08 11:43:51 +10:00 |
Jason Zhu
|
997043a3db
|
7.4.4 Creating the Entity Framework Context; Listing 7-13. Adding a Database Connection in the Web.config File
|
2021-09-08 11:40:04 +10:00 |
Jason Zhu
|
cacc3e1580
|
7.4.4 Creating the Entity Framework Context; Listing 7-12. The Content of the EFDbContext.cs File
|
2021-09-08 11:35:12 +10:00 |
Jason Zhu
|
f2c0d2ca09
|
7.4.4 Creating the Entity Framework Context; Install-Package EntityFramework to SportsStore.Domain and SportsStore.WebUI
|
2021-09-08 11:30:25 +10:00 |
Jason Zhu
|
dfe591a0c7
|
7.3.3 Setting the Default Route; Listing 7-10. Adding the Default Route in the RouteConfig.cs File
|
2021-09-08 11:06:25 +10:00 |
Jason Zhu
|
0fe4d1105b
|
7.3.2.1 Rendering the View Data; Listing 7-9 Editing the List.cshtml File
|
2021-09-08 11:04:35 +10:00 |
Jason Zhu
|
58649f0ee8
|
7.3.2 Adding the Layout, View Start File and View; Listing 7-8 Editing the _Layout.cshtml File
|
2021-09-08 10:56:38 +10:00 |