Skip to content

Commit dff2116

Browse files
committed
Add links to the latest request timeout samples
1 parent 25bb13c commit dff2116

File tree

2 files changed

+27
-15
lines changed

2 files changed

+27
-15
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Samples for ASP.NET Core 6.0, 7.0 and 8.0 RC 1 (497)
1+
# Samples for ASP.NET Core 6.0, 7.0 and 8.0 RC 1 (499)
22

3-
- Samples for ASP.NET Core **8.0 RC 1** is available [here](/projects/.net8) (34).
3+
- Samples for ASP.NET Core **8.0 RC 1** is available [here](/projects/.net8) (36).
44
- Samples for ASP.NET Core **7.0** is available [here](/projects/.net7) (45).
55
- Samples for ASP.NET Core **8.0 Preview 6** using EdgeDB.NET is [here](https://github.com/edgedb/edgedb-net).
66

projects/.net8/README.md

Lines changed: 25 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ASP.NET 8.0 Preview 7 (34)
1+
# ASP.NET 8.0 Preview 7 (36)
22

33
These samples require [.NET 8.0 RC 1](https://github.com/dotnet/installer#table).
44

@@ -50,18 +50,6 @@ These samples require [.NET 8.0 RC 1](https://github.com/dotnet/installer#table)
5050

5151
This sample shows how to update the UI multiple times using `StateHasChanged();` while in streaming rendering mode.
5252

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-
6553
* [Short Circuit](map-short-circuit)
6654

6755
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)
138126

139127
This sample demonstrates the ability to use `[FromForm]` binding in Minimal API.
140128

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+
141153
## Keyed Services
142154

143155
* [Keyed Services in Minimal API](keyed-service)

0 commit comments

Comments
 (0)