Make StartupAnalysisBuilder-based analyzers work with WebApplicationBuilder #34404
Labels
area-minimal
Includes minimal APIs, endpoint filters, parameter binding, request delegate generator etc
feature-minimal-hosting
Priority:2
Work that is important, but not critical for the release
Milestone
Today we have analyzers that warn for various misconfigurations of middleware, options and service registration all based on StartupAnalysisBuilder. We should make this work for applications using WebApplicationBuilder without a
Startup
class.This is related to #34146. We want to address that with a new analyzer to verify middleware ordering for WebApplicationBuilder now that UseRouting()/UseEndpoints() is often implicit.
The text was updated successfully, but these errors were encountered: