LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-08-2011, 04:55 AM   #1
Shecuna
LQ Newbie
 
Registered: Mar 2011
Posts: 1

Rep: Reputation: 0
C# Webservice on Linux without Mono ?


Dear Community,

I have a little problem ... I have to write a C# webservice with ASP.NET. Thats quite simple. Start Visual Studio and some clicks later the webservice is done. Running it on apache under Windows is simple as well. Just download the Apache module and it works. Making it run under Linux is simple, too. Just use MONO and youre done. The problem is that i am not allowed to use MONO. So i have to find a way to make this C#-Webservice run under Linux without using Mono ...

Can anyone help me ?

Greetings
 
Old 03-08-2011, 08:31 AM   #2
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,223

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Why would that be a problem? Build it on a computer with Mono and deploy the compiled binaries to the computer that doesn't have Mono.

Of course, if what you mean is that you can't install the Apache module on the deployment computer, then the question is: "how do I get Mono working on a server that doesn't support it and where I'm not allowed to add support?" That question answers itself.

Last edited by dugan; 03-08-2011 at 10:11 AM.
 
Old 03-08-2011, 02:26 PM   #3
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
The "promise" of web services was that they shouldn't CARE about what language they were written in, or what platform they were running on.

Your "web service" can be written in any language.

However, you chose to implement it in C#. Hence you need a .Net runtime in order to execute your implementation.

Soooooooo -

Mono would be a good choice. Windows and IIS would be another good choice.

Or you can always re-write your implementation in Java ... or Perl, Python, Ruby or C++
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Google Search Image API / WebService mlpa Slackware 5 08-05-2013 03:01 PM
Mono 1.1.12 - Install older mono to co-exist with current version ryerke Linux - Software 4 03-02-2010 08:54 PM
Freebsd Webservice problems fatum112 *BSD 6 08-14-2006 12:24 PM
Sending Objects to a Webservice (Java) megabot Programming 4 07-03-2006 07:38 AM
Help Mono Installed But Mono Develop Won't Load TheGreatGonzo Slackware 8 05-18-2006 06:42 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration