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

后端 未结 12 1894
轻奢々
轻奢々 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:11

    If you press ctrl+z after it formats it just undoes the formatting and not the typing.

    I find this helpful to keep the first bracket on the same line as the if statement

提交回复
热议问题