Difference between revisions of "Mono"
imported>Cov |
imported>Cov |
||
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: | ||
+ | <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 .dll, in this case <code>WeatherForecast.dll</code>, as a reference in your IDE. | ||
=External Links= | =External Links= | ||
* [http://proquest.safaribooksonline.com/0672325799 Mono Kick Start book from Safari] ([http://proquest.safaribooksonline.com.ezproxy.lib.vt.edu:8080/?uiCode=vatech&xmlId=0672325799 via EZProxy], see [[Proxies and VPN]]) | * [http://proquest.safaribooksonline.com/0672325799 Mono Kick Start book from Safari] ([http://proquest.safaribooksonline.com.ezproxy.lib.vt.edu:8080/?uiCode=vatech&xmlId=0672325799 via EZProxy], see [[Proxies and VPN]]) | ||
* [http://www.mono-project.com/Main_Page Mono homepage] | * [http://www.mono-project.com/Main_Page Mono homepage] | ||
+ | * [http://www.mono-project.com/Web_Services Mono Web Services walkthrough] | ||
[[Category:Libre course software]] | [[Category:Libre course software]] |
Revision as of 20:03, 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:
$ 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 .dll, in this case WeatherForecast.dll
, as a reference in your IDE.