Mono: Difference between revisions

From the Linux and Unix Users Group at Virginia Teck Wiki
Jump to navigation Jump to search
imported>Cov
imported>Cov
Line 16: Line 16:
$ gmcs /target:library -r:/usr/lib/mono/2.0/System.Web.Services.dll WeatherForecast.cs
$ gmcs /target:library -r:/usr/lib/mono/2.0/System.Web.Services.dll WeatherForecast.cs
</pre>
</pre>
Then, add .dll, in this case <code>WeatherForecast.dll</code>, as a reference in your IDE.
Then, add the .dll, in this case <code>WeatherForecast.dll</code>, as a reference in your IDE.


=External Links=
=External Links=

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 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.

External Links