|
1 |
| -# ASP.NET 8.0 Preview 7 (34) |
| 1 | +# ASP.NET 8.0 Preview 7 (36) |
2 | 2 |
|
3 | 3 | These samples require [.NET 8.0 RC 1](https://github.com/dotnet/installer#table).
|
4 | 4 |
|
@@ -50,18 +50,6 @@ These samples require [.NET 8.0 RC 1](https://github.com/dotnet/installer#table)
|
50 | 50 |
|
51 | 51 | This sample shows how to update the UI multiple times using `StateHasChanged();` while in streaming rendering mode.
|
52 | 52 |
|
53 |
| -* [Request Timeout](request-timeout) |
54 |
| - |
55 |
| - This sample demonstrates how to configure a request timeout. |
56 |
| - |
57 |
| -* [Request Timeout Policy](request-timeout-2) |
58 |
| - |
59 |
| - Trigger exception on a timeout using `HttpContext.RequestAborted.ThrowIfCancellationRequested()` on a timeout that was specified using a named policy. |
60 |
| - |
61 |
| -* [Request Timeout Policy](request-timeout-3) |
62 |
| - |
63 |
| - Trigger exception on a timeout using `HttpContext.RequestAborted.ThrowIfCancellationRequested()` on a default timeout policy. |
64 |
| - |
65 | 53 | * [Short Circuit](map-short-circuit)
|
66 | 54 |
|
67 | 55 | Use `MapShortCircuit` or `.ShortCircuit()` to efficiently respond to a request without going through a middleware pipeline run.
|
@@ -138,6 +126,30 @@ These samples require [.NET 8.0 RC 1](https://github.com/dotnet/installer#table)
|
138 | 126 |
|
139 | 127 | This sample demonstrates the ability to use `[FromForm]` binding in Minimal API.
|
140 | 128 |
|
| 129 | + |
| 130 | +## Request Timeout |
| 131 | + |
| 132 | +* [Request Timeout](request-timeout) |
| 133 | + |
| 134 | + This sample demonstrates how to configure a request timeout in Minimal API. |
| 135 | + |
| 136 | +* [Request Timeout Policy](request-timeout-2) |
| 137 | + |
| 138 | + Trigger exception on a timeout using `HttpContext.RequestAborted.ThrowIfCancellationRequested()` on a timeout that was specified using a named policy in Minimal API. |
| 139 | + |
| 140 | +* [Request Timeout Policy](request-timeout-3) |
| 141 | + |
| 142 | + Trigger exception on a timeout using `HttpContext.RequestAborted.ThrowIfCancellationRequested()` on a default timeout policy in Minimal API. |
| 143 | + |
| 144 | +* [Request Timeout](request-timeout-4) |
| 145 | + |
| 146 | + Use `RequestTimeout` attribute in an MVC controller to specify when timeout is trigerred. |
| 147 | + |
| 148 | +* [Request Timeout](request-timeout-5) |
| 149 | + |
| 150 | + Use `RequestTimeout` attribute in an MVC controller to use a named policy. |
| 151 | + |
| 152 | + |
141 | 153 | ## Keyed Services
|
142 | 154 |
|
143 | 155 | * [Keyed Services in Minimal API](keyed-service)
|
|
0 commit comments