# 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

<!-- . . .

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>


. . .