I have seen the following tag as an answer to a question:
<%: Model.FirstName %>
what does " <%: " do?
Widely considered the apex for professional development in investment management, the CFA designation is valued by employers for roles and functions in every sector of the global finance industry, including portfolio management, analysis, private wealth, and consulting.
You never know what future the markets might hold for you, so the CFA Program offers a good base of knowledge to get you on your way.” The general consensus of most CFA charterholders is that it has paid off in terms of career, knowledge, satisfaction, and end results.
As of May 2022, the average total compensation for charterholders (in the U.S.) is approximately $300,000, according to the CFA® Society. The median base salary for charterholders is approximately $180,000, which leaves the balance to be split between cash bonuses and equity or profit-sharing.
It html encodes the output of Firstname, this prevents encoding attacks like cross-side scripting (XSS).
Html encoded:
<%: Model.FirstName %>
Normal output:
<%= Model.FirstName %>
More info can by found at this blog post:
New <%: %> Syntax for HTML Encoding Output in ASP.NET 4 (and ASP.NET MVC 2)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With