Commit Graph

20 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