What is the status of runat=“server” tags in ASP.NET MVC?

前端 未结 4 1815
忘了有多久
忘了有多久 2020-12-16 12:27

Some texts on ASP.NET MVC state that \"there are no runat server tags\", even this MSDN article says this, when, right above that statement there is a code example with a ru

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-16 13:11

    Just read in this tutorial:

    http://www.asp.net/learn/mvc/tutorial-12-cs.aspx

    that you need the

    
    

    to be able to easily define the page title in your views.

提交回复
热议问题