Difference between ihost vs ihostbuilder vs ihostedservice?
Loading
Difference between ihost vs ihostbuilder vs ihostedservice?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rajeev KumarPosted Mar 3, 2023, 7:13 AM
IWebHost: The web host is the general thing that hosts and runs your web application. It gets created when your application starts up, and then it will construct all the necessary pieces, like the Kestrel web server, the application middleware pipeline, and all the other bits, and connects them, so that your application is ready to serve your requests.The web host builder is basically a factory to create a web host. It is the thing that constructs the web host but also configures all the necessay bits the web host needs to determine how to run the web application.
Alkesh BijarniyaPosted Sep 23, 2022, 6:08 AM
https://learn.microsoft.com/en-us/dotnet/core/extensions/generic-host