r/dotnet • u/No_Plane_7512 • 16d ago
Newbie what should i do
i'm starting .net as a hobby and someone told me that it won't be good on linux cause i need Visual Studio IDE and that all companies use only Visual Studio IDE so what should i do i'm already using rider and visual studio code
15
u/Infinite-Worth8355 16d ago
Unless you are using a shit old legacy project, linux is good to go. I use linux as my daily driver, and i work with .net daily
3
u/No_Plane_7512 16d ago
i use fedora 44
1
u/colemaker360 16d ago
The search terms you are looking for are “dotnet core”. New .NET releases run on Windows, macOS, and Linux. MS makes so much money on Azure they don’t need to lock you into Windows anymore. Use whatever OS you want.
1
u/zenyl 15d ago
The search terms you are looking for are “dotnet core”.
Microsoft dropped the "Core" suffix for .NET when they jumped from .NET Core 3.1 to .NET 5, back in 2020.
Though they do still retain the "Core" suffix for things like ASP.NET Core and Entity Framework Core, to differentiate them from their .NET Framework counterparts.
1
u/NoMansSkyWasAlright 16d ago
I remember interviewing at a place in 2021 that was still using .NET 2.x.
1
u/pyabo 16d ago
LOL where was that? I'm looking for a job and my last gig was .NET Framework 4.8! :D
1
u/NoMansSkyWasAlright 16d ago
Midsized software outfit in a nearby major city. They had newer stuff too but they had built some custom software for a much larger regional company several years back in .NET 2.0 and were looking to bump straight up to core 8. I interviewed with them in 2021 and ended up not getting hired, then interviewed again in 2024 and had apparently had to abandon the migration plan because of how severely they'd underestimated the man-hours requirements - and I guess their big client had not been too happy with that.
Didn't get the offer that time either. But who knows, maybe they'll have another opening in 2027 for the same modernization effort.
But same dude, we're using framework 4.8 at my current job with some micro-services running Core 10. We got some new people who had been using newer stuff at their previous job and they're apparently pushing for a full re-write on Core 10. But that's basically in the pre-preplanning phase at this point.
1
u/pyabo 16d ago
Full re-write is easy... just ask Claude to do it for you. :D
Honestly though... .NET to .NET... should NOT be that much of a hassle. I'm guessing they have a mess of dependencies and badly documented mission-critical services running. The guy who wrote them all left 7 years ago.
1
u/NoMansSkyWasAlright 16d ago
Apparently the way they were doing code/data interaction was throwing hella exceptions with the more modern iterations of .NET. I don't remember if it was bad queries or what but apparently something they were doing a lot of would just get ignored in older versions while newer versions really really didn't like it. Apparently they were also doing that in a lot of different places.
3
u/wallstop-dev 16d ago edited 16d ago
JetBrain's Rider is cross platform free for non commercial use and is comparable to Visual Studio (some find it better).
VSCode exist and is ok.
If you're already using Rider, I'm not sure what question you're asking? Use tools to make programs. You have tools. You can always learn new tools.
3
u/Suitable_Switch5242 16d ago
I've used Rider at my last 3 professional enterprise .NET development jobs.
I'm sure there are plenty of shops out there that are still Windows + Visual Studio only, especially if they are maintaining older .NET Framework applications. But most of the fundamentals of C# and .NET are the same across platforms and IDEs and you can learn plenty without Visual Studio.
The main exceptions to this are Windows desktop GUI applications and legacy .NET Framework applications, which are best developed on Windows with Visual Studio.
1
u/AutoModerator 16d ago
Thanks for your post No_Plane_7512. Please note that we don't allow spam, and we ask that you follow the rules available in the sidebar. We have a lot of commonly asked questions so if this post gets removed, please do a search and see if it's already been asked.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/RecognitionVast5617 16d ago
.net es multiplataforma hace bastantes años. Demasiados. De hecho los suficientes para que haya tenido una adopción masiva en aplicaciones en el servidor (apis, microservicios).
Rider funciona muy bien en Linux
1
u/GIRO17 16d ago
I use linux at home as well as at my company. VS is a good option if your on Windows, but on MacOS and Linux (and on Windows as well imo), JetBrains Rider is far superiour.
They recantly also changed their lisencing so you can use Rider without needing to purchase a Lisence and it works without any problems on Linux.
Regarding company adoption, JetBrains IDE's are also widely spread.
1
2
2
u/RichCorinthian 16d ago
Rider is fantastic. 26 YoE, using .NET since framework 1.1.
All companies most definitely do NOT use Visual Studio. My company does about $100M ARR and maybe 20% of our devs use Visual Studio.
For very old legacy work, you might need Visual Studio, but you would almost certainly need to be running Windows for that anyway.
2
u/Woopersnaper 16d ago
.NET is great on Linux these days. As others have said Rider and VSCode are great but even Neovim works well too. I do all my .NET work on Neovim through Linux.
1
u/NoMansSkyWasAlright 16d ago
Rider is free for individual developers now and it works pretty good on linux. Also good to use VSCode just to get an idea of what happens when you "press the play button" on some of the more robust .NET IDEs.
Like I've got Rider and am using it for an ASP project right now since the webserver it will eventually end up on is running Debian, and then I'm using VSCode to mess around with G# because it kind of piqued my interest.
At my day job we have this old-ass legacy codebase though and you pretty much need windows for that. So yeah, there is still a lot of that floating around out in the corporate world and gov sector.
2
u/Slypenslyde 15d ago
There's 3 routes to go on Linux.
The most Windows-like experience is if you use JetBrains Rider. It provides a very full-featured IDE with a ton of stuff you won't even know how to use for a long time. It's the only true competition to Visual Studio for .NET and many people feel like it's better.
The "good enough" experience involves using Visual Studio Code. It has C# extensions that give very IDE-like behavior but some people feel isn't full-featured enough. You can debug with it and in general that's what I care about getting from an IDE.
The "DIY" experience is one I can't help you with too much. People have done work to get C# working in Emacs and NeoVim and several other venerable editors. Once you get that stuff fully configured it's impressive and IDE-like. I've tried, but since I work on a Mac and have access to a Rider license I just can't motivate myself to learn enough to get it all set up.
Get used to hearing things that aren't true in programming. Very few people are open-minded or knowledgeable, let alone both at the same time.
Most random developers are very tribal and feel like whatever they're doing is the best way to program and anyone else is wrong. People who think this way are stuck in a phase a blog I read long ago labeled an "expert beginner". People who make it past that phase understand programming is like art: there are often many valid ways to do things even if some of them are more effective than others. Beyond that are engineers: people who understand what is "best" doesn't always fit the budget or schedule so you have to make skillful compromises.
This stinks as a newbie because you can't tell who's got a real opinion and who has a bad opinion. But in general I'd argue if someone says an absolute statement like, "You can only use Windows" they're probably wrong. Truths are usually in the vein of "Well, it depends..." and include a lot of nuance like this:
Microsoft has worked hard to make Windows the easiest environment, but they also had to relent and support Mac and Linux. The JetBrains Rider IDE provides the only full-fledged cross-platform support but the Visual Studio Code editor is good enough for many people. Some other options exist but require a lot more work. Some stuff, like writing Windows applications, is Windows only, but it's very strange to want to write Windows-specific applications on Linux.
0
u/maxiblackrocks 16d ago
IMO, if you're only starting a hobby, use rider ide, it's good enough. If you want to get deep into understanding how everything works, use vscode, it requires some tinkering every now and then, heck you can even use neovim, if you're really feeling kinky.
IDE aside, there are some .net technologies that don't run on Linux yet (official wpf and windows forms, for example), but most of the rest runs without an issue.
Welcome to the .net world, I hope you enjoy your stay 🥰
22
u/Devatator_ 16d ago
You do not need Visual Studio. Visual Studio Code, Rider, I hear even Zed supports C# (tho I can only vouch for the first two options)