Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,16 @@ public class Startup
}
```

* `BuildHost` method

> **NOTE**: If this method signature is not found, the host is built by simply calling `hostBuilder.Build();`.
```C#
public class Startup
{
public IHost BuildHost([IHostBuilder hostBuilder]) { return hostBuilder.Build(); }
}
```

* `Configure` method

Anything defined in `ConfigureServices`, can be specified in the `Configure` method signature. These services are injected if they're available.
Expand Down