Tuesday, March 1, 2011

Running ASP.NET and VB.Net in Ubuntu.

Hi. I have a LAN-based application programmed in ASP.NET with VB as its code-behind. Also, MYSQL for the database. I just want to ask if I can run my application in UBUNTU? Thanks a lot.

From stackoverflow
  • Take a look at the Mono-Project. Its a portation of the .NET framework to Linux-based operating systems.

    However, it is not fully .NET 3.5 compatible and behaves different in some situations. Therefore, you may have to rewrite some code.

    Sergey Mirvoda : when some years ago checked mono basic it was completely unusable.
    Lex Li : Mono has many differences from .NET, so you need to pay much attention http://www.mono-project.com/Guidelines:Application_Portability
    Norbs : As far as I know, Mono was developed in C# right? Is there any problem if I run my application programmed in VB.net?
    winSharp93 : As both C# and VB.NET are compiled to IL there should be no difference.
    Madi D. : +1 , Even though this question can be marked as duplicate :), i just saw similar ones asking for "linux .net frameworks" yesterday!
    MarkJ : @winSharp93 Although C# and VB.Net are both compiled to IL there still could be differences. VB.Net code might require the `Microsoft.VisualBasic` namespace, I don't know whether that's included in Mono. Furthermore VB.Net uses some features of IL that C# doesn't, for instance exception filters. See here http://blogs.msdn.com/clrteam/archive/2009/02/05/catch-rethrow-and-filters-why-you-should-care.aspx
    Sergey Mirvoda : @winSharp93 Some tool should compile your vb.net code into IL. and that _tool_ called compiler, and if compiler lacks some of must have features ... you know that))

0 comments:

Post a Comment