dotnet/aspnetcore

If one hosting startup class fails to execute, subsequent hosting startup classes defined in the assembly won't be executed.

Open

#5.902 aberto em 1 de ago. de 2017

Ver no GitHub
 (3 comments) (0 reactions) (0 assignees)C# (10.653 forks)batch import
affected-very-fewarea-hostingarea-networkingbughelp wantedseverity-minor

Métricas do repositório

Stars
 (37.933 stars)
Métricas de merge de PR
 (Mesclagem média 16d 9h) (258 fundiu PRs em 30d)

Description

This should probably have a low priority, because I don't know of any real assemblies that define multiple hosting startup classes.

However, the order of attributes returned by Assembly.GetCustomAttributes<HostingStartupAttribute>() can affect whether or not a hosting startup class gets executed or not. It should also be trivial to fix.

Guia do colaborador