What is view engine? What does it actually do?

后端 未结 10 901
名媛妹妹
名媛妹妹 2020-12-13 08:24

I started learning ASP.NET MVC3.

So, while reading tutorials online and in books, I came across this term \"view engine\" quite frequently. I don\'t know

10条回答
  •  甜味超标
    2020-12-13 09:18

    In MVC, View engine is the one that works between your View and browser to provide valid HTML output to your browser by compiling the code inside your View. There are many view engines available and some of them are following:

    1. ASPX

    2. Razor

    3. Spark

    4. NHaml

    5. NDJango

    6. Hasic

    7. Brail

    8. Bellevue

    9. Sharp Tiles

    10. String Template

    11. Wing Beats

    12. SharpDOM

    Currently most developers prefer to use Razor view engine as it provides very convenient way of programming. All of these view engines may not support ASP.NET MVC.

    For more details you can visit this article.

提交回复
热议问题