Thanks in advance.
Petrhaus.
Although that could prevent some of the obvious attacks, I don't think
you'll ever be able to say all possible ways of reversing code back
into the output have been eliminated. When it comes right down to it
that sounds like a matter of creating an interpreted pseudo-language
to use in your views instead of csharp.
Not that it's practical to do that. :) Just saying once you allow
users to edit web app files anything in-between is a compromise that's
not provably secure.