-
Notifications
You must be signed in to change notification settings - Fork 715
Closed
Labels
area-app-modelIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplicationIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication
Milestone
Description
There are several variations of database server resources modeled within .NET Aspire. Many of the APIs that exist support chaining from a container/server resource to add a database. The AddDatabase extension lights up for these resource types. Consider the following names:
- SQL:
AddSqlServerandAddDatabase - MySQL:
AddMySqlandAddDatabase - Postgres:
AddPostgresandAddDatabase - MongoDB:
AddMongoDBandAddDatabase
Currently, this API stands out as the AddOracleDatabase adds the server resource as a container but not a database as the name might imply:
- Oracle:
AddOracleDatabaseandAddDatabase
For the sake of consistency, I propose a rename API as follows:
- Oracle:
AddOracleandAddDatabase
-IResourceBuilder<OracleDatabaseServerResource> AddOracleDatabase
+IResourceBuilder<OracleDatabaseServerResource> AddOracleMetadata
Metadata
Assignees
Labels
area-app-modelIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplicationIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication