Closed onyxmaster closed 7 years ago
Good catch. We used to have the developer exception page middleware added by default in a development environment by adding a startup filter but that was removed in https://github.com/aspnet/MetaPackages/pull/95. However, we neglected to update the documentation to reflect the removal.
Hi! The documentation comment mentions that
CreateDefaultBuilder(string[] args)
"adds the developer exception page when IHostingEnvironment.EnvironmentName is 'Development'". If I understand correctly, this is usually done byStartup.Configure(IApplicationBuilder)
. I believe this documentation comment should be improved.