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