//Return default.html for unmatched requests so routing is handled on client public object Any(FallbackForClientRoutes request) => new HttpResult(VirtualFileSources.GetFile("index.html"));
public object Any(FallbackForClientRoutes request) { return(defaultHtml ?? (defaultHtml = HostContext.ResolveVirtualFile("/default.html", Request).ReadAllText())); }
public object Any(FallbackForClientRoutes request) { return defaultHtml ?? (defaultHtml = HostContext.ResolveVirtualFile("/default.html", Request).ReadAllText()); }