... اینجا اسکریپتهای عمومی قرار گیرند قبل از پایان فایل @RenderSection("JavaScript", false) </body> </html>
- در ASP.NET Web forms هم میشود این نظم رو پدید آورد. از ContentPlaceHolder استفاده کنید. یکی در master page تعریف شود دیگری در وب فرم به ارث رسیده از آن برای قرار دادن اسکریپتهای خاص همان صفحه.
.... سایر قسمتهای فایل مستر پیج <asp:ContentPlaceHolder id='PageScriptPlaceHolder' runat='server'> </asp:ContentPlaceHolder> </body>
<asp:Content ID='ScriptIncludes' runat='server' ContentPlaceHolderID='PageScriptPlaceHolder'> اسکریپتهای صفحه در اینجا </asp:Content>