Skip to content

Commit c312dd5

Browse files
committed
Add keyed service sample
1 parent 494c5cc commit c312dd5

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
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 (494)
1+
# Samples for ASP.NET Core 6.0, 7.0 and 8.0 RC 1 (495)
22

3-
- Samples for ASP.NET Core **8.0 RC 1** is available [here](/projects/.net8) (32).
3+
- Samples for ASP.NET Core **8.0 RC 1** is available [here](/projects/.net8) (33).
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: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ASP.NET 8.0 Preview 7 (32)
1+
# ASP.NET 8.0 Preview 7 (33)
22

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

@@ -136,4 +136,10 @@ These samples require [.NET 8.0 RC 1](https://github.com/dotnet/installer#table)
136136

137137
* [Minimal API Form Model Binding](minimal-api-form-model-binding)
138138

139-
This sample demonstrates the ability to use `[FromForm]` binding in Minimal API.
139+
This sample demonstrates the ability to use `[FromForm]` binding in Minimal API.
140+
141+
## Keyed Services
142+
143+
* [Keyed Services in Minimal API]
144+
145+
Use `IServiceProvider.GetRequiredKeyedService<T>(key)` to get different type of implementation instances based on string key in Minimal API

0 commit comments

Comments
 (0)