Skip to content

Update Kestrel configuration sections#10344

Merged
guardrex merged 1 commit intomasterfrom
guardrex/kestrel-config
Jan 11, 2019
Merged

Update Kestrel configuration sections#10344
guardrex merged 1 commit intomasterfrom
guardrex/kestrel-config

Conversation

@guardrex
Copy link
Copy Markdown
Collaborator

Fixes #10343

Including a code sample should help, so I add one to the migration and Kestrel topics. Let me know if you would like to add more detail. This doesn't get into the weeds on why, which might be ok.

@guardrex guardrex requested a review from jkotalik January 11, 2019 22:45
@guardrex guardrex force-pushed the guardrex/kestrel-config branch from cd159d8 to 734564e Compare January 11, 2019 22:46
Update date

Change section heading
@guardrex guardrex force-pushed the guardrex/kestrel-config branch from 3850c84 to 52b50b0 Compare January 11, 2019 22:48
});
```

If the app doesn't call `CreateDefaultBuilder`, call <xref:Microsoft.AspNetCore.Hosting.WebHostBuilderKestrelExtensions.UseKestrel*> **before** calling `ConfigureKestrel`:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think you need a code sample. I think just saying:

If the app doesn't call CreateDefaultBuilder, UseKestrel xref:Microsoft.AspNetCore.Hosting.WebHostBuilderKestrelExtensions.UseKestrel* still needs to be called, and should be before calling ConfigureKestrel.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't think

I picture code sample is worth a thousand words. 😄

I'll strike it, of course, if you like. There's no harm tho.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The current text says what you just said without colloquial language ("still") and avoids the state verb ("be").

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haha okay keep it 😄 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants