DocumentDBVersions
Class static net10.0
String constants and lookup helpers for the DocumentDB versions known to this build of the package.
namespace Aspire.Hosting.ApplicationModel;
public static class DocumentDBVersions{ // ...} 5 members
Remarks
Section titled Remarks Per-version constants (for example
DocumentDBVersions.V0_109_0) are stable strings and may safely be exposed as const. DocumentDBVersions.Latest is intentionally a property — not a const — so consumers re-resolve it after a NuGet upgrade rather than inlining the old value at compile time. Properties2
Section titled PropertiesAllstaticgetIReadOnlyList<string> All DocumentDB versions known to this build of the package, sorted ascending by numeric semantic version. The order of this list is part of the contract:
All[All.Count - 1] is always the newest known version. Lateststaticgetstring The newest DocumentDB version known to this build of the package. This is the version applied by default when no explicit version is selected via
DocumentDBBuilderExtensions.WithDocumentDBVersion. Fields3
Section titled FieldsV0_109_0staticstringDocumentDB version string
0.109.0.V0_110_0staticstringDocumentDB version string
0.110.0.V0_111_0staticstringDocumentDB version string
0.111.0.