4 implementations of GetSection
Microsoft.AspNetCore.Components.WebAssembly (1)
Microsoft.Extensions.Configuration (3)
230 references to GetSection
Aspire.Azure.AI.OpenAI (5)
Aspire.Azure.Data.Tables (5)
Aspire.Azure.Messaging.EventHubs (5)
Aspire.Azure.Messaging.ServiceBus (5)
Aspire.Azure.Messaging.WebPubSub (5)
Aspire.Azure.Search.Documents (5)
Aspire.Azure.Security.KeyVault (7)
Aspire.Azure.Storage.Blobs (5)
Aspire.Azure.Storage.Queues (5)
Aspire.Confluent.Kafka (8)
Aspire.Dashboard (1)
Aspire.Elastic.Clients.Elasticsearch (2)
Aspire.Hosting (2)
Aspire.Hosting.Azure (2)
Aspire.Microsoft.Azure.Cosmos (2)
Aspire.Microsoft.Data.SqlClient (2)
Aspire.Microsoft.EntityFrameworkCore.Cosmos (2)
Aspire.Microsoft.EntityFrameworkCore.SqlServer (2)
Aspire.Milvus.Client (2)
Aspire.MongoDB.Driver (2)
Aspire.MySqlConnector (2)
Aspire.NATS.Net (2)
Aspire.Npgsql (2)
Aspire.Npgsql.EntityFrameworkCore.PostgreSQL (2)
Aspire.OpenAI (4)
Aspire.Oracle.EntityFrameworkCore (2)
Aspire.Pomelo.EntityFrameworkCore.MySql (2)
Aspire.Qdrant.Client (2)
Aspire.RabbitMQ.Client (4)
Aspire.Seq (2)
Aspire.StackExchange.Redis (3)
dotnet-user-jwts (1)
Kestrel.SampleApp (1)
Microsoft.AspNetCore (2)
Microsoft.AspNetCore.Authentication (2)
Microsoft.AspNetCore.Authentication.JwtBearer (3)
Microsoft.AspNetCore.Authentication.OpenIdConnect (4)
Microsoft.AspNetCore.BrowserTesting (10)
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (2)
Microsoft.AspNetCore.HeaderParsing.Tests (1)
Microsoft.AspNetCore.Hosting.Tests (1)
Microsoft.AspNetCore.Server.Kestrel.Core (9)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (4)
Microsoft.AspNetCore.Server.Kestrel.Tests (14)
KestrelConfigurationLoaderTests.cs (14)
50mockConfig.Setup(c => c.GetSection(It.IsAny<string>())).Returns<string>(currentConfig.GetSection);
1586mockConfig.Verify(c => c.GetSection(It.IsAny<string>()), Times.AtLeastOnce);
1593mockConfig.Verify(c => c.GetSection(It.IsAny<string>()), Times.Never);
1618mockConfig.Verify(c => c.GetSection(It.IsAny<string>()), Times.AtLeastOnce);
1636mockConfig.Verify(c => c.GetSection(It.IsAny<string>()), Times.AtLeastOnce);
1655mockConfig.Verify(c => c.GetSection(It.IsAny<string>()), Times.AtLeastOnce);
1667mockConfig.Verify(c => c.GetSection(It.IsAny<string>()), reloadTimes);
1680mockConfig.Verify(c => c.GetSection(It.IsAny<string>()), Times.AtLeastOnce);
1692mockConfig.Verify(c => c.GetSection(It.IsAny<string>()), Times.Never);
1706mockConfig.Verify(c => c.GetSection(It.IsAny<string>()), Times.AtLeastOnce);
1716mockConfig.Verify(c => c.GetSection(It.IsAny<string>()), Times.AtLeastOnce);
1791mockConfig.Verify(c => c.GetSection(It.IsNotIn("EndpointDefaults")), Times.Never); // It does read the EndpointDefaults sections
1800mockConfig.Verify(c => c.GetSection(It.IsAny<string>()), Times.AtLeastOnce); // Still need to load, even if endpoints have been processed
Microsoft.AspNetCore.SpaProxy (1)
Microsoft.Extensions.AmbientMetadata.Application (1)
Microsoft.Extensions.AmbientMetadata.Application.Tests (4)
Microsoft.Extensions.Compliance.Redaction.Tests (1)
Microsoft.Extensions.Compliance.Testing.Tests (1)
Microsoft.Extensions.Configuration (3)
Microsoft.Extensions.Configuration.Abstractions (2)
Microsoft.Extensions.Configuration.Binder (5)
Microsoft.Extensions.Configuration.KeyPerFile.Tests (8)
Microsoft.Extensions.Diagnostics (4)
Microsoft.Extensions.Diagnostics.HealthChecks.Common.Tests (1)
Microsoft.Extensions.Diagnostics.Probes.Tests (3)
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (4)
Microsoft.Extensions.Diagnostics.Testing.Tests (1)
Microsoft.Extensions.Hosting (2)
Microsoft.Extensions.Http.Diagnostics.Tests (2)
Microsoft.Extensions.Http.Resilience.Tests (12)
Microsoft.Extensions.Logging.AzureAppServices (3)
Microsoft.Extensions.Logging.Configuration (3)
Microsoft.Extensions.Logging.Console (2)
Microsoft.Extensions.ObjectPool.DependencyInjection.Tests (2)
Microsoft.Extensions.Options.ConfigurationExtensions (1)
Microsoft.Extensions.ServiceDiscovery (4)
Microsoft.Extensions.Telemetry.Tests (4)
SignalRSamples (1)