dotnet/aspnetcore

Detect IIS in-proc from UseKestrel

オープン

#13,145 opened on 2019/08/14

 (4 件のコメント) (0 件のリアクション) (0 人の担当者)C# (10,653 件のフォーク)batch import
affected-very-fewarea-networkingenhancementhelp wantedseverity-nice-to-have

Repository metrics

Stars
 (37,933 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Today, if you call UseIIS and UseKestrel, we detect this case and if you're running in-proc we throw. We should consider moving this check in to kestrel itself. The layering isn't the cleanest but it's not a big deal to check if the process name is w3wp in UseKestrel. https://github.com/aspnet/AspNetCore/issues/12944 appears to be a customer getting into this situation.

We should also provide an override option for when you really know that you want to use Kestrel inside w3wp.

コントリビューターガイド