18 lines
937 B
XML
18 lines
937 B
XML
<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata">
|
|
<!--
|
|
NativeAOT runtime directives.
|
|
1. MongoDB.Bson: preserve all serializer constructors used via reflection.
|
|
2. Htmx.ApiDemo: preserve constructors of Query/Command types so that
|
|
the runtime RequestDelegateFactory can bind [AsParameters] parameters.
|
|
3. Microsoft.Extensions.Primitives: preserve StringValues coercion operators
|
|
used by RequestDelegateFactory expression trees (StringValues → string).
|
|
4. System.Private.CoreLib primitive types: preserve TryParse methods used
|
|
by RequestDelegateFactory to bind route/query values.
|
|
-->
|
|
<Application>
|
|
<Assembly Name="MongoDB.Bson" Dynamic="Required All" />
|
|
<Assembly Name="Htmx.ApiDemo" Dynamic="Required All" />
|
|
<Assembly Name="Microsoft.Extensions.Primitives" Dynamic="Required All" />
|
|
</Application>
|
|
</Directives>
|