locked
RenderSection Scripts aspnet core RRS feed

  • Question

  • Hello I`m new in asp net core, I`m comming from aspnet framework 

    Today I create a new project aspnet core for study and I saw that Visual Studio create a structure with a folder named "pages>Shared>_Layout.cshtml", as aspnet framework I understand this layout is a comum html to my pages. 

    when I opened this file I can see a line with code "@RenderSection("Scripts", required: false)"

    in aspnet Framework this "Scripts" is a bundle script file that is create on bundle.cs but in aspnet core I couldn`t find this "Scripts" where it is ? how can I add new *.js files in it? 

    Tuesday, April 7, 2020 3:36 PM

All replies

  • ASP.NET Core can be discussed at the ASP.NET forums.

    http://forums.asp.net/

    Tuesday, April 7, 2020 3:40 PM