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

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

    I would look at some of the other View engines available, I personally really like Spark view engine but there are many others out there.

    Scott Hanselman did a great post looking at spark and Nhaml with some snippets of markup that you can look at to see if it fits your asthetics :)

    http://www.hanselman.com/blog/TheWeeklySourceCode30SparkAndNHamlCrazyASPNETMVCViewEngines.aspx

提交回复
热议问题