none
.NET applicatons. RRS feed

  • Question

  • .NET is plateform independent. When we write code and compile it, it will create MSIL. Which is not ant CPU dependent code. But we can not run the applications in non windows plateform, because Microsoft do not provide .NET framework for the non windows plateforms.

    Am I right?

    My question is if I create a .NET application in windows XP. Can I run it in any windows operationg system? For example Windows 98, Winsows vista, Windows 7 or Windows phone?


    Happy coding...

    Arnab Roy Chowdhury.
    Thursday, June 30, 2011 7:20 AM

Answers

  • Hello Arnab,

    Please get below the details of .net framework and their default OS platforms

     

    Version Version Number Release Date Visual Studio Default in Windows
    1.0 1.0.3705.0 2002-02-13 Visual Studio .NET         Windows XP Tablet and Media
    1.1 1.1.4322.573 2003-04-24 Visual Studio .NET 2003         Windows Server 2003
    2.0 2.0.50727.42 2005-11-07 Visual Studio 2005
            Windows Server 2003 R2
    3.0 3.0.4506.30 2006-11-06
            Windows Vista, Windows Server 2008
    3.5 3.5.21022.8 2007-11-19 Visual Studio 2008         Windows 7, Windows Server 2008 R2
    4.0 4.0.30319.1 2010-04-12 Visual Studio 2010

     

    Further Windows 98 Supports all of the .NET Framework except Microsoft ASP.NET , you can also check below link

    http://msdn.microsoft.com/en-us/library/ms973853.aspx

     

    Thanks,


    Raheel Khan
    Friday, July 1, 2011 11:29 AM
  • The Microsoft .NET Framework is platform independent, even if the main target platform is Microsoft Windows.
    Since 2002 (Microsoft .NET Framework 1.0), the Common Language Runtime (CLR) and the Common Language Infrastructure (CLI) were submitted to ECMA for standardization and the specifications are available to anyone that wants to build a .NET CLR for another operating system (pvdg42 told you something about the MONO Project, though you can develop and run .NET applications in MONO only in C#, if I remember well) or to create a new .NET-compliant language.
    Think about Java: Java is platform independent because someone developed more Java Virtual Machines targeting different operating systems.

    You can create your application in every Windows version, but you can run it only on a Windows version that supports the .NET Framework version set as target when you developed the application.
    Take a look at the following web address

    http://msdn.microsoft.com/en-us/library/ms973853.aspx

    for further informations about the .NET Framework support on Windows operating systems.

    Bye.


    Luigi Bruno


    Saturday, July 2, 2011 11:19 AM

All replies

  • No, and no.

    You may be able to run your app in Linux. Check out the Mono Project.

    http://www.mono-project.com/Main_Page

    You should be able to run your .NET app on any platform that supporte the VERSION of the .NET framework you targeted when you developed it. So your Windows 98 example will definitely NOT work if you targeted, for example, .NET Framework 4.0. Also, Windows Phone only supports compact frameworks, so you'll have to target that if you want to run your app on Windows Phone.

    Thursday, June 30, 2011 1:10 PM
  • That means .NET feamework is not supported in windows 98?

    Thank you.


    Happy coding...

    Arnab Roy Chowdhury.
    Friday, July 1, 2011 9:11 AM
  • Hello Arnab,

    Please get below the details of .net framework and their default OS platforms

     

    Version Version Number Release Date Visual Studio Default in Windows
    1.0 1.0.3705.0 2002-02-13 Visual Studio .NET         Windows XP Tablet and Media
    1.1 1.1.4322.573 2003-04-24 Visual Studio .NET 2003         Windows Server 2003
    2.0 2.0.50727.42 2005-11-07 Visual Studio 2005
            Windows Server 2003 R2
    3.0 3.0.4506.30 2006-11-06
            Windows Vista, Windows Server 2008
    3.5 3.5.21022.8 2007-11-19 Visual Studio 2008         Windows 7, Windows Server 2008 R2
    4.0 4.0.30319.1 2010-04-12 Visual Studio 2010

     

    Further Windows 98 Supports all of the .NET Framework except Microsoft ASP.NET , you can also check below link

    http://msdn.microsoft.com/en-us/library/ms973853.aspx

     

    Thanks,


    Raheel Khan
    Friday, July 1, 2011 11:29 AM
  • Only earlier versions of the .NET Framework are supported on Win 98. As I said earlier, 4.0 is not.

    .NET Framework 2.0 is supported on Win 98 as are 1.0 and 1.1:

    http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=19

    You also should read about the limitations:

    http://stackoverflow.com/questions/298569/is-the-net-framework-usable-on-win98

    2.0 is the end of the trail for Win 98. .NET Frameworks 3.0 and newer are not supported.

     

    Friday, July 1, 2011 1:20 PM
  • The Microsoft .NET Framework is platform independent, even if the main target platform is Microsoft Windows.
    Since 2002 (Microsoft .NET Framework 1.0), the Common Language Runtime (CLR) and the Common Language Infrastructure (CLI) were submitted to ECMA for standardization and the specifications are available to anyone that wants to build a .NET CLR for another operating system (pvdg42 told you something about the MONO Project, though you can develop and run .NET applications in MONO only in C#, if I remember well) or to create a new .NET-compliant language.
    Think about Java: Java is platform independent because someone developed more Java Virtual Machines targeting different operating systems.

    You can create your application in every Windows version, but you can run it only on a Windows version that supports the .NET Framework version set as target when you developed the application.
    Take a look at the following web address

    http://msdn.microsoft.com/en-us/library/ms973853.aspx

    for further informations about the .NET Framework support on Windows operating systems.

    Bye.


    Luigi Bruno


    Saturday, July 2, 2011 11:19 AM
  • If we do not use .NET Framework but use vb 6.0 or c++ to create application. Then is it can be execute on different plateform? I mean plateform independency is only provided by .NET Framework?

    I mean why I should use .NET Framework? Only to use the base class library and to gain the Facilities provided by CLR? Or it will help me to run my application on any .NET ramework supported OS?

    The main moto of java is 'develop one time and run any where, any time'. Is it fits on .NET Framework?


    Happy coding...

    Arnab Roy Chowdhury.
    Thursday, July 7, 2011 7:40 AM
  • "If we do not use .NET Framework but use vb 6.0 or c++ to create application. Then is it can be execute on different plateform?"

    Providing the runtimes are installed in the target pc and os must be windows.

     

    "The main moto of java is 'develop one time and run any where, any time'. Is it fits on .NET Framework?"

     

    No it is not fit for .Net Framework because Microsoft .Net Framework contains multiple versions and hence higher-version will definitely have a backward compatibility but sorry to say opposite is not possible in this .net framework.

    For JVM the story is completely different and hence the complied program will run in any os which support (have) JVM installed.

     

     


    Thursday, July 7, 2011 1:53 PM