You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note:
Multiple calls to UseOwin is discouraged for performance reasons. OWIN components will operate best if grouped together.
Does this mean that the following code is not a good idea? If so, why and what should it be instead? It's not obvious to me that this would be slower than some other structure, but maybe the comment is referring to something else.
app.Map("/a", a =>a.UseOwin(pipeline =>pipeline(next =>HandleA)));app.Map("/b", a =>a.UseOwin(pipeline =>pipeline(next =>HandleB)));
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
In https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/fundamentals/owin.md, there is a comment that says:
Does this mean that the following code is not a good idea? If so, why and what should it be instead? It's not obvious to me that this would be slower than some other structure, but maybe the comment is referring to something else.
Beta Was this translation helpful? Give feedback.
All reactions