Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AddSqlProject

Method
📦 CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects v13.6.1
func (DistributedApplicationBuilder) AddSqlProject(name string) SqlProjectResource

Signature

methodAddSqlProjectbuilder
Adds a SQL Server Database Project resource to the application.
AddSqlProject(name string) SqlProjectResource
namestringName of the resource.
SqlProjectResource

An IResourceBuilder that can be used to further customize the resource.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types:

typeDistributedApplicationBuilder