dotnet-segregated-assets
.NET Segregated Static Assets
Keep wwwroot as the conventional, tooling-friendly authoring root while making the deployed web application stop serving and shipping its application-owned files. Deployed static content is delivered by Codebelt Static Content Provider (codebeltnet/web-cdn-origin:2.0.0) through a separate asset host, not by the ASP.NET Core business application.
The architecture is:
Razor declares ownership: app-* or cdn-*
Configuration declares location: current application, local segregated origin, or deployed host
web-cdn-origin declares delivery: static content only
Runner boundary
The bundled .NET file-based program scripts/segregate-assets.cs is the deterministic inspection and verification layer. The agent is the orchestration and editing layer: it resolves repository conventions, makes semantic source/configuration edits, and verifies the result. The runner never edits or rewrites Razor, C#, project files, launch profiles, Dockerfiles, Compose, or documentation.
dotnet run --file "<skill-root>/scripts/segregate-assets.cs" -- <command> [options]