Skip to content

Commit de4c628

Browse files
committed
Update routing.md
1 parent 0499bbb commit de4c628

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

MyApp/_pages/routing.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,15 @@ ConfigurePlugin<PredefinedRoutesFeature>(feature => feature.JsonApiRoute = null)
112112

113113
You can unset the base path to revert back to using the older `/json/reply/{Request}` pre-defined route, e.g:
114114

115+
#### C# JsonApiClient
116+
117+
```csharp
118+
client.UseBasePath = "/json/reply/";
119+
120+
// Globally for all JsonApiClient instances
121+
JsonApiClient.DefaultBasePath = "/json/reply/";
122+
```
123+
115124
#### JavaScript/TypeScript
116125

117126
```ts

0 commit comments

Comments
 (0)