Rick Strahl saved my day with his post “Making sense of ASP.NET Path” especially the following line:
<script src="<%= Url.Content("~/scripts/new.js") %>" type="text/javascript"></script>
See also
- Quality & Delivery: Testing, Security, Performance, and CI in Mes Recettes
- Inside the Architecture: Patterns, Data Modeling, and Extensibility in Mes Recettes
- Mes Recettes: Building a Modern Recipe Index with Blazor WebAssembly & Supabase
- Exclude TFS DLLs During Publication
- Review of .NET Micro Framework and Gadgeteer at Alt.NET Montreal