Reference
The rest of the docs explain Awaiten one feature at a time, with the coffee shop as the running example. The reference pages are for looking something up: they list everything in one place, keep explanations short, and link back to the feature page that explains the why.
What is here
| Page | Look here for |
|---|---|
| Attribute reference | Every attribute you put on a container, a module or a domain type, where it goes, its generic and typeof forms, each property with its default, and the enums the attributes take. |
| Runtime API | What you call at run time: the generated Root and Scope, Resolve, TryResolve and ResolveAsync with their overloads, scopes, Owned<T>, external resolvers, registration metadata and the MS.DI bridge. |
| Diagnostics | Every AWT diagnostic, with its severity, an example that triggers it and the fix. Your IDE links each id there. |
| Glossary | The terms the docs use, such as closing, async-tainted, overridable default or composition root, each in a few sentences. |
| Troubleshooting | Problems that are not a single diagnostic: a generator that does not run, a resolve that throws at run time, a service that resolves to an unexpected implementation, and answers to frequently asked questions. |
Find it fast
| You want to know | Go to |
|---|---|
Which options a [Singleton], [Scan] or [Decorate] takes, and their defaults | Registrations |
What [Container] and [Module] can be configured with | Containers and modules |
| Which attributes mark injected properties and parameters | Injection sites |
The values of Lifetime, AsyncSafety, LifetimeSafety, Fallback or ScanAs | Enums |
| Which overload resolves what, and when it throws | Resolving |
What an AWT id means and how to fix it | Diagnostics index |
Why the build does not produce a Root | Troubleshooting: build |
| Why a resolve throws although the build passed | Troubleshooting: run time |
| Whether you can register services at run time or run one container per tenant | Run-time registration, several containers |
| Whether resolution is thread-safe, and how to publish with native AOT | Thread safety, native AOT |
How to keep an AWT warning a warning under TreatWarningsAsErrors | Warnings as errors |
| How the generated code looks | What Awaiten generates |
Elsewhere on the site
- Benchmarks compare Awaiten with other .NET containers on build, resolve and per-request workloads.
- The changelog lists the breaking changes, features and fixes of each release.