Mark Coleman

Using gulp-inject

Replacing cassette bundle helpers

Previously on this series I showed how we could use gulp-preprocess to remove the server rendered tags from our aspx page. Next up on the list is how can we remove the cassette bundle helpers. First thing is we need to do is find the equivalent gulp-inject syntax.

Cassette

@Bundles.RenderScripts()

gulp-inject

<!-- . . .

Read More

November 24, 2015

Removing server side scripts, gulp-preprocess

Sometimes you need to process first

Problem, we want to remove server side asp.net scripts from our aspx page and covert them to plain html.

Old Way

In our old index.aspx page we had a few server rendered scripts for example a simple welcome message that is set by some method in code behind.

<h1><%:WelcomeMessage%></h1>

. . .

Read More

Posted in: gulp

November 23, 2015

This update link alerts you to new Silvrback admin blog posts. A green bubble beside the link indicates a new post. Click the link to the admin blog and the bubble disappears.

Got It!