1

I'm planning to host Asp.Net Core 2 application without IIS on Windows.

The default way to create web host seems to be using WebHost.CreateDefaultBuilder. But what is confusing me is that inside there is a call to the method UseIISIntegration.

Is it ok to use WebHost.CreateDefaultBuilder when hosting Asp.Net Core 2 app without IIS on Windows? Or other options are advisable?

1
  • Yes, you can use WebHost.CreateDefaultBuilder when deploying your application Commented Jan 28, 2019 at 8:36

1 Answer 1

1

Its absolutely fine to use WebHost.CreateDefaultBuilder

As when hosting with IIS it just work as proxy and redirect request to kestrel server.

It doesn't create much of problem.

Take a look at this article here

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.