R
R
Roman Rakzin2017-02-26 20:33:37
ASP.NET
Roman Rakzin, 2017-02-26 20:33:37

How to disable the Razor engine at a specific location in a file?

You need to escape the characters {{}} and @ at a certain place in the file and tell the Razor engine not to react to them.
How to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Rakzin, 2017-02-26
@TwoRS

Looks like I found this option. If anyone else knows, please write.
@Html.Raw("My text{{Notfall_Param1_1}}")

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question