Razor segment - code essentials