Last post Apr 12, 2018 02:11 PM by bruce (sqlwork.com)
Apr 12, 2018 04:19 AM|rajshreepawanpatil|LINK
c# i want to use js file located in inetpub folder . how can i do it. should i give relative path in src
Apr 12, 2018 01:14 PM|PatriceSc|LINK
You are not supposed to be able to reach content found in the inetpub folder from a web page (or you are trying to process this file server side using C# ????).
For now I believe you are rather trying to share common files through multiple applications. You could perhaps create a cdn.company.com site and reference those common files in other applications as needed ?
Apr 12, 2018 02:11 PM|bruce (sqlwork.com)|LINK
because its a folder outside the app, you should use absolute path rather than relative.
hint: I'd use an environment variable for the root path, so it configurable.