Commit Graph

38 Commits (0086a9a75f964057cb1c6ca8ffed5406fcd148bc)

Author SHA1 Message Date
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
Jason Zhu 704fba490c 7.3.2 Adding the Layout, View Start File and View; Creating empty view 2021-09-08 10:47:21 +10:00
Jason Zhu 1ffd5ba6ad 7.3.1 Adding a Controller; Listing 7-7 Adding an Action Method to the ProductController.cs File 2021-09-08 10:44:26 +10:00
Jason Zhu 5cced2c5d9 7.3.1 Adding a Controller; Listing 7-6 The Initial Contents of the Product Controller.cs File 2021-09-08 10:42:58 +10:00
Jason Zhu 56a61c71c8 7.2 Making a Mock Repository; Listing 7-5 Adding the Mock IProductRepository Implementation in the NinjectDependencyResolver.cs File 2021-09-08 10:37:38 +10:00
Jason Zhu 889b3e7c49 7.2.1 Creating an Abstract Repository; Listing 7-4. The Contents of the IProductRepository.cs 2021-09-08 10:31:09 +10:00
Jason Zhu a6eb8237d4 Listing 7-3 Fixed typo 2021-09-08 10:27:04 +10:00
Jason Zhu a8d6357a25 Listing 7-3 The Contents of the Product.cs File; 7.2 Starting the Domain Model 2021-09-08 10:22:22 +10:00
Jason Zhu 0411dfad0b 7.1.4 Setting Up the DI Container 2021-09-08 10:17:19 +10:00
Jason Zhu 94ffb2a66c 7.1.3 Adding References Between Projects 2021-09-08 09:42:33 +10:00
Jason Zhu 07e26f7af3 7.1.2 Installing the Tool Packages 2021-09-07 23:46:06 +10:00
Jason Zhu b2f7b540ed 7.1.1 Creating the Visual Stduio Solution and Projects 2021-09-07 23:40:58 +10:00