ASP.NET MVC reminds me of old Classic ASP spaghetti code

后端 未结 14 825
借酒劲吻你
借酒劲吻你 2020-12-24 07:50

I just went through some MVC tutorials after checking this site out for a while. Is it just me, or does MVC View pages bring back HORRIBLE flashbacks of Classic ASP spaghet

14条回答
  •  滥情空心
    2020-12-24 08:48

    If you don't like the default View engine, you can use another one.

    As per Scott Guthrie's blog:

    One of the things the team has done with ASP.NET MVC is to make sure you can use any type of "view engine" you want with it. This provides a lot of flexibility to customize the rendering engine however you want.

    We are going to be investigating some more declartive view engines in the future - although nothing specifically planned just yet.

    Examples of alternative View engines are NHaml discussed here, Spark discussed here and NVelocity discussed here.

提交回复
热议问题