Question:
Is .NET framework platform independent?
1970-01-01 00:00:00 UTC
Is .NET framework platform independent?
Ten answers:
2016-08-24 16:20:25 UTC
Mick Dale and David Lewis posted the same question. You should see the answers side by side.
2016-04-01 20:06:21 UTC
explain what you mean as it is a dependency for many core windows programs but it also needs them to run so it can as everything inside of the windows OS is dependent upon one another and nothing is really "independent" of something else.
jplatt39
2007-08-17 04:20:40 UTC
It is NOT platform independent. There are projects, such as Mono, which will provide functionality on other operating systems, however, in common with most Microsoft products, the concepts are so intimately tied to the concepts behind their other products, that projects built within this framework will run best in a Windows Environment.



VBScript or Javascript are within their limitations good languages for platform-independent web development. Java is a good language for Platform-Independent development. If you want something which works the same across all operating systems, go in that direction. Put another way: if you're going to write it with dot Net, just write it for Windows in a way that Wine will run it -- because the related projects do essentially what Wine does so why bother?
ashokkumar
2007-08-17 03:46:52 UTC
.NET is designed to be platform independent .C# Is best lang.
Dave H
2007-08-16 03:06:09 UTC
.Net is Microsoft dependent. The same way that the Java virtual Machine is Sun Microsystems dependent.



Microsoft may port the .Net framework to other platforms if it is to their advantage. For example, they may decide to sell the .net tools ported to linux or unix for the same price that they sell their OS that includes the .net framework.



Now there is another question relating to platform independent. It relates to web servers. Ajax APS.net web servers will look at the capabilities of the browser and send different code to the browsers based on their capabilities. If the client browser doesn't support a certain capability/function, the web server will work around that disability and the application will still work (so Microsoft says).



So if you mean platform independent in regards to applications running on a machine, .net is Microsoft dependent (except for a clone here or there). If you are looking at all of the possible browsers that can access a web based applictions written in ASP.net/Ajax, then Microsoft is addressing all of the browser platforms (IPhone, IE, firefox, Mozilla, Cellphone) and allowing a single source solution to serve those pages. (With Visual Studio.net/AJAX)



In terms of which language in the .net framework is the best, VB, VC#, .. all compile into the same intermediate language that is comipled by the .net runtime when it is first used. The compiler looks at the CPU and generates all of compiler options based on the CPU to create the code optimized for that system. This is where java and the .net framework differ. The .net framework is optimized to the run-time enivoinment that it is running on. It knows how to run better on a CHIPx686 than on a CHIPx486. The developer does not target the code to a processor, the .net framework targets the code to the machine that it is running on.
2007-08-16 01:25:23 UTC
i personally use and prefer usign c#, due to the fact it is strongly typed, and i like the use of generics in c#.



I also find it easier to read, than vb but i just think that is personal preference.



There always a race of new featured between java, and c#. I feel c# has a few more things going for it at the moment.



Allthough if you can do c# you can normal cross the road to java world quite easily as the prinicibles are the same, and vice versa with java to c#.



.net is not truely platform independent. it need windows in order to run it.



but there is a project called mono, which is porting .net into the linux world, i have used it and it is pretty good, when i last looked there still working on bring .net 2 to mono, as mono is .net 1.1 at the moment.
2007-08-16 01:24:29 UTC
That was the intent.
Last Sipahi
2007-08-16 01:04:34 UTC
It's actually Windows independent. But there is something called Mono to run .Net applications on Linux. Check this site : http://www.mono-project.com/Main_Page
Csaba
2007-08-16 01:04:23 UTC
C# the best, integrates a little from all of others. Platform dependent?? noo (I'm not shure what means that.. runs under linux?)
Neeraj Yadav♄
2007-08-16 01:53:24 UTC
Well you asked very debatable Question.



As matter of fact No language is platform independent.

Not Java

Not even .Net

whew!...Not even html



Well no matter what platform you working on theres always HARDWARE constraints that we cant neglect.

I mean.....you cant run .Net programs in P1 computers?right?



well if you neglect this Hardware things...



Yet .net prog are platform independent &language independent only until MSIL.



later when it reaches CLR (common language Runtime) it becomes platform specific.



CLR is one of important feature of CLOSE SOURCE PROJECTS like windows.





Moral of the above Story is

*.Net is strictly platform independent

* .Net is Language independent

*.Net can transfer data over Networks.

~~~~~~~~~~~~~~~

Append to this ...You just cant Compare Languages in .Net n say this one is Best.



It all depends on what you need.



why VB.Net

Pros

- it has significant changes were made that broke backward compatibility with older versions and caused a rift within the developer community.

-It has better Visual aspects you can say it complete Visual Prog. langauge.

-We can use Win32 APIs to do things that we cannot do with the standard Visual Basic functions such as accessing arbitrary registry keys and values. In many cases, you also use Component Object Model (COM) component libraries to extend the application's functionality; the most obvious example is the ActiveX Data Objects (ADO) library that our application uses for data access.



Cons

-The creation of open-source tools for VB.NET development have been slow compared to C#, although the Mono development platform provides an implementation of VB.NET-specific libraries and is working on a compiler, as well as the Windows Forms GUI library.

-We have to learn how Win32 APIs work and how to call them from Visual Basic, which can be a time-consuming, error-prone task. You also have to learn how to use various COM components from Visual Basic, each with a different object model.



Why c#?



pros

*C# is Microsoft's Answer to very efficient JAVA

*C# is a simple, type-safe, object oriented, general-purpose programming language. Visual C# provides code-focused developers with powerful tools and language support to build rich, connected web and client applications on the .NET Framework.

* Because software robustness, durability, and programmer productivity are important, the language should include strong type checking, array bounds checking, detection of attempts to use uninitialized variables, source code portability, and automatic garbage collection.

*The language is intended for use in developing software components that can take advantage of distributed environments.

* Programmer portability is very important, especially for those programmers already familiar with C and C++.

*Support for internationalization is very important.

* C# is intended to be suitable for writing applications for both hosted and embedded systems, ranging from the very large that use sophisticated operating systems, down to the very small having dedicated functions.

* Although C# applications are intended to be economical with regards to memory and processing power requirements, the language was not intended to compete directly on performance and size with C or assembly language



Visit link below it has comparison c# n VB.net

http://en.wikipedia.org/wiki/Comparison_of_C_sharp_and_Visual_Basic_.NET





J#



J# runs a distant fourth in terms of adoption. J# is a language primarily designed to ease the transition of Java applications to the .NET framework; it allows developers to leave much of their Java or J++ code unchanged while still running it in the .NET framework, thus allowing them to migrate small pieces of it into another .NET language, such as C#, individually. J# does not receive the same level of updates as the other languages, and does not have the same level of community support



j# has to be of no use you are known to JAVA.



I will recommend you C# Although and ironicaly i prefer *JAVA* for myself.

Yet feel lofty i had explained it better then others .Net programmer in above posts........j/k...LOL...



Hope you find it relevant

Cheers:)


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...