[Mono-list] C# .net app to be deployed on Linux

Stifu stifu at free.fr
Mon Dec 2 08:53:53 UTC 2013


It really depends on the app, so it's not possible to give a simple answer.

.NET apps do not need to be recompiled to run with Mono (an app compiled
with .NET should run on Mono,  and vice versa). However, if the .NET app
uses Windows-specific code (specific paths, hard-coded separators, native
code calls, etc), it will need to be modified to run on Linux.

As for the database, it depends on what kind of database it is. Does the
same database also exist on Linux, or do you plan to use a different kind of
database on Linux? How is the database accessed? Is the connector assembly
used to access the database cross platform or not?

The changes needed depend on the app... But you could start by simply trying
to run it and see if you get any exceptions (if the app hasn't been designed
with Linux in mind, you probably will).


ManasiDesh wrote
> Hello Folks,
> 
> I have this C# .net application which talks to SQL database. Now I need to
> deploy the application on Linux. Do I need Mono on linux aswell? Will the
> C# application get compiled with Mono on Linux? Can It without any
> modifications talk to SQL database? If not then what are the changes I
> need to incoroprate?
> 
> Please provide your inputs.
> 
> Thanking you all in advance:)
> 
> Cheers,
> Manasi





--
View this message in context: http://mono.1490590.n4.nabble.com/C-net-app-to-be-deployed-on-Linux-tp4661408p4661411.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list