Jeremy Davis
Jeremy Davis
Sitecore, C# and web development
Page printed from: https://blog.jermdavis.dev/tags/razor

Posts tagged Razor

Messing up your page layout with a fun Razor mistake

If you use C# code in your Razor, think about how views work

Sometimes it's the simplest things that can trip up development work. A case in point is a bug ticket I got handed recently, which I think shows the need to understand your tools when writing code. Read on to avoid an interesting mistake with code flow in Razor views...

MVC Razor C# .Net ~2 min. read