Replies: 2 comments 4 replies
-
Looks great so far! Will this be springboarding off of existing Aspire CosmosDB support with regards to orchestration? For example, would AppHost.Program contain code similar to: var cosmosdb = builder.AddAzureCosmosDB("cdb")
.AddDatabase("cosmosdb");
IResourceBuilder<ProjectResource> apiService = builder
.AddProject<Projects.AspireSample_ApiService>("apiservice")
.WithReference(cosmosdb); What help, if any, could you use? |
Beta Was this translation helpful? Give feedback.
-
One thing that would be amazing is more obvious support for abstract types - including as aggregate roots for the repositories - (with discriminator based polymorphic deserialization and the like). Assume that people are going to want to do this and support it out of the box with very low (or no) additional effort beyond adding System.Text.Json polymorphic serialization attributes or contracts. Offer easy to use extensibility points for taking control of the serialization. Disable strict type checking by default and cover it all in depth in the docs. |
Beta Was this translation helpful? Give feedback.
-
We'd love to look into making a .NET Aspire component based on this package and there are a couple of things we'd like to tackle and a couple of aims of a re-write, these are listed below, but we'd love for you to add some more requests onto this issue via the comments.
Checkout the branch so far and feel free to provide some feedback.
Essentials 🛒
System.Text.Json
serializers by defaultCosmosClient
to allow people to re-use the configured instance where requiredFeedback 🙏
Beta Was this translation helpful? Give feedback.
All reactions