Binding Error with _@ character combination.

Oct 12, 2016 at 3:03 PM
I am getting a binding error when attempting to bind a razor template that has an email address in it using the following structure:

The email address itself is a valid one, but the RazorEngine is throwing an exception saying "somewhere" does not exist in the model. It appears the underscore character just before the @ symbol in the email address is causing it to think @somewhere is an attempt to bind to a model property. Does anyone know of a way around this?