mono

Can I use a mono library from Objective-C (on the iPhone)?

Hi I am investigating a port of an app to the iPhone. My existing business logic is C# in a class library dll. It does some processing as well as sommunicating with web sites. I understand that Objective-C is the best thing to develop with on the iPhone and I'm prepared to dive in, but if possible I want to avoid re-writing the existin...

Desktop mono app and MVC/MVP framework

I am looking for a MVC/MVP (mvp prefferably) framework for my first mono app. There doesn't seem to be too much out there, but I have found the following: http://www.mvcsharp.org/ http://desktoprails.osl.ull.es/doku.php I've been looking into both for some time, and MVC# seems to be closer to what I want. The issue is that MVC# seem...

Web method response format in Mono2.0.1

I wrote a [WebMethod] that return a string that store a serialized object [WebMethod] public string doStuffs() { ... return JavaScriptConvert.SerializeObject(myObj); // JSON Serializer library is JSON.NET 1.3.1, for MONO } When I call the method with a $.post from JQuery: $.ajax({ type: "POST", url: "/web/doStuffs", da...

Is there an interface for System.IO.Stream?

I'm writing a class that needs to take in an object, record it's current state, update the object, and pass it to another class. The only problem is that you can only inherit from one class and I need that to inherit a class in my project. I'm interested in System.IO.Stream because I can if needed, move this class to it's own thread with...

How to get started with Mono in Linux for a beginner?

Hello, How do I start using Mono in Linux as a beginner when I want to switch from Visual Studio? Is there some easy way to install it like Visual Studio and get started? So far,with what I've seen,it looks complex to even get started. Installing and configuring Mono in linux is a lot of work right? or Is there some distro which I ca...

Is NetPeerTcpBinding available on Mono?

I'd like to know whether Mono's implementation of WCF already implements NetPeerTcpBinding. Anyone is using it? Some examples? ...

What is the difference between GTK# and Windows Forms?

Hello, What is the difference between GTK# and windows forms? Are they totally different? Thanks ...

Making existing C# Windows Application run on linux

Duplicate: http://stackoverflow.com/questions/800999/run-net-exe-in-linux Hello, Is it possible to make my existing Windows Forms Application made using Visual Studio 2008 and .Net framework 2.0 run on Linux by recompiling in Linux with less/No code changes? Thanks ...

Limitations in Mono for a .Net framework developer

Hello, I want to switch over to Mono from .Net (plus Visual Studio to whatever IDE in Mono).Is this going to be really tough? What are the issues I would face? Thanks ...

Using visual studio for developing mono applications

How do I use Visual Studio to develop applications on Mono? Is this possible? ...

.Net/Mono Singleton (Service/Server?) in C# - detect if my .net app is already running and pass command-line args to it.

I'd like to create a simple singleton commandline application (a service?) in C# that when it was run, it checked to see if it was already running, and if so, it passed the command-line args to the already running instance and closed itself. Now in the already running instance it would receive the command-line args through an event like ...

How to run OS shell commands in IronPython/Mono?

I would like to give IronPython and Mono a try. Specifically doing sysadmin tasks. Which often means running OS commands. In CPython I use the subprocess module for such tasks. But in IronPython (v2.0.1, Mono 2.4, Linux) there is no subprocess module. It seems there is not even an 'os' module. So I can't use os.system(). What would be th...

Error when accessing anything but default route

I am having trouble getting routing to work on mono. The default route works fine but nothing else does. These are the routes I have setup: routes.MapRoute( "HelloRoute", "Hello/{name}", new { controller = "Home", action = "Hello" } ); routes.MapRoute( "Default", ...

Graph database for .NET

I've been designing an application, based on .NET/Mono framework, which should make an heavy use of the shortest-path in a graph theories and I would like to use a native solution to traverse the nodes of the graph, instead of implementing surrogate solutions which would be hardly maintainable and would massively affect performances. I'...

Mono System.IO.Ports SerialPort class error handling

I am debugging some mono code that is using the serial port. At some point the mono write a table with the following code : // Send the 1024 byte (256 word) CRC table progressBar = new ProgressBar(); progressBar.Update(0.0,"Sending CRC table..."); for (int i = 0; i < MyCRC.Length; i++) { MySP.Write(MyCRC[...

Sqlite in mono, SQLiteConnection could not be found

I am not sure how to correct this error. The type or namespace name `SQLiteConnection' could not be found. Are you missing a using directive or an assembly reference? I included the reference Mono.Data Mono.Data.Sqlite Mono.Data.SqliteClient and a few non related refs. I am using //using System.Data.SQLite; //<-- this line was all i...

Optimal way to retrieve a child widget in Gtk#

Hello, I want to retrieve a child of the window I am in Gtk#. So far the only way I found looking at the documentation is to do it using a loop through the Children property of the Window, like: foreach (Widget w in this) { if (w.Name == "MyWidget") return w; } where this is the window. I am sure there must be a better,...

How to get F# working with Mono?

I can't seem to find a compiler/plugin for mono. Does one exist? ...

Any pointers to smallest CLI runtime?

I'm looking for smallest CLI subset implementation possible. For now, even an interpreter will do, but I am really looking for a JITted runtime. I do not even need anything from the standard runtime apart from core classes like System.Object and Enum etc. It also needs to be portable and least dependent on underlying system. I hav...

Zlib for Mono/.Net without a known Checksum

I need to implement a special ZLib implementation which should run under .Net and Mono. The data /string messages are received via a socket and thus the checksum is missing. This is about raw string data, not about files. unsigned char zlib_header[]={ // custom additional Zlib Id 'Z', // Our own ID // The normal GZIP heade...