KestrunHost.AddService method
Adds a service configuration action to the service queue. This action will be executed when the services are built.
public KestrunHost AddService(Action<IServiceCollection> configure)
| parameter | description |
|---|---|
| configure | The service configuration action. |
Return Value
The current KestrunHost instance.
See Also
- class KestrunHost
- namespace Kestrun.Hosting