As a follow up to #38509, we should add a startup analyzer that recommends ordering UseStatusCodePages after UseRouting . This is somewhat contingent on #38590 being done as we really don't want this analysis to start appearing for apps targeting .net6 or earlier (which is what would happen if we add new rules to the ones shipping via the SDK).
As a follow up to #38509, we should add a startup analyzer that recommends ordering
UseStatusCodePagesafterUseRouting. This is somewhat contingent on #38590 being done as we really don't want this analysis to start appearing for apps targeting .net6 or earlier (which is what would happen if we add new rules to the ones shipping via the SDK).