DocumentDBVersions
Classstaticnet10.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{ // ...}9 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 PropertiesIReadOnlyList<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. string 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 . Fields7
Section titled FieldsView all fields