21 references to AddJsonFile
Aspire.Hosting (3)
ProjectResourceBuilderExtensions.cs (2)
639configBuilder.AddJsonFile(appSettingsPath, optional: true); 640configBuilder.AddJsonFile(appSettingsEnvironmentPath, optional: true);
src\Shared\SecretsStore.cs (1)
88.AddJsonFile(secretsFilePath, optional: true)
dotnet-user-secrets (1)
Internal\SecretsStore.cs (1)
95.AddJsonFile(_secretsFilePath, optional: true)
IdentitySample.DefaultUI (1)
Startup.cs (1)
26.AddJsonFile($"appsettings.{env.EnvironmentName}.json", optional: true);
IdentitySample.Mvc (1)
Startup.cs (1)
19.AddJsonFile($"appsettings.{env.EnvironmentName}.json", optional: true);
Microsoft.AspNetCore.BrowserTesting (4)
BrowserTestBase.cs (4)
50.AddJsonFile(Path.Combine(basePath, $"playwrightSettings.{os}.json"), optional: true); 54builder.AddJsonFile(Path.Combine(basePath, "playwrightSettings.ci.json"), optional: true) 55.AddJsonFile(Path.Combine(basePath, $"playwrightSettings.ci.{os}.json"), optional: true); 60builder.AddJsonFile(Path.Combine(basePath, "playwrightSettings.debug.json"), optional: true);
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (2)
Utilities\TestEnvironment.cs (2)
16.AddJsonFile("config.json", optional: true) 17.AddJsonFile("config.test.json", optional: true)
SampleStartups (1)
StartupFullControl.cs (1)
20.AddJsonFile("hosting.json", optional: true)
Templates.Blazor.WebAssembly.Auth.Tests (2)
src\Shared\E2ETesting\E2ETestOptions.cs (2)
37builder.AddJsonFile("e2eTestSettings.json", optional: true); 41builder.AddJsonFile("e2eTestSettings.ci.json", optional: true);
Templates.Blazor.WebAssembly.Tests (2)
src\Shared\E2ETesting\E2ETestOptions.cs (2)
37builder.AddJsonFile("e2eTestSettings.json", optional: true); 41builder.AddJsonFile("e2eTestSettings.ci.json", optional: true);
Templates.Mvc.Tests (2)
src\Shared\E2ETesting\E2ETestOptions.cs (2)
37builder.AddJsonFile("e2eTestSettings.json", optional: true); 41builder.AddJsonFile("e2eTestSettings.ci.json", optional: true);
Templates.Tests (2)
src\Shared\E2ETesting\E2ETestOptions.cs (2)
37builder.AddJsonFile("e2eTestSettings.json", optional: true); 41builder.AddJsonFile("e2eTestSettings.ci.json", optional: true);