Guides
Deeper, cross-cutting subjects (logging, deployment, performance, etc.).
Available
| Guide | Description |
|---|---|
| Logging | Configure structured logging (C# & PowerShell) |
| Exception Handling | Middleware patterns and standardized error responses |
| HTTP Caching | Layered cache headers, middleware, validators |
| Health Monitoring | Health endpoints, probes, and operational guidance |
| HSTS & HTTPS Redirection | Secure transport policies and automatic redirection |
| Forwarded Headers | Honor X-Forwarded-* from proxies for correct scheme/host/IP |
| CORS | Cross-origin policies and browser preflight behavior |
| JWT Tokens | Build, issue, validate, and renew JSON Web Tokens |
| OpenID Connect | Configure OIDC (Authorization Code + PKCE), claims, and logout |
| OAuth 2.0 | Configure OAuth2 providers (e.g., GitHub) and protect routes |
| OpenAPI Generation | Generate and document APIs with OpenAPI 3.0+ specifications |
| Scheduling | Background jobs via intervals and CRON (PS & C#) |
| Sessions | Cookie-based per-client state across requests |
| Tasks | On-demand background work with progress and results |
| Razor Pages | PowerShell-backed Razor Pages with per-request models |
| Status Code Pages | Friendly error pages and re-execution flows |
| Certificates | Generate, import, export, and validate X.509 |
Planned
- Deployment & hosting models
- Performance & benchmarking
- Configuration & environment separation
- Security / hardening checklist
Looking for step-by-step learning? Visit the Tutorials.
Table of contents
- Antiforgery (CSRF) Protection
- HTTP Caching
- Certificates Management
- Response Compression
- CORS
- ExceptionHandling
- Forwarded Headers
- Health Monitoring
- HSTS and HTTPS Redirection
- JWT Tokens
- Kestrun Logging
- OAuth 2.0
- OpenID Connect (OIDC)
- OpenAPI Generation
- Routing & Conventions
- Razor Pages
- Scheduling
- Client Sessions
- Shared State & Runspaces
- Status Code Pages Middleware
- Ad-hoc Tasks