Standard HTML editing tools don't parse Razor; designers delete my code. How to solve this?
-
29-09-2019 - |
Question
I'm setting up a proof-of-concept site and it seems that standard web design software doesn't hide the Razor syntax (which isn't a suprise). What does bother me is that my overzealous designers will delete these code blocks and replace it with Lorem Ipsum text.
This worked fine with the ASPX syntax, since the angle brackets hid my code, but now the Razor format seems to be causing more trouble than it's worth.
Is anyone using Razor in a similar environment (1 or more devs, 1 or more designers)?
What does Microsoft expect from Razor in regard to web designers?
Solution
In my opinion, the best way to handle this is to sit down with the designers and show them the razor syntax. These days, designers and programmers really need to work together on web apps, being ignorant of each others roles is not the best scenario.