A Add the following markup to the <head /> section of the ASPX page.<script src="ContosoUtilities.js" type="text/javascript"></script>
B Add a ScriptManager control to your page. It automatically finds your .js files in your solution. You can then work with them by using IntelliSense.
C Add a ScriptManager control to your page. Add a reference nested inside the ScriptManager control that points to your JavaScript file.
D Use the ScriptReference class in your code-behind file and set its path to the path of your .js file.