https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.configuration.configurationextensions.getconnectionstring?view=net-11.0-pp
ConfigurationExtensions.GetConnectionString(IConfiguration, String) Method...
Gets the specified connection string from the specified configuration. Shorthand for GetSection("ConnectionStrings")[name].
stringmethod