Difference between revisions of "Mono"
imported>Cov (→WSDL) |
imported>Cov (→WSDL) |
||
Line 10: | Line 10: | ||
=WSDL= | =WSDL= | ||
− | To use a WSDL file, perform the following steps, substituting <code>WeatherForecast</code> and the full URL with your service, as appropriate: | + | To use a WSDL file, perform the following steps, substituting <code>WeatherForecast</code> and the full URL with the details of your service, as appropriate: |
<pre> | <pre> | ||
$ wget -O WeatherForecast.wsdl http://www.webservicex.net/WeatherForecast.asmx?WSDL | $ wget -O WeatherForecast.wsdl http://www.webservicex.net/WeatherForecast.asmx?WSDL |
Revision as of 20:04, 7 December 2009
Mono is a cross-platform Free Software .NET compiler and runtime.
Programming in C# is required for ECE 4564 Network Application Design. Thanks to Mono, all assignments for that class can be completed from Linux, if GTK# is substituted for Windows Forms.
Development Environment
The recommended development environment is MonoDevelop, which as of version 2.0 comes bundled with a GUI designer. Note that the debugger and API documentation are packaged separately. To install everything on Ubuntu Karmic, run:
$ sudo apt-get install mono-complete monodevelop monodevelop-debugger-mdb monodoc-browser
WSDL
To use a WSDL file, perform the following steps, substituting WeatherForecast
and the full URL with the details of your service, as appropriate:
$ wget -O WeatherForecast.wsdl http://www.webservicex.net/WeatherForecast.asmx?WSDL $ wsdl WeatherForecast.wsdl $ gmcs /target:library -r:/usr/lib/mono/2.0/System.Web.Services.dll WeatherForecast.cs
Then, add the .dll, in this case WeatherForecast.dll
, as a reference in your IDE.