Mono, .NET for Linux,

Mono, .NET for Linux,

Mono is a Novell and Microsoft sponsored effort to bring the .NET framework to Linux. Microsoft has partnered with Novell to provide the tools and libraries necessary for .NET development on the Linux platform. Currently the Mono project supports the .NET framework 3.5 to include WinForms 2.0. Some of the new technologies such as Silverlight [...]

Write .NET programs for Linux with MonoDevelop.

Write .NET programs for Linux with MonoDevelop.

MonoDevelop is an IDE primarily designed for C# and other .NET languages. MonoDevelop enables developers to quickly write desktop and ASP.NET Web applications on Linux. MonoDevelop makes it easy for developers to port .NET applications created with Visual Studio to Linux and to maintain a single code base for all platforms.

I have [...]

SharpDevelop, a free .NET development environment.

#develop (short for SharpDevelop) is a free IDE for C#, VB.NET and Boo projects on Microsoft’s .NET platform. It is open-source, and you can download both sourcecode and executables from this site. I have personally used SharpDevelop in many free and commercial products I have developed. SharpDevelop provides many features that the Visual Studio Pro [...]

How to download web content with .NET.

This morning I created another video tutorial, this one on downloading web content to use inside your .NET application. The tutorial goes over downloading content with the WebClient class as well as a brief intro to multithreading with the BackGroundWorker class.

 

Uploading files to a web server using Visual Basic.

Do you need to upload a file to your php web server from a .NET application? I did, and I found that it was actually pretty easy. Basically the upload.php file works the same way as a basic HTML website form. You simply do an HTML form post from within your .NET application.
[...]

BackgroundWorker Class Howto.

Well I wanted to go multithread in my .NET applications and my friend Joel gave me a mini class that could give anyone a head ache. What he taught me worked, and was the thing to do in the days of Visual Studio 2003, but I explored the new Background worker class, new to Visual [...]

How to post html form data with C# .NET.

In a program I made in C# .NET I needed the ability to post data to a PHP script. I wanted the data to be posted as if I was filling out the form on a web page. After trying a few different methods of doing this, mostly just putting the data in a query [...]

How to run .NET programs in Linux.

How to run .NET programs in Linux.

If you are a software developer you may or may not know that you can run your .NET 1.0 and .NET 2.0 applications natively in Linux. Even Windows.Forms (GUI Programs) programs can be run natively, making .NET a great and easy tool for cross platform development.

Making a simple ListBox with GTK and Glade3.

Adding a simple ListBox widget in your GTK application is easier than you think. This tutorial will show you how to create ListBox-like functionality in GTK using Glade3. GTK uses the TreeView control as their do-all list control. You can create simple lists, tree-like lists and all sorts of various list views. What is really [...]

Read More »

Glade 3 + GtkBuilder + Anjuta Example.

Today I whipped up a simple GTK application using the Anjuta IDE, Glade 3, and the new GtkBuilder system. As some of you know, Glade 3 and GTK changed things up. First Glade stopped using generated code which required you to use libglade. Now the GTK developers created their own interface interpretor called GtkBuilder. [...]

Read More »

Get Windows Service info in C#.

This code will show you how to search for Windows Services. The ServiceController class handles almost everything service related. You can also check if services are running by checking the service.Status property and you can search for installed services using the sample code below. The services we are talking about are the services that run [...]

Read More »

Visual Basic comes to Linux.

Visual Basic for Linux is here, sort of. In my search for the perfect RAD environment for Linux I came across a project called Gambas. Gambas is a Visual Basic like development environment for Linux which is very much like Microsoft’s drag and drop Visual Basic but it is not a clone. For an Open [...]

Read More »

Add background color to PNG files in C#.

This code snippet will let you force a background color into a PNG file with C#. When working with PNG files in Visual Studio sometimes you’ll run into situations where the background of a PNG shows up as grey or even blue. This is because of the PNG files transparency and Windows can sometimes [...]

Read More »

C#: A multi-threaded UDP server with BackgroundWorker.

The following code shows you how to build a UDP server in C# using the UUdpClient class for the networking and BackgroundWorker class for reporting data back to the application. This particular UDP server class is designed to be used with a Windows Forms or GUI. When using the UDP server you pass a BackgroundWorker [...]

Read More »