How do I get over my fears of <% %> in my ASP.Net MVC markup?

后端 未结 12 1896
轻奢々
轻奢々 2021-02-04 07:40

So I totally buy into the basic tenents of ASP.NET, testability, SoC, HTML control...it\'s awesome. However being new to it I have a huge hang up with the markup. I know it co

12条回答
  •  被撕碎了的回忆
    2021-02-04 08:04

    If you're talking about the HTML from rendered controls, I'm afraid it doesn't get any better just because you've got a nice standards-based wrapper around your View in MVC. Without adapted controls, the output is still circa-1995 crappy nested table code.

    Thanks, Microsoft!

提交回复
热议问题