JScript .NET, Part VIII: Consuming IsPrime from ASP.NET: Creating a .dll File - Doc JavaScript
JScript .NET, Part VIII: Consuming IsPrime 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\sampleProxy.dll sampleProxy.js
where the argument of the command is the JScript .NET code which is created by the wsdl command on Page 2. 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: July 15, 2002
Revised: July 15, 2002
URL: http://www.webreference.com/js/column114/3.html

Find a programming school near you