Use Nancy whit Owin and WebForms
I'have modified the nancy official 1.4 sources to esclude from .aspx and other page from pipeline, returning the request postback whitouth delete it.You can try this modify here .
- File modified: Nancy/src/Nancy/Owin/NancyMiddleware.cs
Here te code to apply at line 82:
//Check if the webform is not present inthe path ".aspx" //if present move to next if (owinRequestPath.ToLowerInvariant().Contains(".aspx") || owinRequestPath.ToLowerInvariant().Contains(".asmx") || owinRequestPath.ToLowerInvariant().Contains(".ascx") || owinRequestPath.ToLowerInvariant().Contains(".ashx") || owinRequestPath.ToLowerInvariant().Contains(".asmx") || owinRequestPath.ToLowerInvariant().Contains(".asax") ) return next.Invoke(environment);