I have .Net 6 server side Blazor application. On razor page I have two routes for the page. @page "/empployee" as default and @page "/empployee/{Page:int}" for pagination.
@page "/empployee"@page "/empployee/{Page:int}"It's working all well (with switching between pages) untill I refresh browser when I am on /empployee/{Page:int} route. After refresh my css, images and some component do not load.Refreshing browser on /empployee works fine.I tried removing @page "/empployee" and making default page "/empployee/1". Then even on first load, it gives same problem on default page too. I tried changing iamges source path with "~/folderName". Still no change. Not sure how page cycle works and what's going wrong.