Click here to Skip to main content
15,920,438 members
Please Sign up or sign in to vote.
0.00/5 (No votes)

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!

1 solution

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:[^],[^].

Share this answer
Casey Sheridan 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)
Sergey Alexandrovich Kryukov 13-Nov-12 9:43am    

Are you sure you really need nginx? Why not Apache?
Casey Sheridan 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.

Casey Sheridan 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.

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

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900