Archive for posts dated '16 January 2020'
-
January 2020
-
Using ClientDependency Filters to manipulate HTML
On a recent Umbraco project, I needed to be able to manipulate the HTML contents before it was sent to the browser. Typically, on Umbraco projects you'd do whatever you need do within Razor templating, but in my case, I had to do after the entire page markup was built. (I won't go into details, as the requirement is specific to my client project.) My initial thought for the solution was using a Request.Filter. I'd…
-