- Copy
css/,js/andimages/intowwwroot/odinadmin/. - Turn any page into
Views/Shared/_Layout.cshtml: keep the shell and put@RenderBody()inside.content. - Link the files with
~/paths, and let ASP.NET add a version for you:<link rel="stylesheet" href="~/odinadmin/css/style.css" asp-append-version="true" /> <script src="~/odinadmin/js/app.js" asp-append-version="true"></script> - Move the sidebar into a partial view (
<partial name="_Sidebar" />) and mark the current link from the route.
Page scripts go in @section Scripts { … }, rendered after app.js with @RenderSection("Scripts", required: false).