Problems when referencing JavaScript and css files - Asp.net Core

0

I am trying to adapt a layout template that I found on the net in my ASP.NET core, but I am not able to make it work .... I created a Content folder in the root of the project and inside it I have subfolders with files css and javascript. I already tried referencing and all forms, but that is not working:

 <link rel="stylesheet" href="../../Content/global/vendor/animsition/animsition.css">
    <link rel="stylesheet" href="../../Content/global/vendor/asscrollable/asScrollable.css">
    <link rel="stylesheet" href="../../Content/global/vendor/switchery/switchery.css">
    <link rel="stylesheet" href="../../Content/global/vendor/intro-js/introjs.css">
    <link rel="stylesheet" href="../../Content/global/vendor/slidepanel/slidePanel.css">
    <link rel="stylesheet" href="../../Content/global/vendor/flag-icon-css/flag-icon.css">
    <link rel="stylesheet" href="../../Content/global/vendor/chartist/chartist.css">
    <link rel="stylesheet" href="../../Content/global/vendor/jvectormap/jquery-jvectormap.css">
    <link rel="stylesheet" href="../../Content/global/vendor/chartist-plugin-tooltip/chartist-plugin-tooltip.css">
    <link rel="stylesheet" href="../assets/examples/css/dashboard/v1.css">

I have tried to use ~ /, but tb does not work. Does anyone know how to help me?

I'm going to post a project print showing the paths:

    
asked by anonymous 30.01.2018 / 01:39

1 answer

0

Try to put this @RenderSection("Scripts", required: false) before the </body> </html> at the bottom of the page.

    
18.02.2018 / 11:54