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
→WSDL: (Not needed. Just use a web reference.)
Line 8: Line 8:
$ sudo apt-get install mono-complete monodevelop monodevelop-debugger-mdb monodoc-browser
$ sudo apt-get install mono-complete monodevelop monodevelop-debugger-mdb monodoc-browser
</pre>
</pre>
=WSDL=
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>
$ 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
</pre>
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:15, 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

External Links