Does the Common language runtime basically guarantee that a .NET application will run on a different operating system, as long as the OS has the .NET framework installed on it? So can I run .NET applications on DOS,Windows 3.1,UNIX,LINUX ?
If not, then what is the big deal about the CLR. I thought it provided platform independence?
I guess I still don't feel lke my question has been answered. Doesn't the CLR imply a virtual machine, which implies platform independence? I hope someone can provide me with a technical answer to my original question.
Sorry, but .NET applications do run under Unix/Linux (and Mac OS X as well, I believe.)
However, not by using Microsoft's own implementation of .NET, which (despite offering platform independency) is Windows-only.
The third-party implementation, known as Mono, will run .NET apps on other operating systems. There is even a version of Mono for Windows.
Mono also comes with its own ASP.NET server, XSP.NET. It adds a menu item to the context menu (right-click) of a Folder in Windows Explorer, to allow you to start a Web server using the contents of that folder (which really comes in handy for debugging purposes!)
So, while Microsoft .NET Framework only runs on Windows, the Mono implementation of the Common Language Runtime (CLR) will run on most PC operating systems.
Hope this helps!
Marked as answer by AppDevForMe on Feb 05, 2013 02:28 AM
AppDevForMe
Participant
1396 Points
1327 Posts
Question about the CLR
Sep 28, 2008 10:54 PM|LINK
Does the Common language runtime basically guarantee that a .NET application will run on a different operating system, as long as the OS has the .NET framework installed on it? So can I run .NET applications on DOS,Windows 3.1,UNIX,LINUX ?
If not, then what is the big deal about the CLR. I thought it provided platform independence?
yassir.2
Participant
1393 Points
346 Posts
Re: Question about the CLR
Sep 29, 2008 12:17 AM|LINK
Well .net runs on win98 win2000 winxp Win2003 vista and win2008
AppDevForMe
Participant
1396 Points
1327 Posts
Re: Question about the CLR
Sep 29, 2008 02:26 AM|LINK
I guess I still don't feel lke my question has been answered. Doesn't the CLR imply a virtual machine, which implies platform independence? I hope someone can provide me with a technical answer to my original question.
yassir.2
Participant
1393 Points
346 Posts
Re: Question about the CLR
Sep 29, 2008 06:11 PM|LINK
.net does not run on DOS,Windows 3.1,UNIX or LINUX .
AppDevForMe
Participant
1396 Points
1327 Posts
Re: Question about the CLR
Sep 30, 2008 02:46 AM|LINK
Respectfully I appreciate your help. I guess I just don't feel like my question has been answered. Perhaps someone else can give input?
yassir.2
Participant
1393 Points
346 Posts
Re: Question about the CLR
Sep 30, 2008 03:35 AM|LINK
[:D] ok
alcexhim
Member
12 Points
1 Post
Re: Question about the CLR
Jan 31, 2013 11:48 AM|LINK
Sorry, but .NET applications do run under Unix/Linux (and Mac OS X as well, I believe.)
However, not by using Microsoft's own implementation of .NET, which (despite offering platform independency) is Windows-only.
The third-party implementation, known as Mono, will run .NET apps on other operating systems. There is even a version of Mono for Windows.
Mono also comes with its own ASP.NET server, XSP.NET. It adds a menu item to the context menu (right-click) of a Folder in Windows Explorer, to allow you to start a Web server using the contents of that folder (which really comes in handy for debugging purposes!)
So, while Microsoft .NET Framework only runs on Windows, the Mono implementation of the Common Language Runtime (CLR) will run on most PC operating systems.
Hope this helps!