First time using razor, basically using a wpf application and using the webbrowser inside it I am sending the file and the object into the razor.parse like this
strSource = RazorEngine.Razor.Parse(IO.File.ReadAllText("C:!BL\projects\WpfApplication1\WpfApplication1\AdminOrderNotification.vbhtml"), header)
Then Im opening the webbrowser.navigate to that source and it doesnt recognize the @Code statments.
It does however recognize the contents of the model, e.g
What am I doing wrong?