View Single Post
Old July 16th, 2005, 03:13 PM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts

I am afraid Peter is right, so you'll have to get used to the idea.

.NET applications run on the .NET Framework which *is* a requirement for any .NET application. Consider something simple like this:

Console.WriteLine("Hello World");

For you, this is a simple statement to write Hello World to the console. However, under the hood, this single line triggers quite some code that is responsible for displaying the text on the console. This code is hosted in the .NET Framework that abstracts and hides all the complexity of something as simple as writing to the console for you.

The same principle applies to other .NET technologies like Win Forms, ASP.NET applications, Windows Services etc. They all require the .NET Framework.

It's the same with Java applications. You cannot run a Java application without the Java virtual machine / run-time environment. The only difference with .NET is that the Java VM is available for many different OS'es.

If you want to go cross-platform take a look at Project Mono. It's an open source implementation of .NET. It isn't finished yet but it looks like an interesting opportunity. However, even Mono requires some sort of Mono .NET framework on the client's machine.


Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: You Think I Ain't Worth A Dollar, But I Feel Like A Millionaire by Queens of the Stone Age (Track 2 from the album: Songs For The Deaf) What's This?