ContentPlaceHolder in Razor?

前端 未结 2 741
长发绾君心
长发绾君心 2020-12-05 12:49

I can use ContentPlaceHolder\'s with Webforms view engines to put stuff in different locations in the master page.

How do I do that with Razor?

    &         


        
2条回答
  •  醉梦人生
    2020-12-05 13:15

    Couldn't leave a comment sorry but you can remove the "required:"

    @RenderSection("footer", false)
    

提交回复
热议问题