We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@jtkech maybe this issue due to #14801
But, when I run my app now I get this error
middleware must be in execution pipeline before UseRouting to 'Configure(...)' in the application startup code.
I am using IStartupFilter
IStartupFilter
services.AddSingleton<IStartupFilter, DetectionStartupFilter>();
public class DetectionStartupFilter : IStartupFilter { public Action<IApplicationBuilder> Configure(Action<IApplicationBuilder> next) { return app => { app.UseDetection(); next(app); }; } }
The error is thrown here https://github.com/wangkanai/wangkanai/blob/2abff4ffcaf15a024b2c0705c941fb9353f2205d/Hosting/src/DependencyInjection/ApplicationBuilderExtensions.cs#L36
The text was updated successfully, but these errors were encountered:
@jtkech I think configure(builder); should be called before await ConfigurePipelineAsync(builder); for this to work.
configure(builder);
await ConfigurePipelineAsync(builder);
OrchardCore/src/OrchardCore/OrchardCore/Modules/Extensions/ShellPipelineExtensions.cs
Lines 61 to 63 in ed99129
Sorry, something went wrong.
Call IStartupFilter.Configure method before Configure Pipeline
648add2
Fix #14829
Yes, my bad
Successfully merging a pull request may close this issue.
@jtkech maybe this issue due to #14801
But, when I run my app now I get this error
I am using
IStartupFilter
The error is thrown here https://github.com/wangkanai/wangkanai/blob/2abff4ffcaf15a024b2c0705c941fb9353f2205d/Hosting/src/DependencyInjection/ApplicationBuilderExtensions.cs#L36
The text was updated successfully, but these errors were encountered: