Click here to Skip to main content
13,139,132 members (74,791 online)
Rate this:
Please Sign up or sign in to vote.

I've been developing a web forms application on Windows with Visual Studio. To host it, I have a Ubuntu 12.04 machine. It will use PostgreSQL for a database. I'm currently using .Net 4.0 but I'm not sure if I need .Net 2.0

I have read oodles of tutorials on how to install mod-mono,, mono, postgresql, all that stuff.
But I'm not finding:
1) Stuff that's completely relevant to my situation
2) Tutorials that match
3) Much info that makes sense

I have only up to a year's experience with Linux and not much technical time with it.

I would appreciate any help with this. Anyone with experience in this area is more than welcome to help. Thanks!
Posted 10-Nov-12 15:14pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

For ASP.NET, you will need not .NET, but alternative implementation of CLR, Mono:[^],[^].

Mono has a lot of documentation, but when it comes to programming, you can use .NET documentation. There are incompatibilities, but you mostly need Base Class Library (BCL), whuich is a part of ECMA standard.

Please see:[^],[^],[^].

To use ASP.NET, you will also need Apache with the module mod_mono:[^],[^].

GeekForChrist 13-Nov-12 8:32am
This is good stuff. But, do you know anything about using nginx with mono? (Sorry I didn't mention server software earlier)

Are you sure you really need nginx? Why not Apache?
GeekForChrist 13-Nov-12 9:54am
There's really two reasons I want nginx (no, I don't really need it)
1. Fast always sounds nice, even if it won't benifit me much with a small site
2. I don't really like Apache having such a market share when there are other great servers out there.

So really it's just preference.
Sergey Alexandrovich Kryukov 13-Nov-12 10:03am
If I were you I would probably try out nginx, even though in forum people discuss problems using ASP.NET. I never tried, so I cannot say anything more.

I think you still don't have a compelling reason to prefer nginx over Apache; even performance difference, if any, will hardly become a bottleneck, but functionality certainly is -- what if you are going to fail to run your ASP.NET site on nginx?

So, even though I would try out nginx, it does not look like this is your ultimate goal, and Apache is a viable option -- so, will you accept my answer formally (green button)? -- thanks.

GeekforChrist 13-Nov-12 10:08am
I would accept your answer but it doesn't answer enough of my question to let me move on. I still need to figure out which version of .net among other things (please refer to question).
I don't mean to offend you by not marking you as the answer. Maybe I should just create a new question with one less aspect.
Sergey Alexandrovich Kryukov 13-Nov-12 10:14am
You could move on without even asking the question, as most people do. Take everything the latest and don't struggle with the version. I don't see how it could be a problem, especially with ASP.NET (because the .NET layer used here is very thin).
GeekforChrist 13-Nov-12 10:15am
Sergey Alexandrovich Kryukov 13-Nov-12 10:26am
You are very welcome. I'm interested by ASP.NET development without IIS (try to avoid it by all means) myself, preferably on Linux, but cannot get enough time for this as this is far from my work. So, if I get some new experience, I'll gladly share it with you.

Good luck, call again.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.170915.1 | Last Updated 10 Nov 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100