Is there any way to Apply OWIN side by side of ASP.NET Core pipeline?
I have moved my old ASP.NET to Core and I have some middlewares written with OWIN and I was wondering if I could be able to move all of my logics to Core one without changing a single line of Code!
my plan is having old OWIN middleware besides my new ASP core middlewares
this is a way I had implemented my OWIN middlewares
public class MyMiddleware : OwinMiddleware
{
public MyMiddleware(OwinMiddleware next)
: base(next)
{
}
public async override Task Invoke(IOwinContext context)
{
await Next.Invoke(context);
}
}
Thanks in advance!