InterviewSolution
| 1. |
What Is The Purpose Of Webhostbuilder() Function? |
|
Answer» It is use to build up the HTTP pipeline VIA webHostBuilder.Use() chaining it all together with WebHostBuilder.Build() by USING the builder PATTERN. It is available within the Microsoft.AspNet.Hosting namespace.The purpose of the Build method is to build the required services and a Microsoft.AspNetCore.Hosting.IWebHost which hosts a WEB application. It is use to build up the HTTP pipeline via webHostBuilder.Use() chaining it all together with WebHostBuilder.Build() by using the builder pattern. It is available within the Microsoft.AspNet.Hosting namespace.The purpose of the Build method is to build the required services and a Microsoft.AspNetCore.Hosting.IWebHost which hosts a web application. |
|