Skip to content

Nuget namespaces for aspire component. #1543

Answered by eerhardt
tomohisa asked this question in Q&A
Discussion options

You must be logged in to vote

From a technical perspective, there isn't anything special about Aspire Component packages - at least nothing you can't do yourself. They don't depend on "Aspire-specific" things, but instead just depend on existing concepts like:

  • Microsoft.Extensions.Hosting.Abstractions
  • OpenTelemetry (for example, OpenTelemetry.Extensions.Hosting)
  • HealthChecks (if necessary)

In your situation, I would think you wouldn't even need to create a new NuGet package, but instead you could just add this builder.AddAzureCosmosDB("SekibanCosmos"); extension method to your existing Sekiban.Infrastructure.Cosmos NuGet package.

To answer the general question, yes the Aspire.* namespace is reserved for "official" A…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@tomohisa
Comment options

Answer selected by tomohisa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants