I am trying to decide upon using Mono with C# or Python (Django) for a Linux based Web Site. My concern with C# is that Mono may not be as reliable as .NET. Does anyone have any experience with this?
...
Could someone help me find the equivalent of Timestamp/Rowversion (SQL Server) with PostgreSQL?
I'm using NHibernate on Mono (UNIX).
I think that Timestamp (PostgreSQL) is the equivalent of Datetime (SQL Server) - it's not what I'm looking for.
Edit 1: For those who don't know what is a Timestamp/Rowversion in SQL Server: http://msdn...
I've started your typical web project from scratch using the Mono platform. You know, web services, a UI, MySQL database, all that. I've heard around the net that it's not a picture-perfect implementation of the .Net platform, but so far I can't find anything it's not good at. I see the odd "Not Implemented" pop up in intellesense, but h...
is there any way to check internet connection status in linux using mono
...
How do I get the MAC address of my computer in a Mono application on Linux?
...
Hi!
Does anyone know an example of c# (mono) application that creates unix domain socket and listens to it async way?
...
I am using C# in Mono and I'm trying to use pinvoke to call a Linux shared library.
The c# call is defined as:
[DllImport("libaiousb")]
extern static ulong AIOUSB_Init();
The Linux function is defined as follows:
unsigned long AIOUSB_Init() {
return(0);
}
The compile command for the Linux code is:
gcc -ggdb -std=...
I am using Mono/C# on Linux and have the following C# code:
[DllImport("libaiousb")]
extern static ResultCode QueryDeviceInfo(uint deviceIndex,
ref uint PID, ref uint nameSize, StringBuilder name,
ref uint DIOBytes, ref uint counters);
And I call a Linux shared library call defined as follows:
unsigned long QueryDeviceInfo(...
I am developing a web application that manages a population of plants. One feature of the application is the ability to view relationships between plants as a graph. This visualisation is generated as a dot file, then turned into SVG using GraphViz. The resulting SVG markup is then rendered to the browser via an .aspx file, using the Res...
ASP.net web method:
[WebMethod()]
public Data.Subtitle[] GetAll()
{
return Data.Subtitle.FindAll();
}
Here's the Subtitle class:
[ActiveRecord("Subtitle")]
public class Subtitle : ActiveRecordBase<Subtitle>
{
[PrimaryKey(PrimaryKeyType.Assigned)]
public int SubId {get;set;}
[Property()]
public int SubStreamId {ge...
I compiled my application with monodevelop. And tried to run with mono on Linux. It seems that the System.Windows.Forms.Timer objects' tick event never fires.
It runs without problems on windows, but not in Linux.
The related code roughly looks like this:
// derived from a From
//...
private Timer controlTimer;
//....
protected overri...
There's a program written entirely in C# that targets .NET Framework 2.0.
Is there a way I could somehow compile (translate) managed EXE to a native one so it could be .NET-agnostic? I know there are probably commercial products for that purpose... but they are a bit expensive.
The problem is that we are to deploy the program on compute...
Hi!
I developed simple async server that listens to unix socket and sync client that send the some small piece of data. Time between moment when i send data from client to the moment when server receives them is completly random, from 1 to 9 seconds. I wonder why is the reason? Server is implemented as shown in msdn example here (using ...
Microsoft has all interest in preventing cross-platform software to happen. The incompatibility between Windows and Linux is the main reason why people don't migrate to Linux in large numbers. Both the Mono and Moonlight projects are trying to eliminate exactly this obstacle.
Because of this, I wonder whether it isn't very risky to sta...
What are the best practices for writing code that can be cross compiled on .NET (windows) and Mono (linux)? Although I am very familiar with .NET, I am not that experienced in Mono and all its gotchas. Has anyone seen a good blog post or best practices paper on this, which I have not been able to dig up? I would be sticking with C# 3.0 l...
I want to compile a C# app with mono that consists of multiple files (all in 1 directory). What is the command that I need?
...
Does Mono support XAML?
Specifically I'm thinking of switching to using XAML for new GUI work that I do but also I like to keep my personal projects compilable in Mono. Should I just stick with plain old System.Windows.Forms for now?
...
I got a little c# dll that implements a message queue service and on windows it runs perfectly.
To locate all the queues i use an enviroment variable stored in Machine during the installation.
System.Environment.SetEnvironmentVariable("PHMQ", install_dir , EnvironmentVariableTarget.Machine);
Now i just tryed to run it on Mono, and when...
As far as I know, .NET uses Windows processes.
What extra state information & functionality does it add to information contained in Windows thread/process descriptors?
And what is different in Linux (on Mono)?
...
I am actually successfully running a production website with ASP.NET MVC under Mono in a Ubuntu LTS Linux. This server is located somewhere in the cloud and it rocks!
Today, I have tried to make it all work with ASP.NET MVC 2 Preview 2, which can be found here: ASP.NET MVC 2 Preview 2
I have downloaded the source code because I wanted ...