Skip to content

Commit 71f4ea3

Browse files
committed
Another doc tweak
1 parent c52bd2c commit 71f4ea3

File tree

1 file changed

+24
-13
lines changed

1 file changed

+24
-13
lines changed

docs/index.md

Lines changed: 24 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -25,29 +25,33 @@ features:
2525
title: Convention-Based Discovery
2626
details: No interfaces or base classes required. Just name your classes and methods following simple conventions.
2727
link: /guide/handler-conventions
28-
- icon: 🔧
29-
title: Full Dependency Injection
30-
details: Built-in support for Microsoft.Extensions.DependencyInjection with constructor and method injection.
31-
link: /guide/dependency-injection
3228
- icon: 🧩
3329
title: Plain Handler Classes
34-
details: Use regular classes or static methods. No framework coupling or special interfaces required.
30+
details: Use regular classes or static methods. Sync or async, any signature, multiple handlers per class. No framework coupling.
3531
link: /guide/handler-conventions
36-
- icon: 🎪
37-
title: Middleware Pipeline
38-
details: Before/After/Finally/Execute hooks with state passing and short-circuiting capabilities.
39-
link: /guide/middleware
4032
- icon: 🌐
41-
title: Auto-Generated Endpoints
42-
details: Zero-boilerplate ASP.NET Core Minimal API endpoints generated directly from your handlers.
33+
title: Auto-Generated API Endpoints
34+
details: Full Minimal API endpoints generated from your handlers — routes, methods, parameter binding, OpenAPI metadata, and authorization all inferred automatically. No boilerplate.
4335
link: /guide/endpoints
36+
- icon: 📡
37+
title: Real-Time Streaming
38+
details: Add Server-Sent Events to your API by returning IAsyncEnumerable<T> from a handler. Real-time push with zero infrastructure plumbing.
39+
link: /guide/streaming-handlers
4440
- icon: 🎯
4541
title: Rich Result Types
46-
details: Built-in Result and Result<T> types for handling success, validation errors, and various failure states.
42+
details: Built-in Result<T> for success, validation errors, and failure states — auto-mapped to HTTP status codes on endpoints.
4743
link: /guide/result-types
44+
- icon: 🔧
45+
title: Full Dependency Injection
46+
details: Built-in support for Microsoft.Extensions.DependencyInjection with constructor and method injection.
47+
link: /guide/dependency-injection
48+
- icon: 🎪
49+
title: Middleware Pipeline
50+
details: Before/After/Finally/Execute hooks with state passing and short-circuiting capabilities.
51+
link: /guide/middleware
4852
- icon: 🔄
4953
title: Automatic Message Cascading
50-
details: Return tuples to automatically publish additional messages in sequence.
54+
details: Return tuples to automatically publish additional messages in sequence — ideal for event-driven workflows.
5155
link: /guide/cascading-messages
5256
- icon: 🔒
5357
title: Compile-Time Safety
@@ -84,3 +88,10 @@ services.AddMediator();
8488
var reply = await mediator.InvokeAsync<string>(new Ping("Hello"));
8589
// Output: "Pong: Hello"
8690
```
91+
92+
Turn your message handlers into API endpoints automatically:
93+
94+
```csharp
95+
app.MapMyAppEndpoints();
96+
// That's it — routes, methods, and parameter binding are all generated for you.
97+
```

0 commit comments

Comments
 (0)