Let's talk about it. VMware directly goes Down, eliminating the need to compile and install other steps, and everything has been installed.
So I started to figure out how to run the website.
1: The xsp2 directory is located in File System/srv/www/htdocs after a lookup, and the site is placed here.
So I got a website from Windows. This is also a bit exquisite.
It's really hard for me to get something from a Windows system to a virtual machine's Linux system.
Later, we automatically updated the VWmare tool for Linux. Currently, text Copy is not a problem.
2: I package the file through http://192.168.1.xx/.zip and then access and save it to the openSUSE system.
Package it into RAR at first, and find that it cannot be decompressed in the past. Later, we accidentally found that openSUSE has installed the Zip software.
OK. The website is ready for access.
-------- Too many threads... The Error yellow page appears ---------- prompting you to transmit parameters when accessing the database. [Windows is normal]
As the openSUSE on a virtual machine has MonoDevelop 2.2 installed by default, we plan to debug the source code.
Build the solution-> Build Successful. In fact, it's a dumb.
When building a specific project, an error occurs and you find that:
3: The text in some files is garbled. This reminds us that Chinese programming is still not very well written, although I just use a small margin in enumeration.
To perform a simple test, I used MonoDevelop to create a new site.
Oh... There is no design interface, and I still want to pull a few widgets out. Only html is available, so I just knocked it out. Fortunately, tags are still smart. After the chunk is knocked out, no right-click to locate the CS code, so I had to double-click the file.
-_-.. There is no Page_Load event, so you have to manually press it. Fortunately, it can still run after the knock.
4: Test SQL 2005 database code, debug it, and discover it. Ah, there are problems with the Return Value and Direction of the stored procedure.
SqlCommand com = new SqlCommand ();
SqlConnection con = new SqlConnection ("server = 192.168.1.xxx; database = xxxx; uid = xxxx; pwd = xxxxx ");
Com. Connection = con;
SqlParameter para = com. Parameters. Add ("RV", SqlDbType. SmallInt, 8, "RV ");
Para. Direction = ParameterDirection. ReturnValue;
Com. CommandType = CommandType. StoredProcedure;
Com. CommandText = "ABCProc ";
Con. Open ();
SqlDataReader sdr = com. ExecuteReader ();
Object abc = com. Parameters [0]. Value;
Sdr. Close ();
Con. Close ();
Only the following bugs are found at the breakpoint:
A: SqlParameter cannot be obtained by name, such as com. Parameters ["abc.
B: The Direction of Parameter is not implemented. It is a NULL object, that is, it is useless to assign a value to it, let alone obtain it.
C: A sample of SqlDbType and Parameter.
D: an error occurs when scope_Identity () is called. It is estimated that other rare functions will not be missed.
Here, the returned value of the stored procedure is gone.
I have installed MonoDevelop 2.2 in Windows and run the editor. What is the purpose.
Compared with normal Windows, it is because the net Library is still called.
The exception in Linux is actually a set of things called by Mono. XXTds.
In addition, other calls can still be read normally.
It seems that Mono is still a legend.