JScript .NET, Part VII: Consuming add from ASP.NET: Creating a .dll File - Doc JavaScript
JScript .NET, Part VII: Consuming add from ASP.NET
Creating a .dll File
The second step in creating a proxy is compiling it into a binary library, a .dll file. The executable you need to use is jsc.exe. When you installed the .NET framework, the path to jsc.exe should have been added in your path. Type jsc at the Command Prompt window and see that you get the help file for this command. Now, type the command with its proper parameters:
jsc /t:library /out:bin\calcProxy.dll calcProxy.js
where the argument of the command is the JScript .NET code which is created by the wsdl command on Page 4. The other switches are:
|
Here is the Command Prompt window showing the echo of the wsdl and jsc commands, one after the other:

Next: How to write ASP.NET controls
Produced by Yehuda Shiran and Tomer Shiran
All Rights Reserved. Legal Notices.
Created: June 30, 2002
Revised: June 30, 2002
URL: http://www.webreference.com/js/column113/5.html


