skip to Main Content

How to test production mode – Asp.net

I've added a bundler to my ASP.NET Core project. Now I'm using the <environment> tag helpers to reference the bundled files in production mode. <environment exclude="Development"> <link rel="stylesheet" href="~/css/site-bundle.min.css" /> <link rel="stylesheet" href="~/css/layout-bundle.min.css" /> </environment> <environment include="Development"> <link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.css"…

VIEW QUESTION
Back To Top
Search