We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Location of jsrender.min.js

I am evaluating Syncfusion controls in ASP.NET core. 

I followed the "Getting Started" document to create a new project.  As instructed by the document, I added the following in _Layout.cshtml.

<script src="~/lib/syncfusion-javascript/Scripts/jsrender.min.js"></script>

However, the file jsrender.min.js is not found in the Scripts folder.  Is this a mistake?  

Moreover I don't understand why the above statement is added in <environment names="Development"> only.  Why is it not needed for the Staging and Production environments?



1 Reply

TM Thirukumaran Murugan Syncfusion Team January 17, 2017 03:42 PM UTC

Hi Edwin, 
Sorry for the inconvenience. 
Query1: However, the file jsrender.min.js is not found in the Scripts folder.  Is this a mistake?   
As per our getting started documentation, we are using bower to install our scripts and themes within our wwwroot folder. But, in latest version we have moved this jsrender.min.js dependency from “syncfusion-javascript” folder to “wwwroot->lib->jsrender” folder. We have already considered this correction in our end also thanks for your interest to share with us. 
Query2: Moreover, I don't understand why the above statement is added in <environment names="Development"> only.  Why is it not needed for the Staging and Production environments? 
Based on our application requirement, the ASP.NET Core can provide the options to define our environment in our application. In our online documentation, we have just shared our simple application code for our component deployment. Our components also run, if we run the application with “staging” or “production” environments. 
 
Regards, 
Thirukumaran M. 
 


Loader.
Up arrow icon