I believe that the U3D Project is a little bigger. We all use unitypackage to transfer resources and share work, right?
The problem is that after the unitypackage provided by art is imported to the program, the problem of missing mono behaviour will always occur, that is, the script is lost. I don't know if you have ever encountered it. After several times, I finally got angry two days ago and wanted to completely solve the problem.
This article is so
1. Supports Asp.net 1.1 and 2.0, and does not support webpart and other small features (not described ).
2. asp is not supported. for ASP websites, you can use the tool (netcode.com) to convert them into Asp.net websites.
3. Methods to run Asp.net using mono: mod-mono-server2 (for Apache), fastcgi-mono-server2 (for FastCGI servers) or xsp2 (for testing ).
Mod-
Control the start and stop of the mono service in LinuxWhen the services in windows are deployed to Linux, we generally use Mono. service to start and stop. It is not easy to use because there are many parameters. So there is a Shell script. Usage: moa s1 start # start moa s1 stop # The following directory structure is required to stop:
/Opt/basepath/s1/sample1.exe # Service 1. The file name is not limited
Mono has been known for a long time ago, but it is not very concerned or actually used. Recently I have studied Asp.net, which runs Asp.net on the Linux platform.ProgramTo learn the relationship between mono and Apache. Now I will explain several basic concepts for you to forget.
1. Mono
Another implementation of the. NET platform, including CLR, FCL,
Recently, I am working on a. Net cross-platform tool. I need to make a judgment on the operating system on which the client runs in the program.
The. net api provides the system. environment. osversion encapsulation to obtain information about the operating system.
So I made a small program to test the information returned by each platform. Of course, Mono is used as the middle layer for cross-platform deployment.
The version I used is
"Source code is the best document". With the source code, any software system has no "mystery" in front of developers...
Today, we need to create a web page for uploading files, and call httppostedfile. when the saveas (string filename) method writes a file to a server disk, what can be done if the file already exists on the disk? Direct coverage? Throw an exception?
Refer to the. NET Framework document. Unfortunately, this situation is not described in it. Go to the
Prepare PDF files. net Framework open-source project "Supermarket Management System" is transplanted to Linux to run (demonstration address: http: // 221.123.142.196), using the jexus server and MySQL database, compared with SQLite, mySQL has many problems, but is finally solved one by one. The following is a summary:1. MySQL DRIVER:
Some people say that running MySQL under mono requires the MySQL driver of the old node. I found that it has nothing to
supported by different versions, with the latest support for. NET Standard 2.x,Note:Cross-platform for existing projects using mono note whether the library referenced by the project uses Windows exclusive features/API, etc.>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>> >>. NET Core:. NET cross-platform implementation of the version, support x64/x86/part of the arm platform, although. NET cross-platform implementation, but it's actually very
Linuxdot.net Community Group: 102732979 (If you think you have enough experience in. NET cross-platform, please join this group: 103810355).There are all kinds of great gods, hey, if you have questions can come to the consultation, completely free of charge.The development of mono has become more and more good, and the number of children who have turned to Linux.net has become more and more, and more and more problems have arisen.However, these proble
Install mono on Ubuntu run the following code to authorize the registration of the repo source and update the software list:sudo apt-key adv--keyserver keyserver.ubuntu.com--recv-keys 3fa7e0328081bff6a14da29aa6a19b38d3d831efecho "Deb http:/ /download.mono-project.com/repo/debian wheezy Main "| sudo tee/etc/apt/sources.list.d/mono-xamarin.listsudo apt-get updateTo install Mono:sudo apt-get install
Tags: hup blog interface amp LAN version install ref offlineNote: Fiddler official provides the mono version, but only 2014 version, not the latest, and the runtime will have bugs, such as interface confusion card and so on, but barely able to agent, catch SSL package, if used to be prepared psychologically. It's still acceptable to have a look.Download:Http://fiddler.wikidot.com/monoOffline Version: (Link: https://pan.baidu.com/s/1eRJZPwY password: H
The traditional procedure for running an ASP. NET Web site or WEBAPI is to install Libgdiplus, install Mono, and then install Jexus. In this process, although it is easy to install Jexus, it is relatively time-consuming and laborious to install mono.The situation is different now, in order to overcome the tedious installation of mono, simplifying the deployment of the ASP. NET WEB application on the Linux o
Using Topshelf 5 to create a Windows service This article can be learned that using topshelf can support the development of Windows services well, but it is incompatible with mono, and GitHub has an extension https://github.com/ Pruiz/topshelf.linux can be well compatible with Linux/mono, this article describes how to use:
1, add Topshelf.linux in the project, through the NuGet very convenient to add the r
Some time ago, a friend found me in the Q group and said that it follows "Linux. NET learning note, put an ASP. after the project of net mvc 4.0 is deployed to Mono, Razor cannot find the view. It took some weeks to solve the problem. In the recent period, other friends in the Group encountered the same problem. Over time, more and more friends may use the higher version of, so I reproduced the current situation and recorded the solution.
As usual,
I conceived an idea with my friend and used his ideas for a while. The effect was okay.
Let's take a look at the previous Code:
RectangleF newrec = UIScreen. mainScreen. bounds; UIWebView webView = new UIWebView (newrec); NSUrl nsurl = new NSUrl ("http://www.baidu.com"); webView. loadRequest (new NSUrlRequest (nsurl); webView. shouldStartLoad = delegate (UIWebView v, NSUrlRequest r, UIWebViewNavigationType t) {if (t = UIWebViewNavigationType. linkClicked) {Console. writeLine (r. url. toString
The mono -- profile parameter helps us monitor the Running Performance of applications.A convenient feature
It is easy to use:Example:Mono -- profile app.exe> app.txt
The generated app.txt is the running record of app.exe.
The document contains the following records:Total time spent compiling 1466 methods (SEC): 0.3906Slowest method to compile (SEC): 0.0625:. Test: Main (string [])Time (MS) Count P/call (MS) method name########################656.250
Mono: Use glade to design the interface
Monodevelop does not have any interface design tools, but you can design the interface through glade, and then write code in monodevelop. Developing the glade program using monodevelop is very simple and convenient.
First, create a glade solution:
Figure 2.4.0
Open the glade program, select new GTK + project, and design our program interface:
Figure 2.4.1
Only one window (window1) and one button (button1)
There is a page whose pageload function is written as private. It should be written as protected for access, but written as private, ASP. NET can also work.
Private void page_load (Object sender, eventargs E)
However, when placed in the xsp2 of Mono, it will never run. Unexpected reasons.
Looking for it, I found that the code in pageload was not running at all. I accidentally saw private. I felt very strange. It should not be protected. Change it
First, download1, login http://www.mono-project.com/download2. Development tools Xamarin Studio (seems to be free)http://www.monodevelop.com/download/Second, installation (omitted)Third, the test is successful1. Command lineMono--version2. Open Xamarin Studio3. Create a new MVC project with Xamarin StudioRun successfullyIn fact, using mono for cross-platform development is also possible, for some small sites is also a good choice.Mono Development Envi
No nonsense, straight on Http://files.cnblogs.com/files/RainbowInTheSky/PanGu.rarGroup of Friends in the project transplant to Mono+jexus encountered a problem, Pangu participle can not be compatible, so the project of Pangu source modification, removed a lot of Pangu hard code caused by the error (many errors on the path, Pangu originally are directly using the path of Win), Now provide the source code (directly compiled can be used, or you want to m
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.