I want to use routing for all incomming calls to my server and then only use the routing on some of these (depending on values in my database).
I know how routing is done, what I don't know is how to abort routing inside my IRouteHandler.
ex
if (routing)
{
// do routing
var page = BuildManager.CreateInstanceFromVirtualPath(VirtualPath, typeof(IHttpHandler)) as IHttpHandler;
return page;
}
else
{
// proceed as if no routing has been made
}