Skip to content
This repository has been archived by the owner on Dec 19, 2018. It is now read-only.

Adding IApplicationLifetime to the manifest #176

Merged
merged 2 commits into from
Mar 5, 2015
Merged

Adding IApplicationLifetime to the manifest #176

merged 2 commits into from
Mar 5, 2015

Conversation

Praburaj
Copy link
Contributor

@Praburaj Praburaj commented Mar 4, 2015

Since IApplicationLifetime is not added to the manifest, while calling HostingServices.Create() before invoking ConfigureServices() we end up creating a new instance of IApplicationLifetime. So the Cancellationtoken that hosting triggers on appshutdown is different from what the app is exposed.

Fixes: #151

@HaoK @davidfowl

Since IApplicationLifetime is not added to the manifest, while calling HostingServices.Create() before invoking ConfigureServices() we end up creating a new instance of IApplicationLifetime. So the Cancellationtoken that hosting triggers on appshutdown is different from what the app is exposed.
@ghost ghost added the cla-not-required label Mar 4, 2015
@HaoK
Copy link
Member

HaoK commented Mar 4, 2015

Can you also add ILogger<> as part of updating the manifest, see this b510370

I didn't mean to back this change out when I was rolling back changes

@Praburaj
Copy link
Contributor Author

Praburaj commented Mar 4, 2015

@HaoK - done

@HaoK
Copy link
Member

HaoK commented Mar 5, 2015

:shipit:

@Praburaj Praburaj merged commit 2af7332 into aspnet:dev Mar 5, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants