---
title: "RuntimeConfiguration.ReadValues method"
canonical: https://isoplane.dev/docs/reference/sdk/Isoplane.Sdk/Isoplane/RuntimeConfiguration/ReadValues
---

# RuntimeConfiguration.ReadValues method

Reads the application's settings.

```csharp
public static IReadOnlyDictionary<string, string> ReadValues()
```

## Return Value

The settings by name. Names use ASP.NET's form, `Section:Key`, and are matched ignoring case. The dictionary is empty when the application has no settings.

## Remarks

It can be called while the application starts and while it handles a request. A value read in a [`TemplateInitializerAttribute`](https://isoplane.dev/docs/reference/sdk/Isoplane.Sdk/Isoplane/TemplateInitializerAttribute) method and kept in a static field is saved in the template and shared by every instance.

## Examples

```csharp
var settings = RuntimeConfiguration.ReadValues();
var greeting = settings.GetValueOrDefault("Greeting:Default") ?? "world";
```

## See Also

- class [RuntimeConfiguration](https://isoplane.dev/docs/reference/sdk/Isoplane.Sdk/Isoplane/RuntimeConfiguration)
- namespace [Isoplane](https://isoplane.dev/docs/reference/sdk/Isoplane.Sdk)
