Does a server have access to the internet to run a .NET page inside an intranet?

0

Currently working in local mode with a Web application developed in .NET using c #, Html and JavaScript, which works perfectly (in local mode).

But, when I do the publication in the server of this Web App, the functionalities of it are lost, because the Jquery does not recognize it in the libraries Jquery UI, Data Tables and Bootstrap.js.

It is important to mention that the server where the IIS was installed to deploy the Web is inside an intranet and does not have free access to the internet; and this is why all the JS libraries mentioned above are downloaded and included within the same project so as not to be taking external references and avoid that kind of problem (even if those scripts are executed on the client's side).

But still the project still does not work, and that's why I wonder, is it necessary for the server to have internet access to be able to execute those scripts even though they are included in the project?

<head id="myHeader" runat="server">
<script type="text/javascript"  src='<%= ResolveUrl ("~/js/jquery-3.3.1.js") %>'></script>
<script type="text/javascript"  src='<%= ResolveUrl ("~/js/jquery-ui.min.js") %>'></script>
<script type="text/javascript"  src='<%= ResolveUrl ("~/js/jquery.dataTables.min.js") %>'></script>
<script type="text/javascript"  src='<%= ResolveUrl ("~/js/bootstrap.min.js") %>'></script>
<script type="text/javascript"  src='<%= ResolveUrl ("~/js/underscore.js") %>'></script> </head>

I have declared the scripts in this way on the website, if anyone has any idea what may be happening, I really appreciate the support.

The first image represents what marks me in the Jquery-UI and the second in the Data Tables.

    
asked by PoorChristmas 13.03.2018 в 17:37
source

0 answers