Document directory
- Open MonoDevelop
- Create a GTK Project
- Select the GTK version.
- Visual Design
- Running result
- Create an ASP. NET Project
- All statements are the same as those in ASP. NET 2.0.
- View the page in Firefox
- Page code generated
Mono 2.0
Mono 2.0 has been released for a while. I have long wanted to experience it. It has never been time. Recently, it has been idle, so I tried Mono 2.0.
Operating System
Considering compatibility issues, I did not select the commonly used Rad Hat, but chose openSUSE 11.0,
I used openSUSE 11.0 for the first time,
The installation on Virtual PC 2007 is a black screen each time it starts to be installed. After N attempts, the installation is complete successfully on VMware 6,
In this case, the automatic installation interface of the CD is enabled.
Press F2 to select a language and support Chinese characters. Due to compatibility concerns, I installed it in English.
I chose GNOME for the graphic interface, and KDE is useless. It is purely a personal liking.
Nothing else, just click Next. The following is the system after installation.
In openSUSE 11.0, operations related to system security are required to be identified as administrator, just like those in vista.
Install Mono
I checked it on Mono's website. For the Linux installation package of Mono 2.0, only the source code is available. It seems that I have compiled it myself,
Download the source code, compile it first, and then install
The NET2.0 program in windows can be run directly in the Linux with Mono installed.
In Windows 2008, A Winform program for WebService access is created in VS2008. The type is Net 2.0,
After compilation, Copy it to the root directory of openSUSE.
Enter the mono program name .exe (case sensitive) in the openSUSE command line)
Ran it. (I said "ran it" because I didn't think it could run)
Use MonoDevelop to write Winform programs in Linux
Open MonoDevelop
Create a GTK Project
Select the GTK version.
Visual Design
The development interface is very similar to VS, inheriting the essence of VS ------------------ slow
Note that the page UI control used is not System. Windows. Forms, but GTK
The Entry is the text box of GTK.
Running result
Use MonoDevelop to write ASP. NET programs in Linux
Create an ASP. NET Project
All statements are the same as those in ASP. NET 2.0.
Full compatibility with ASP. NET 2.0, great!
View the page in Firefox
Page code generated