top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

When using razor views, do you have to take any special steps to proctect..?

+4 votes
455 views

When using razor views, do you have to take any special steps to proctect your asp.net mvc application from cross site scripting (XSS) attacks?

posted Jul 31, 2015 by Shivaranjini

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

No, by default content emitted using a @ block is automatically HTML encoded to protect from cross site scripting (XSS) attacks.

answer Aug 4, 2015 by Manikandan J
Similar Questions
+4 votes

When using razor views, do you have to take any special steps to proctect your asp.net mvc application from cross site scripting (XSS) attacks?

+4 votes

When using aspx view engine, to have a consistent look and feel, across all pages of the application, we can make use of asp.net master pages. What is asp.net master pages equivalent, when using razor views?

+3 votes

How to import a namespace in Razor View Page?

...