Variants
Choose the SDK variant that matches your project type:
See Variants for detailed configuration per variant.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
ANcpLua.NET.Sdk features and configuration options.
| SDK | Project Type |
|---|---|
ANcpLua.NET.Sdk | Class libraries, Console apps, Workers |
ANcpLua.NET.Sdk.Web | ASP.NET Core APIs |
ANcpLua.NET.Sdk.Test | xUnit v3 test projects |
| Feature | Description |
|---|---|
| Banned APIs | Prevents legacy API usage |
| Analyzers | Code quality rules |
| Guard clauses | Throw.IfNull() and similar |
| Polyfills | Modern syntax for netstandard2.0 |
| Nullable | Enabled by default |
| LangVersion | latest |
| Feature | Description |
|---|---|
| OpenTelemetry | Logging, metrics, tracing |
| Auto-instrumentation | GenAI (OpenAI, Anthropic) and database (ADO.NET) spans |
| Health endpoints | /health, /alive |
| HTTP resilience | Polly integration |
| DevLogs | Browser → server logging |
| Feature | Description |
|---|---|
| xUnit v3 | With Microsoft Testing Platform |
| Coverage | Built-in collection |
| FakeLogger | Opt-in test logger |
<PropertyGroup>
<InjectSourceGenHelpers>true</InjectSourceGenHelpers>
<InjectFakeLogger>true</InjectFakeLogger>
<InjectLockPolyfill>true</InjectLockPolyfill>
<InjectTimeProviderPolyfill>true</InjectTimeProviderPolyfill>
</PropertyGroup>
<PropertyGroup>
<AutoRegisterServiceDefaults>false</AutoRegisterServiceDefaults>
<GenerateClaudeMd>false</GenerateClaudeMd>
<InjectSharedThrow>false</InjectSharedThrow>
<IncludeDefaultBannedSymbols>false</IncludeDefaultBannedSymbols>
</PropertyGroup>
Was this page helpful?
