“if” considered harmful in ASP.NET MVC View (.aspx) files?

后端 未结 7 1190
孤城傲影
孤城傲影 2021-02-10 05:47

I remember seeing a blog (or something) that said you should not use <% if ... %> in .aspx files in ASP.NET MVC, but I can\'t remember what it said the alternative is. Can a

7条回答
  •  无人共我
    2021-02-10 06:11

    I'm not sure if this is what you saw, but here is a blog that mentions it. See item #11.

提交回复
热议问题