Curtis Timson

Front End & .NET Developer

Tag

asp.net-mvc

How to store razor helpers globally

ASP.NET MVC Razor helpers are a great way of reducing duplicated code by containing code snippets in a View which can then be called multiple times. <div> @DisplayGreeting(“Curtis”) </div> @helper DisplayGreeting(string name) { <span>Hello @name</span> } However what if you… Continue Reading →

What is cache busting?

A cache-buster is a unique string which is appended to a URL in the form of a query string. It is generally not read by the server-side and is used purely to form a unique URL. For example: /Scripts/foo.js?v=1 This… Continue Reading →

© 2017 Curtis Timson — Powered by WordPress

Theme by Anders NorenUp ↑