更新时间:2023-08-28 22:45:58
Well a potential is that RewritePath to / has some sort of bug, so just avoid that. Changing the RewritePath(Request.ApplicationPath) to:
HttpContext.Current.RewritePath("/Home/Index");
Seems to fix the problem, and at least the demo works so far.