I am using System.Web.Optimization for Bundling and Minification in ASP.NET Web Form. Now I want to render all styles inline instead of refer into a single file after bundling.
Here I got a solution for ASP.NET MVC
https://codeshare.co.uk/blog/how-to-inline-css-and-javascript-bundles-in-mvc/
But I want to do it in Web Form.
Here I got a solution for ASP.NET MVC
https://codeshare.co.uk/blog/how-to-inline-css-and-javascript-bundles-in-mvc/
But I want to do it in Web Form.


Disha RavalRank #1,382 · 1.2K reputationPosted Jun 8, 2018, 1:06 AM EDT
Disha RavalRank #1,382 · 1.2K reputationPosted Jun 8, 2018, 12:36 AM EDT
Praveen KumarRank #395 · 6.4K reputationPosted Jun 8, 2018, 12:54 AM EDT
Let suppose, I have 2 stylesheets.
1. ~/css/first.css
and by using bundling I am combining these css files into a single file at runtime by providing some virtual path like /css/css_bundle
Praveen KumarRank #395 · 6.4K reputationPosted Jun 8, 2018, 2:28 AM EDT