---
id: fast-foundation.containerconfiguration.defaultresolver
title: ContainerConfiguration.defaultResolver() method
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [ContainerConfiguration](./fast-foundation.containerconfiguration.md) &gt; [defaultResolver](./fast-foundation.containerconfiguration.defaultresolver.md)

## ContainerConfiguration.defaultResolver() method

Gets the default resolver to use during auto-registration.

<b>Signature:</b>

```typescript
defaultResolver(key: Key, handler: Container): Resolver;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  key | [Key](./fast-foundation.key.md) | The key to register the dependency with. |
|  handler | [Container](./fast-foundation.container.md) | The container that is handling the auto-registration request. |

<b>Returns:</b>

[Resolver](./fast-foundation.resolver.md)
