By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,403 Members | 1,344 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,403 IT Pros & Developers. It's quick & easy.

Tutorial for Linux, Mono and ASP.Net

P: n/a
In order for my company to go ahead and use .Net and C# (over java), I
need to know how to install and run a C# ASP.Net application not only
on Windows, but on Linux.

I'm a Windows developer, currently writing a c# ASP.Net application.
The last time I used Linux (or whatever you want to call it) was back
at Uni 5 years ago.
What I want to do, is to see if I can get my ASP.Net project working
on Linux using mono (www.mono-project.com) - unless there is something
better out there.

Are there any tutorials around that provide step by step from the word
go how to do this?
I.e.
1) Where to download and how to install Linux (on a VMWare - virtual
machine) to host the ASP.Net application.
2) how to install mono on Linux.
3) how to set up mono to run an ASP.Net application.

Many thanks for any links or hints.
Tony.
Nov 22 '05 #1
Share this Question
Share on Google+
7 Replies


P: n/a

"Tony Baker" <ba********@hotmail.com> wrote in message
news:2a**************************@posting.google.c om...
In order for my company to go ahead and use .Net and C# (over java), I
need to know how to install and run a C# ASP.Net application not only
on Windows, but on Linux.

I'm a Windows developer, currently writing a c# ASP.Net application.
The last time I used Linux (or whatever you want to call it) was back
at Uni 5 years ago.
What I want to do, is to see if I can get my ASP.Net project working
on Linux using mono (www.mono-project.com) - unless there is something
better out there.

Are there any tutorials around that provide step by step from the word
go how to do this?
I.e.
1) Where to download and how to install Linux (on a VMWare - virtual
machine) to host the ASP.Net application.
2) how to install mono on Linux.
3) how to set up mono to run an ASP.Net application.

Many thanks for any links or hints.
Tony.


I'd think the best place to start would be at the Mono Project:

http://www.mono-project.com/about/index.html

There appears to be quite a bit of info there, including mention of their
ASP.NET compatibility libraries.

--
Peter [MVP Visual Developer]
Jack of all trades, master of none.
Nov 22 '05 #2

P: n/a
Whit the new site they have introduced an IRC channels as well, read in
the Resources part.
Sunny
In article <2a**************************@posting.google.com >,
ba********@hotmail.com says...
In order for my company to go ahead and use .Net and C# (over java), I
need to know how to install and run a C# ASP.Net application not only
on Windows, but on Linux.

I'm a Windows developer, currently writing a c# ASP.Net application.
The last time I used Linux (or whatever you want to call it) was back
at Uni 5 years ago.
What I want to do, is to see if I can get my ASP.Net project working
on Linux using mono (www.mono-project.com) - unless there is something
better out there.

Are there any tutorials around that provide step by step from the word
go how to do this?
I.e.
1) Where to download and how to install Linux (on a VMWare - virtual
machine) to host the ASP.Net application.
2) how to install mono on Linux.
3) how to set up mono to run an ASP.Net application.

Many thanks for any links or hints.
Tony.

Nov 22 '05 #3

P: n/a
Tony Baker wrote:
In order for my company to go ahead and use .Net and C# (over java), I
need to know how to install and run a C# ASP.Net application not only
on Windows, but on Linux.
Here's a good user site, there's a ( partial ) tutorial document:

http://www.gotmono.com/

The mono site itself has some information:

www.go-mono.com
I'm a Windows developer, currently writing a c# ASP.Net application.
The last time I used Linux (or whatever you want to call it) was back
at Uni 5 years ago.
What I want to do, is to see if I can get my ASP.Net project working
on Linux using mono (www.mono-project.com) - unless there is something
better out there.
There is www.dotgnu.org but mono seems to have run rings around them...

Are there any tutorials around that provide step by step from the word
go how to do this?
I.e.
1) Where to download and how to install Linux (on a VMWare - virtual
machine) to host the ASP.Net application.
Ask in COLA

comp.os.linux.advocacy
2) how to install mono on Linux.
FAQ at www.go-mono.com
3) how to set up mono to run an ASP.Net application.
I would subscribe to the mailing lists at www.go-mono.com

Many thanks for any links or hints.
Tony.


Nov 22 '05 #4

P: n/a
> 1) Where to download and how to install Linux (on a VMWare -
virtual
machine) to host the ASP.Net application.


My favorite site is: http://www.linuxiso.org/
you can get just about any distro available there. As you are
probably rusty with linux I would recommend either Mandrake or
Fedora Core 2, As they both have easy installers and do a great
job of autodetecting your hardware.

Andrew Faust
Nov 22 '05 #5

P: n/a
> My favorite site is: http://www.linuxiso.org/
you can get just about any distro available there. As you are
probably rusty with linux I would recommend either Mandrake or
Fedora Core 2, As they both have easy installers and do a great
job of autodetecting your hardware.


Cool! Thanks heaps for all your replies so far, I'm downloading Fedora
Core 2 over the weekend and will no doubt have fun installing it on a
VMWare virtual machine next week!
Nov 22 '05 #6

P: n/a
In case you didn't see this previous post by David Sanders, here's his list
of the 57 easy steps it takes to install Fedora Core 2 on a VPC:

1. Download the 4 ISO images.
2. Download http://www.sandersweb.net/vpc.zip
This contains the kernel and some other config files. It is rather
difficult to compile the kernel on a malfunctioning system so I'm
providing it to you.
3. Place vpc.zip in a shared folder (so we can get it later via samba)
4. Create a virtual machine
5. Boot from first ISO image
6. Type: "linux text" at the boot prompt
7. Select language (english)
8. Select keyboard (us)
9. Select Monitor (LCD Panel 800x600)
10. Select System Type (workstation)
11. Select Disk Partitioning (auto)
12. Select Remove all partitions
13. Select OK to confirm
14. Select bootloader (grub)
15. Select special options (none)
16. Select boot password (none)
17. Select OK to confirm boot loader
18. Select install boot loader into MBR
19. Network config - DHCP - or enter IP address etc.
20. Select hostname (whatever)
21. Select Firewall (enable)
22. Select additional languages (english)
23. Select Time Zone (whatever)
24. Select Root Password (whatever)
25. Select Package Defaults (customize)
26. Package Selection (whatever, except ensure you pick "Windows File
Server" since we will need samba later)
27. Install Media (continue)
28. (format hardisk)
29. (install packages)
30. Reboot
31. SEGMENTATION FAULT (ignore)
You will see a lot of error message, these can be safely ignored.
You may get segmentation faults on some of the below commands, just try
the command again until it works.
32. login as root
33. mount /proc
34. mount /boot
35. mount -o remount,rw /
36. modprobe tulip
37. ifup eth0 boot
38. cd /
39. Now we go get the vpc.zip file.
Type: smbclient //win2ksvr/Share -U david
But replace "win2ksvr" with the name of your computer and "Share" with
the name of your shared folder and "david" with your username on XP/2000
host.
40. Enter your password for your host computer
41. Type: get vpc.zip
42. Type: quit
43. unzip -o vpc.zip
44. shutdown -r now (or right-alt-del)
45. (Computer will hang when trying to shutdown)
46. From the VPC menu select Action->Reset
47. (reboots)
48. (Enters graphical setup menu)
49. Agree to the license agreement
50. Enable network time protocal (if you want)
51. Display setup (you can leave this as is for now)
52. Establish an user account
53. <additional CD's> - hit next
54. <finish setup> - hit next
55. Login
56. <All is well with the world>
57. Send me an e-mail to say it worked.
"Tony Baker" <ba********@hotmail.com> wrote in message
news:2a*************************@posting.google.co m...
My favorite site is: http://www.linuxiso.org/
you can get just about any distro available there. As you are
probably rusty with linux I would recommend either Mandrake or
Fedora Core 2, As they both have easy installers and do a great
job of autodetecting your hardware.


Cool! Thanks heaps for all your replies so far, I'm downloading Fedora
Core 2 over the weekend and will no doubt have fun installing it on a
VMWare virtual machine next week!

Nov 22 '05 #7

P: n/a
Hmm, haven't had much luck. When I have finally installed and get to
the login, the VMWare screen keeps going black for a few seconds then
coming back, then repeating. I can only type in stuff when the screen
doesn't go black.
I got up to step 36 before the screen seemed to wipe itself and I lost
the command line prompt...
Nov 22 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.