Good news - I think we'll be getting this to work in Katana 1.1 - it
helps a lot if you want to write things like authn middleware.
On Feb 20, 1:40 pm, Louis DeJardin <
lodej...@microsoft.com> wrote:
> It would only be possible if your owin pipeline was (a) called from an HttpModule and (b) ran in its entirety before the event that the routing module hooks. But yeah, could be done, if the response is unaltered the rest of the request handling would occur as if nothing happened.
>
> From:
net-http-a...@googlegroups.com [mailto:
net-http-a...@googlegroups.com] On Behalf Of Chris R
> Sent: Monday, February 18, 2013 8:57 AM
> To:
net-http-a...@googlegroups.com
> Subject: RE: Katana and
ASP.NET MVC together
>
> Not to my knowledge, though if someone knows more about Asp.Net routing please pipe in here. The more fundamental question is can you do route fail-over with any existing components? The only means I've seen is via client or server side redirects (RedirectToRoute). If there is no infrastructure for other HttpHandlers to do fail-over, then OwinHttpHandler can't do it either.
>
> ________________________________
> Date: Mon, 18 Feb 2013 03:11:00 -0800
> From:
yog...@alebo.de<mailto:
yog...@alebo.de>
> To:
net-http-a...@googlegroups.com<mailto:
net-http-a...@googlegroups.com>
> Subject: Re: Katana and
ASP.NET MVC together
>
> Would this be technically possible though? Could the OwinHttpHandler be modified to support fail-over? From my point of view this would make the integration with existing applications much easier.
>
> Am Donnerstag, 7. Februar 2013 20:12:56 UTC+1 schrieb Chris Ross:
> OWIN can co-exist with MVC via the Asp.Net routing table, but there is no fail-over option.
http://katanaproject.codeplex.com/SourceControl/changeset/view/98f457...
>
> owin:HandleAllRequests is the opposite of co-existing.
> ________________________________
> Date: Thu, 7 Feb 2013 08:57:25 -0800
> From:
yog...@alebo.de<mailto:
yog...@alebo.de>
> To:
net-http-a...@googlegroups.com<mailto:
net-http-a...@googlegroups.com>
> Subject: Katana and
ASP.NET<
http://ASP.NET> MVC together
> I am searching for a way to integrate OWIN via Katana into an existing
ASP.NET<
http://ASP.NET> MVC project.
>
> I already played around with the configuration option "owin:HandleAllRequests", but had no success. When a request comes in I want it to be handled by the part of the application which uses owin first. If it cannot be handled by the OWIN part, it should be processed by
ASP.NET<
http://ASP.NET> MVC. Is there any way to do this with Katana?
>
> Thanks in advance.
>
> --
> You received this message because you are subscribed to the Google Groups ".NET HTTP Abstractions" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
net-http-abstrac...@googlegroups.com<mailto:
net-http-abstrac...@googlegroups.com>.
> For more options, visithttps://
groups.google.com/groups/opt_out.
>
> --
> You received this message because you are subscribed to the Google Groups ".NET HTTP Abstractions" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
net-http-abstrac...@googlegroups.com<mailto:
net-http-abstrac...@googlegroups.com>.
> For more options, visithttps://
groups.google.com/groups/opt_out.