ASP.NET on Linux

  • Thread starter Thread starter etam
  • Start date Start date
E

etam

Hi,

I am a .NET programmer and I have to create a very big web
application. The problem is that available servers are using Linux.

Is there any way to run my ASP.NET application, written using Visual
Studio 2005 on this servers?

I read about MONO... Does it really works? Will it be supported in the
future? Did anyone tried it?

Is there any other solution?

Thanks in advance,
Etam.
 
I read about MONO...

Mono is a port of the .NET Framework to Linux, Solaris MacOSX and Unix -
Microsoft is not involved.
Does it really work?

The .NET Framework is intended to be run on the Windows platform. Mono will
allow most applications written for the .NET Framework to *run* on other
platforms - whether they actually *work* or not depends what parts of the
Framework they use, how complex they are, etc...
Will it be supported in the future?

Mono is currently *sponsored* by Novell - it's not *supported* by anyone in
the traditional sense apart, I suppose, from its own community, like any
other open-source project...
Did anyone try it?

I don't know of any serious developer who runs any .NET Framework
applications on anything other than Windows...
 
re:
!> I read about MONO... Does it really works?

Yes.

re:
!> Will it be supported in the future?

I think so, yes.

The latest release was made April 20, and it, finally, includes everything
which the .Net Framework 2.0 includes for the Windows platform.

It doesn't have WebParts, though, but they are SharePoint Services features.

re:
!> Did anyone tried it?

I know several developers who are using it regularly.

If you like both Linux *and* ASP.NET, Mono will keep you happy.

There's tons more info and links about ASP.NET on Linux,
( and on Solaris, Mac OS X and Unix... ) here :

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




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espanol : http://asp.net.do/foros/
======================================
 
See below:

etam said:
Hi,

I am a .NET programmer and I have to create a very big web
application. The problem is that available servers are using Linux.
Lucky you. I mean it!
Is there any way to run my ASP.NET application, written using Visual
Studio 2005 on this servers?
Yes. You need Apache and mod_mono, plus xsp to run asp.net programs on
Apache.
I read about MONO... Does it really works?
Yes.

Will it be supported in the future?

Yes. As much as anything will. See:

http://www.mono-project.com/Kickstart
Did anyone tried it?

I got an MSc trying it. This was in the days of .NET 1.1 and VS2003, but
everythig (ASP.NET, .NET remoting, database access to MySQL) worked right
out of the box.

Have you looked at:

http://www.mono-project.com/Software
Is there any other solution?
Yes:

http://www.gnu.org/software/dotgnu/

But it's not as mature as Mono and doesn't cover as much of the ground. I
understand it uses the Mono libraries for ASP.NET.
Thanks in advance,

Don't mention it.


Peter
 
re:
!> I read about MONO... Does it really works?

Yes.

re:
!> Will it be supported in the future?

I think so, yes.

The latest release was made April 20, and it, finally, includes everything
which the .Net Framework 2.0 includes for the Windows platform.

It doesn't have WebParts, though, but they are SharePoint Services features.

re:
!> Did anyone tried it?

I know several developers who are using it regularly.

Do they use Visual Studio to create the application?
If you like both Linux *and* ASP.NET, Mono will keep you happy.

There's tons more info and links about ASP.NET on Linux,
( and on Solaris, Mac OS X and Unix... ) here :

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

Juan T. Llibre, asp.net MVP
asp.net faq :http://asp.net.do/faq/
foros de asp.net, en espanol :http://asp.net.do/foros/

Thanks for the links... I read it but you know, it is written by Mono
developers, they have to believe it worsk ;).
 
See below:


Hi,


Lucky you. I mean it!

You mean lucky beacause .NET programmer or have to use Linux?
Yes. You need Apache and mod_mono, plus xsp to run asp.net programs on
Apache.

I know that kind of information. I need to be sure that my application
will work.
 
Mono is a port of the .NET Framework to Linux, Solaris MacOSX and Unix -
Microsoft is not involved.

I heard something, quite some time ago that Microsoft is involved in
this with Novel... Am I right?
 
etam said:
You mean lucky beacause .NET programmer or have to use Linux?

Lucky to be using Linux, I meant.
I know that kind of information. I need to be sure that my application
will work.

There's no guarantees - any more than there would be with Java. It depends
on what you've put in your code. It'd be mad to try to deploy a whole, very
large project all in one go. You'll need to go bit-by-bit and check that
things work as you go along. This is nothing to do with Mono. It's just
common sense.

Lots of things can trip you up. If you're using Windows directory paths
anywhere, if you're assuming the existence of the %WINDOWS% directory, if
you're using COM interop, if you're using Windows services and have
specified a user type that doesn't exist in Linux.etc etc.

It's always hard writing cross-platform code - especially if you haven't
designed it to be x-platform from the ground up. That can really be a pain.

HTH


Peter
 
etam said:

Looked at it. Didn't try it. Basically it's trying to convert CIL to Java
byte code IIRC. Seems to me you're better of writing x-platform code in C#
from the get go. Unless you already have Java skills and can use those to
get over the x-platform issues. But I didn't think it worth the effort to
become skilled in J2EE when the C# skills (for Mono) were already available.

Just my 2c. YMMV.


Peter
 
Thanks for all your help. Finally I decided to use pure Java
technology. Now I have to decide between JSF and Tapestry.

Regards,
Etam.
 
Back
Top