Click here to Skip to main content
15,891,375 members
Everything / .NET / Mono

Mono

Mono

Great Reads

by Ajcek84
Open source library for music engraving in desktop, mobile and web applications
by Daniel Vaughan
Create best-in-breed cross-platform MVVM apps using Calcium for Xamarin.Forms.
by Kel_
Presents a real-time gauge implementation that can be used for building dashboards
by Lionel LASKE
Learn how to develop an application for the XO laptop - the OLPC project's machine - using Mono on Sugar OS.

Latest Articles

by Steffen Ploetz
Draw text using Cairo from C# with full control over character positioning, linebreaking, etc.
by DaveMathews
Speaker independent speech recognition in Mono and .NET C#
by Jeremy Likness
How to use EF Core and Cosmos DB with Blazor WebAssembly

All Articles

Sort by Updated

Mono 

7 Feb 2023 by yulin chang
I have a application to run C# winform on Linux by mono. There is a problem with the Label control that is terribly flickering. There are many controls ( 100 labels ) in a form. When I resize the form or when I try to update them, the labels...
7 Feb 2023 by Graeme_Grant
No code posted, so not sure what you are doing exactly...' I have not used Winform on Linux with mono. You could try suspend/resume when updating the label: Label1.SuspendLayout(); Label1.Text = "new text here"; Label1.ResumeLayout(); or,...
17 Aug 2022 by Valentina82
I try to make a AxWindowsMediaPlayer control on form whit MONO on raspian. It work very well on Windows, but on Raspian I have this error: "System.ObjectDisposedException: Cannot access a disposed object. Object name:...
17 Aug 2022 by OriginalGriff
Windows Media Player is - as the name suggests - a Windows app: it doesn't exist in any flavour of Linux, so you can't use it or any control that expects to contain it in a Raspbian Pi app.
16 Aug 2022 by Valentina82
Hi, I has the followinng code to make update of more control refers to the same variable on windows form. I make it to update more than one control by asingle operation on update datatable. This working very well on Window, calling...
20 May 2021 by Member 15134456
Recently I am making a UI asset for Unity. I used Unity 2020.1.0f1 for making and testing primarily. I now have a project in Unity 2021.1.3f1 and I want to use my UI asset. This asset is a unitypackage and contains 3 DLLs (1 C# DLL, 2 C++/CLI...
14 Mar 2021 by Steffen Ploetz
Draw text using Cairo from C# with full control over character positioning, linebreaking, etc.
22 Feb 2021 by VikashGohil
Hello, this is Vikas Gohil.I have developed an application in C# using VS2005. The application is using a third party DLL file created in C. I am using DLLImport statements to importing the DLL file and using functions from that file. This application works fine in VS2005 on windows. I...
22 Feb 2021 by honey the codewitch
You are trying to use windows code on a linux machine. That will work about as well as you might expect. Linux will not run code written for windows. Do not use DllImport to import windows DLLs and expect them to work on a linux machine or you...
19 Nov 2020 by Jens Eckervogt
Hello everyone, I have tried to resolve with XDrawRectangles under C#: Displaying = OK Drawing = So bad! How do I fix ff I have tried to created Rectangle as Structure for X11/Xlib? Looks like this simple: namespace X { public static...
25 Aug 2020 by DaveMathews
Speaker independent speech recognition in Mono and .NET C#
15 May 2020 by Jeremy Likness
How to use EF Core and Cosmos DB with Blazor WebAssembly
28 Mar 2020 by Harry Constantinides
C# ComboBox control
25 Mar 2020 by Harry Constantinides
ComboBox control written in C#
24 Mar 2020 by Harry Constantinides
This article presents a custom TimePicker control using a combination of basic GTK widgets.
26 Mar 2019 by Steffen Ploetz
Check OpenGL as a basis for appealing applications, that are not necessarily games.
11 Mar 2019 by Scimiazzurro
I'm making an application with C# and Mono framework (to make it compatible with Linux).In this app I'm using also the Json.NET library, but it doesn't seem to work with Mono because every time I try to start the application I get this error:Missing method .ctor in assembly...
11 Mar 2019 by AdamWhitehat
From the error, it sounds like it cannot find the DLL. Place the DLL next to your executable or run the command: sudo apt-get install Newtonsoft.Json and then I think the runtime will know where to look.
11 Feb 2019 by Steffen Ploetz
Compare the speed of generic collections running on .NET Framework 4.6.1, .NET Core 2.1 and Mono/.NET 4.5 based on the framework's version of List against Loys's version of AList.
2 Feb 2019 by Qwertie
No matter how lazy you are
27 Oct 2018 by Steffen Ploetz
Give an brief overview of text rendering options for OpenGL/OpenTK especially for MONO/.NET.
15 Oct 2018 by HARDIK Joshi
I want to make a cross platform standalone GUI based desktop application using open source tools. Which technology or framework is more preferable for cross-platform GUI based application? I heard about Mono framework with GTK# forms using Xamarin Studio and Visual Studio 2017 for mac. I also...
15 Oct 2018 by Richard MacCutchan
You could try with Java. It is claimed to run on any platform, and supports a rich set of GUI tools and controls. It seems that this is the same as your previous question: How to deploy C# based windows application for linux and OS X?[^].
15 Oct 2018 by Richard MacCutchan
You could try with Java. It is claimed to run on any platform, and supports a rich set of GUI tools and controls.
6 Oct 2018 by HARDIK Joshi
Hi, I have c# based windows application and I want to port that application for Linux and OS X. Is it possible? if possible then how? if not possible then please guide or what can do? I am doing R & D from last 15 days so I found every where about MONO, GTK#, QT and Electron but I can't...
6 Oct 2018 by kanangandhi
How to deploy C# windows application on mac OS? - Refer this question[^]
10 Sep 2018 by Evaldas Jocys
JavaScript class library which partly replicates Microsoft .NET Framework structure and functionality.
9 Aug 2018 by Member 13944019
I am receiving this error: error CS0103: The name 'Methods' does not exist in the current context My code: using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using Terraria; using Terraria.ID; using Terraria.ModLoader; namespace SwordsMod.NPCs.Bosses { public...
9 Aug 2018 by Richard MacCutchan
You are trying to call what look like static methods in the Methods class, but you have not imported a definition of the class via a using directive. currentFlyDirection = Methods.SlowRotation(currentFlyDirection, flyDirection, rotationSpeed); npc.velocity =...
9 Aug 2018 by Dave Kreskowiak
Well, the error message says that you don't have a class called "Methods" anywhere in your project, either in your own code files or in any namespace that you imported in your "using" statements at the top of the code.
15 Jul 2018 by Ajcek84
Open source library for music engraving in desktop, mobile and web applications
22 Apr 2018 by JohnLeitch
This article details how to make .NET applications scriptable with Aphid, an embeddable scripting language.
31 Jan 2018 by Pawel idzikowski
How to replace the web API request query string to provide case insensitive OData search
30 Jan 2018 by FerryFisher
in my winform UI have a datagridview ,this grid has a datagridviewComboBoxColumn column ,I have set this comboxColumn's datasource 、 ValueMemeber and DispalyMember,it run good on windows,but after Mono ,Run on Linux is No normal,it dropDown List show DisplayMemeber data and store DisplayMemeber...
17 Jan 2018 by honey the codewitch
Dependency free, fast, lightweight JSON parsing and light query
1 Aug 2017 by Dmitry Brant
A custom control for Windows Forms that looks like an electronic 7-segment LED display.
28 Jun 2017 by John Newcombe
Presents an explanation of Datum transformations with examples shown in C#
21 Jun 2017 by Member 11741397
I have a video processing program that I have built on EMGUCV and C# using Visual Studio and an Intel i86 desktop environment. This has been made to work in an Ubuntu 1404 environment with Intel i86 processors, using Mono. Now, the new challenge is that this has to be ported to the Raspberry...
9 Jun 2017 by mclang
I have Mono/C# socket server that accepts several different types of clients. When client connects and sends data, a client factory is used to create new client of right type. The basic type is determined from the data client sends. This is the easy part - I have IClient interface that each...
9 Jun 2017 by cjmakwana
When we say, client sends data in 1 above, what is the format of the data ? If it is serialized stream of bytes, how will the server determine on which exact concrete type it should initialized for the respective data stream ? This actually makes the things more complicated. If possible, let's...
7 May 2017 by Jung Hyun, Nam
Introducing NConcern, a free open source compile-time AOP framework
24 Mar 2017 by Steffen Ploetz
This article introduces a small tool (much simpler than sandcaste help file builder) to create HTML help for .NET/MONO assemblies and reviews the XAML based approach to create GUI application with the Roma Widget Set XrwXAML.
20 Mar 2017 by Emin Kokalari
I'm using this code but when i stop the process it not get the ping statistics :System.Diagnostics.Process p = new System.Diagnostics.Process();p.StartInfo.FileName = "ping";p.StartInfo.Arguments = "-c " + count + " -i " + interval + " -s " + buffer + " -W " + timeout + " " +...
14 Mar 2017 by Arun Kumar K S
Hello,I created one Mono application to call C method from a shared library in Linux. My code is listed belowusing System;using System.Runtime.InteropServices;namespace testConsole{ class MainClass { ...
14 Mar 2017 by sunilkumarsomani
For same logic i am able to include .so file of c project and can call its functions by c#. But if i use .so file of c++ project into c# then its giving entry point error. please update me.
13 Mar 2017 by Jochen Arndt
You are trying to ping a system in the same network. So there is no router involved that might return a Destination Host Unreachable. There is no other device reacting on the echo request besides the adressed one and if that is not present a time out will occur.When using the ADB shell, the...
13 Mar 2017 by Emin Kokalari
Problem with pinging ip or hostnames... The problem is that always receive Status : TTL Expire even when host is not reachable,doesnt exist, or other ...code is this :PingReply Reply = await pingo.SendPingAsync(text_ip.Text, 4000, buffer, options); Toast.MakeText(Activity,...
10 Mar 2017 by Sergey Alexandrovich Kryukov
Generic classes for enumeration-based iteration and array indexing
9 Mar 2017 by Graeme_Grant
A documented journey looking for the fastest solution for generating valid Anagrams for the Weekly Code Project Challenge...
5 Mar 2017 by Emin Kokalari
My Code is this but not working :public class ping : SupportFragment{View view;RecyclerView mRecyclerView;RecyclerView.LayoutManager mLayoutManager;RecyclerView.Adapter mAdapter;public List mdata;int i = 0;public override void OnCreate(Bundle...
19 Feb 2017 by Afzaal Ahmad Zeeshan
In this article I will give you a complete overview of SQLite databases in Android and how to consume them using Xamarin APIs.
14 Feb 2017 by Steffen Ploetz
Currently none of the big Linux/Unix (X11) GUI application frameworks (GTK+, KDE) support XAML based application development. The Moonlight project (including XAML support) was abandoned on May 29, 2012. This article reviews a XAML based application utilizing the DrawingBrush with offset and tiles.
3 Feb 2017 by tranthanhtu.vn
In "REST - Overview" article, I were introduced the basic rules in RESTful, Can you show me how to implement in WebApi?Ok, in this article, we will learn how to implement those rules in WebApi using C#.Where could I get sourcode was used in this article?Please checkout the code at https://github.com
13 Jan 2017 by Qwertie
With this library,"from x in list select x.Property" returns another list.
10 Jan 2017 by Qwertie
Want to square-root an arbitrary type T in your generic code and multiply it by its natural logarithm? No problem.
10 Dec 2016 by Qwertie
The Lexical Macro Processor transforms your C# code with a LISP-inspired macro system. Nice substitute for T4 templates, with Visual Studio integration and a Linux-compatible editor.
25 Nov 2016 by Daniel Vaughan
A fun Xamarin Forms implementation of the game Sokoban, demonstrating how to port a UWP puzzle game to both Android and iOS while sharing nearly all code across platforms.
1 Nov 2016 by atul sharma 5126
Hi All,I am trying to run an asp.net application on Suse Server 11 through Apache and Mono. The following exception is showing in browser:System.TypeLoadException Could not resolve type with token 0100008eDescription: HTTP 500.Error processing request.Details: Non-web...
26 Sep 2016 by Steffen Ploetz
How to calculate a radial gradient and draw the output on a System.Drawing.Bitmap. And how to use this bitmap as a tile pixmap to fill any path.
22 Sep 2016 by Steffen Ploetz
This tip shall help to select the desired GCFunction for fill operations.
20 Sep 2016 by Alen Toma
How to implement deep cloning using Reflection
27 Jul 2016 by maurodefilippis
I'm making a Winform application on Linux with C# and Mono.I need to view a video inside of my application.Obviously the components related to Windows Media Player does not work .In principle, enough for me to see a video ( no buttons with controls ) and have a chance to start it and...
27 Jul 2016 by Jochen Arndt
There is an existing Mono based OpenSource video player: Banshee[^].So you might have a look at the sources to see how they have done it.There is also the GitHub - majorsilence/MPlayerControl: MPlayer c# .net library[^] for MPlayer - The Movie Player[^].
10 Jul 2016 by Steffen Ploetz
Investigate the window manager's shell window ID and additional information of an OpenTK window.
20 May 2016 by Mr. xieguigang 谢桂纲
Code style guidelines for Microsoft VisualBasic
13 May 2016 by Florian Rappl
The last part discusses attributes, iterators and some more advanced topics.
12 May 2016 by Member 11340242
I have wcf publish on server. I want to consume web service using dynamically method in linux mono C#, in windows it is working fine but i do not know to consume web service in linux can any one help me ?
10 May 2016 by Florian Rappl
The third part discusses events, asynchronous and dynamic types, the TPL, and reflection.
16 Apr 2016 by dsuryd
Building real-time web user interface for Windows service, or self-hosted with cross-platform Mono.
20 Mar 2016 by Afzaal Ahmad Zeeshan
In this episode I am going to talk about using graphical applications in Mono. The graphical framework to use would be Windows Forms.
8 Mar 2016 by Qwertie
Well, not literally. Enhanced C# supports pattern matching, ADTs, and tuples, so Plain C# gets all that by transitivity.
5 Mar 2016 by Qwertie
LLLPG, the Loyc LL(k) Parser Generator: now parsing C# itself!
28 Feb 2016 by AlexeyYakovlev
This article describes building an Android game with networking support using C#, Xamarin.Android platform and Zyan Communication Framework.
10 Feb 2016 by Kouji Matsui
This library is simple and is a substitution of System.String.Format.
24 Jan 2016 by Steffen Ploetz
Check OpenGL as a basis for appealing applications, that are not necessarily games.
24 Jan 2016 by Afzaal Ahmad Zeeshan
This is an introductory post for Mac developers to get started using C# programming language on Mac environments using Mono Project!
21 Jan 2016 by Afzaal Ahmad Zeeshan
In this post version, I have talked about NuGet packages and their management in Mono environment.
21 Jan 2016 by Afzaal Ahmad Zeeshan
This post is intended to demonstrate the cryptographic functions in Mono environment. Hashing the passwords and encryption decryption has been talked here.
19 Jan 2016 by Afzaal Ahmad Zeeshan
This short post is about the project files that are created when a new project is created using a template provided in MonoDevelop.
18 Jan 2016 by ashishkumar008
I am trying to record audio data from microphone in .wav file and playback it. I need also actual data (amplitude) for ploting graph so i am using AudioUnit. I setup inputCallBack and renderCallBack for AudioUnit object But i don't know how to write AudioBuffers to .wav file from render_CallBack...
15 Jan 2016 by Afzaal Ahmad Zeeshan
This is the second part of the series of articles for Ubuntu programming using C#. In this, I am talking about the quick tools and helpful features provided by MonoDevelop for C# programmers.
15 Jan 2016 by Afzaal Ahmad Zeeshan
This is the first part in the series of posts about Ubuntu programming using C# language. In this post, I have discussed a few features of MonoProject IDE, which is used for C# programming on Ubuntu environment.
7 Dec 2015 by LLLLGGGG
Good day everybody,I've recently switched to Linux Mint as my primary operating system (actually I'm still trying it in a Virtual machine, but I'm going to install it on my computer very soon), so I am not an expert in that field.I'm doing a school project for my last year of Liceo and...
7 Dec 2015 by Sergey Alexandrovich Kryukov
You did not provide any relevant information on the project, so I cannot give you a recipe to overcome the problems, but there are things you need to understand correctly.First of all, this is not cross-compilation. This is the compilation using different compilers for the same platform....
1 Dec 2015 by maurodefilippis
SOLUTION The problem was not in User Controls but in their function paint override.I created an override that did set some parameters of control (size of text, syle of text) and then drew the base paint public override paint(..)...instruction...base.paint()..and this created...
1 Dec 2015 by maurodefilippis
I'm porting a Windows Form C# application in Linux using mono.I'm solving a lot of problem but now i don't know what i have to do.I can't use User Control on linux.I used many user control as container with some control(each User Control is a button bar with some big button)that i...
9 Nov 2015 by Steffen Ploetz
Currently none of the big Linux/Unix (X11) GUI application frameworks (GTK+, KDE) support XAML based application development. The Moonlight project (including XAML support) was abandoned on May 29, 2012. This article introduces a XAML based Minesweeper game with WPF.
2 Nov 2015 by bling
Bind the socket to a specific address.https://msdn.microsoft.com/en-us/library/system.net.sockets.socket.bind%28v=vs.110%29.aspx[^]
2 Nov 2015 by Frozzeg
My VPN provider offers me additional external IP addresses. How can i choose in Socket class, which IP to use when sending or receiving packets.
28 Oct 2015 by webmaster442
It's a mono bug. Try updating your mono version to the latest available. You can get the latest version directly from the Mono project. Don't rely on the distribution packed version, because usualy they are far behind the official latest...
28 Oct 2015 by Zhivko Kabaivanov
I am trying to make a .NET 2 application to run on a Linux environment. So I write code for reading XML documentSomething like this:XmlDocument xmldoc = new XmlDocument();xmldoc.Load(SettingsName);XmlNodeList xmlNodeList= xmldoc.SelectNodes("/settings/devicesettings/");After...
21 Oct 2015 by Steffen Ploetz
How to develop Linux/Unix (X11) GUI applications in C# efficiently without dependencies to GUI frameworks like GTK or KDE. Description of simple widgets.
17 Oct 2015 by maq_rohit
The Seahawk- 12's watch for Android wearable