Linux .Net Dev machine

Status
Not open for further replies.

svdsinner

Ars Legatus Legionis
15,152
Subscriptor
I do my primary development on Windows/Visual Studio/C#, but for years I've also tinkered in numerous alternative development environments.

Now with cross-platform .NET 5 coming out of Beta in the next few months, I'm wondering if it might be prudent to add a Linux development computer to my primary tools. (I'd keep the Windows/Visual Studio machine as primary, and have the Linux machine as a 2nd PC.) I'm thinking it would be useful for (obviously) cross-platform testing, and also for easier access to the plethora of Linux utilities that are more accessible in 'nix rather than Windows.

1) How much hardware would a Linux .NET Dev machine need? (FWIW, I'll be doing primarily data driven apps with minimal graphics involved. I'd use the main fire-breathing Windows machine for significant data-crunching.) What good uses for the machine would depend on machine performance? (E.G. If I used it as a CI build server, it would need to compile and build at a reasonable pace.)
2) What are some concrete examples of Linux dev utilities that would have value above Windows equivalents for ASP.NET 5 web development? For mobile/ios/Android apps?
3) Any relevant stories from anyone who has crossed between Windows and Linux development machines?
 
D

Deleted member 43669

Guest
[url=http:/civis/viewtopic.php?p=29985627#p29985627:35w96rpp said:
svdsinner[/url]":35w96rpp]
1) How much hardware would a Linux .NET Dev machine need? (FWIW, I'll be doing primarily data driven apps with minimal graphics involved. I'd use the main fire-breathing Windows machine for significant data-crunching.) What good uses for the machine would depend on machine performance? (E.G. If I used it as a CI build server, it would need to compile and build at a reasonable pace.)

Some might flame me, but the hardware requirements should be mostly equal between Linux and Windows.

3) Any relevant stories from anyone who has crossed between Windows and Linux development machines?
[/quote]

Take into consideration that- until proved contrary- only Windows is a first-class .NET citizen. Can you run SQL Server on Linux? Which database are you going to use? Is it going to be fully-featured?
 
I use a Linux container on my Nas that has Mono compiled on it. I do my main development in VS and SCP the binaries over to the Linux container and see what stuff breaks.

VS's debugger is much better in getting the exact error out, Xamarin studio sometimes gives a generic message while VS will tell you what is really happening.

All in all it works very well. Just keep in mind to use PathSeperator char and path combine instead of the usual "\\" format and stuff regularly just works.
 

Drizzt321

Ars Legatus Legionis
34,922
Subscriptor++
[url=http:/civis/viewtopic.php?p=29992789#p29992789:17tr1vgr said:
Fruity Pebbles[/url]":17tr1vgr]
[url=http:/civis/viewtopic.php?p=29989425#p29989425:17tr1vgr said:
motytrah[/url]":17tr1vgr]If you have a reasonable fast windows machine just run it in as a VM. VirtualBox is free and "good enough". I run Linux and Windows VMs on my Mac Dev environment all the time.

Agreed. Start with a VM.

Yea, this is probably much easier (and definitely cheaper). Plus, you can have a couple different of the common distro's setup so you can test it out since some distros have some weird differences between others. I'd say Ubuntu, RedHat/Fedora/Centos, and Debian as your core distros.
 
Status
Not open for further replies.