Skip to content

Commit a607f63

Browse files
committed
add routing on AutoBatched Requests page
1 parent 0c9cf19 commit a607f63

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

MyApp/_pages/auto-batched-requests.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,20 @@ One of the best ways to improve performance, efficiency and reduce latency is to
77

88
A common use-case that can be improved are clients making multiple requests to the same API, but due to the lack of a better alternative batched API or control over the server implementation, will default to making multiple N+1 web service requests.
99

10+
### Pre-defined Routes
11+
12+
For [Endpoint Routing](/endpoint-routing), the pre-defined route for Auto Batched Requests is:
13+
14+
<div class="not-prose">
15+
<h3 class="text-4xl text-center text-indigo-800 pb-3">/api/{Request}[]</h3>
16+
</div>
17+
18+
For [Leegacy Routing](/routing), the pre-defined route for Auto Batched Requests is:
19+
20+
<div class="not-prose">
21+
<h3 class="text-4xl text-center text-indigo-800 pb-3">/json/reply/{Request}[]</h3>
22+
</div>
23+
1024
## All Services support Batching
1125

1226
Thanks to it's [message-based design](/advantages-of-message-based-web-services), ServiceStack is able to enable high-level generic functionality like Request Batching which is now implicitly available for all Services, without any additional effort - where multiple requests of the same type can be sent together in a single HTTP Request.

0 commit comments

Comments
 (0)