27 references to AddSqlServer
Aspire.Hosting.Azure.Sql (1)
AzureSqlExtensions.cs (1)
164
var sqlContainer = builder.ApplicationBuilder.
AddSqlServer
(azureResource.Name);
Aspire.Hosting.Azure.Tests (3)
AzureBicepResourceTests.cs (3)
67
{ builder => builder.
AddSqlServer
(resourceName).AsAzureSqlDatabase() },
1102
var sql = builder.
AddSqlServer
("sql").AsAzureSqlDatabase();
1196
var sql = builder.
AddSqlServer
("sql").AsAzureSqlDatabase();
Aspire.Hosting.SqlServer.Tests (20)
AddSqlServerTests.cs (13)
20
var sql = appBuilder.
AddSqlServer
("sql");
30
var sql = appBuilder.
AddSqlServer
("sql");
40
appBuilder.
AddSqlServer
("sqlserver");
87
.
AddSqlServer
("sqlserver", pass)
109
.
AddSqlServer
("sqlserver", pass)
129
var sqlServer = builder.
AddSqlServer
("sqlserver");
172
var sqlServer = builder.
AddSqlServer
("sqlserver", pass);
202
var db = builder.
AddSqlServer
("sqlserver1");
213
builder.
AddSqlServer
("sqlserver1")
216
var db = builder.
AddSqlServer
("sqlserver2");
225
var sqlserver1 = builder.
AddSqlServer
("sqlserver1");
242
var db1 = builder.
AddSqlServer
("sqlserver1")
245
var db2 = builder.
AddSqlServer
("sqlserver2")
SqlServerFunctionalTests.cs (5)
34
var resource = builder.
AddSqlServer
("resource")
37
var dependentResource = builder.
AddSqlServer
("dependentresource")
72
var sqlserver = builder.
AddSqlServer
("sqlserver");
137
var sqlserver1 = builder1.
AddSqlServer
("sqlserver");
246
var sqlserver2 = builder2.
AddSqlServer
("sqlserver", passwordParameter2);
SqlServerPublicApiTests.cs (2)
18
var action = () => builder.
AddSqlServer
(name);
101
var SqlServer = builderResource.
AddSqlServer
("SqlServer");
DatabaseMigration.AppHost (1)
Program.cs (1)
6
var db1 = builder.
AddSqlServer
("sql1").AddDatabase("db1");
ParameterEndToEnd.AppHost (1)
Program.cs (1)
18
var db = builder.
AddSqlServer
("sql")
SqlServerEndToEnd.AppHost (1)
Program.cs (1)
11
var sql2 = builder.
AddSqlServer
("sql2")