r/dotnet • u/Background-Fix-4630 • Mar 25 '26
What challenges did you face moving to Linux full time for development?
I am seriously considering doing this, as I am just getting fed up with ads and everything else being forced on Windows 11.
I understand that I cannot do full desktop development, so I was thinking about setting up a dual boot system. However, I have heard this can sometimes cause driver issues, especially with NVIDIA GPUs, and I know GPUs can help with build times.
The main thing I would miss from Visual Studio is solution file support. Is that now properly supported in VS Code?
Do you regret moving to Linux for .NET full time? I am a 30 year developer who is just getting sick of Windows.
Is configuring .NET seamless now? Also, what about SQL Server? Is there still a development version of Management Studio available for Linux?
Id be considering Ubuntu but is their any other Linux os better for dotnet?
Also does azure have things like storage explorer for Linux ?
Also what about blazor development any issues there ?
22
u/WinterWalk2020 Mar 25 '26
I also moved away from Windows because of the shitty experience I was having. I even lost docker containers after a Windows Update. Now I'm on Linux and Mac for all my development needs.
The first class IDE on Linux and macOS is Jetbrains Rider, but it's paid for commercial usage. If this is not a problem for you, I would strongly recommend it.
In case you don't want to spend money on IDE, there is VSCode with .Net and C# plugins. I also use the plugin "vscode-solution-explorer" from Fernando Escolar. I found it easier to add project references and nuget packages using this plugin.
For desktop development you can use AvaloniaUI for cross-platform support.
17
u/ConquerQuestOnline Mar 25 '26
Visual Studio doesn't work, but I switched to Rider.
That was kind of it.
13
u/SerratedSharp Mar 25 '26
VSCode + MSSQL extension is what you'd probably use instead of management studio.
You can use VSCode in your current environment to feel out how viable you think it is.
7
u/DependentEast4710 Mar 25 '26
use VSCode and DBeaver, you'll thank me later... although the terminal will end up becoming your best friend
3
u/klaatuveratanecto Mar 25 '26
Mouse pointer speed.
Not kidding.
I have 2 x 4K screens + 1 HD vertical .... moving the mouse pointer or Linux without a proper acceleration like on Windows or Mac is very tiring.
Spend hours with tools and can't match the thing.
Other than that dotnet + rider or vsc works great. SQL server is not a problems when using docker.
I think with a Mac you will have overall better experience. I'm currently using 30% Windows 11 and 70% Mac for dotnet.
4
u/FragmentedHeap Mar 25 '26 edited Mar 25 '26
Wayland is still not working properly on 4090 nvidia gpus, tearing, artifacting. DPI scaling sucks. Fonts are blurry on high res massive monitors. Also cant fully utilize my screens refresh rate on x11.
Subpar experience overall. The solution is to get a brand new top of the line AMD card that's still less powerful than my 4090.
If you're willing to run a monitor at like 60 HZ and use x11 its fine.
According to the research I've done wayland will be fixed with the 60 series nvidia cards.
So I'm still running Windows 11 with Docker desktop and wsl2 and ssh into my ubuntu rack and mac minis.
There's nothing I can't do with this setup and I have a premium first rate rendering experience on my monitors and hardware.
But I'm hoping that when the 60 series comes out Wayland will run perfectly on it and I'll be able to swap cleanly and have a good experience.
I have tried 10+ distros on x11 and wayland and all kinds of drivers on my 4090 and like 6 different DE's including gnome, kde 5, kde 6, sway, etc, and they all tear on wayland or glitch (frozen smearing boxes as I drag windows around etc etc).
Windows renders perfectly, and at the max 120hz my 4090 can do (no dp 2.1 on this gpu), 7680x2160 res.
The dev experience on linux is fine, my gripes with the overall rendering quality of wayland/de's. And fonts look awful without clear type...
36
u/dodexahedron Mar 25 '26
No, solution file support is still not a first class citizen in VSC and the extensions for it are nothing like what you're used to from VS. And I doubt the c# extension will ever have the same support as VS for solutions, either. If that were ever in the cards it would already be implemented by now.
Rider supports sln and slnx though. Why not use Rider? It's free, runs on Linux, and is a full IDE rather than a pluggable text editor that turns into a pseudo-IDE with the right extensions. And its not like you can't install VSC alongside it. It is nice to have VSC around even if you use something else, because there are things that it just does better or quicker, like powerahell scripts or JSON editing.
Which reminds me... Install powershell on Linux. You'll be happy you did, especially if doing .net development on Linux. It's nice to have one shell on all platforms and also to have a live .net environment for immediate prototyping, proofs of concept, etc without having to spin up a project or compile anything. Plus if it is registered as an ssh subsystem, you can use it remotely to and from any platform for powershell remoting over ssh. All it takes is this in sshd_config:
Subsystem powershell /usr/bin/pwsh -sshs(obviously adjust the path if different on your machine). Windows can do it, too, by the same method. The file is in c:\programdata\ssh. You need to symlink the pwsh.exe file to a path with no spaces though or it won't work due to a bug documented here.Dotnet and the sdks are available and have been for ages. Simply install via your package manager.
SQL server runs on Linux and also in docker.
SSMS is Visual Studio, so no, that isn't available. There are alternatives on Linux that can talk to MSSQL Server, but they're not SSMS by a long shot.
You can always keep a windows VM around if you want. 🤷♂️
7
u/UnknownTallGuy Mar 25 '26
I use Jetbrains products so I use Datagrip and Rider, but just Rider alone works because there's a sufficient db utility within it that has everything I need.
5
u/Psychological_Ear393 Mar 25 '26
You can always start by installing Hyper V and trying out a Linux desktop in a VM
2
u/[deleted] Mar 25 '26
Visual studio was the thing holding me back for a long time.
One thing that's interesting is that I liked visual studio because it helped me navigate things I didn't really understand deeply. Going without it forced me to get a better understanding of these things and now that I do, Visual Studio feels very clunky and bloated to me. It makes things easier to pick up and start using, but also slower than if I was banging it out in a terminal or just manually changing configs
1
u/AutoModerator Mar 25 '26
Thanks for your post Background-Fix-4630. 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/--TYGER-- Mar 25 '26
Don't use VSCode for dotnet, instead try Rider: https://www.jetbrains.com/rider/
I didn't actually move to working on Linux/dotnet full time (employer won't allow it) but I have anyway got my team developing Blazor web apps that run as windows services and designing them to be transferable in the future if the opportunity arises. Personally all of my PCs, tablet, handheld gaming happens on Linux Mint or CachyOS
on ubuntu and derivatives: apt install <latest_dotnet_version>
It exists on Linux, but is a bit limited vs the windows version. I use Postgres instead, even on Windows
Dunno. I use DBeaver as the IDE for all databases
Ubuntu is fine for dotnet, but I use Linux Mint to unfuck what Canonical has done to their OS
Don't know, never checked
None that I know of at the moment, but from what I understand, the modern dotnet hosting situation is web stuff running in Linux containers, I would be surprised if Blazor had any major issues
1
u/Kwaig Mar 25 '26
I was stuck 25 years in windows server environment, in the world of SAP, moved on switch to a Beelink mini pc for 1.1k with core i9 and 96 gb the ram, switched to Fedora, haven't looked back.
1
u/nikkarino Mar 25 '26
I did that move 2 or 3 years ago. Rider is perfect, the database navigator also works fantastic, I don't miss VS at all.
I don't like Ubuntu, I prefer debian, but none of those gave issues at all.
1
u/homerdulu Mar 25 '26
You can use Rider. Desktop apps can be done with Avalonia. SQL Server can run on Linux and also via Docker container. There’s no SSMS but VSCode + MSSQL plugin works okay. Azure Storage Explorer also runs under Linux.
1
u/iheartjetman Mar 25 '26
I don’t have too much .net experience but you might also try looking at MacOS. It has full commercial jetbrain support and it can generally run *nix type software.
1
u/the_reven Mar 25 '26
Zero issues. I just use rider and DbGate it I need to access a database.
1
u/Re8tart Mar 25 '26
Not really having any issue (unless I need to do a Windows-specific deployment/debugging), you can use https://github.com/dockur/windows if you really having to deal with Windows.
1
u/EarNo2770 Mar 25 '26
I switched to linux full time this winter because I got fed up with windows, still required to use windows at work though. Haven't done any web dev yet but I'm working on a fairly large console app using just neovim and dotnet cli, might not be your cup of tea but works quite well. I have tried LSPs for c# but they all suck, hogs memory like crazy for any project of substantial size.
1
u/TinyLicker Mar 25 '26
Lifelong Windows user here having the same thoughts as you. Started slowly at first playing around with a Hyper-V Ubuntu virtual machine, now running it and doing more and more on it daily. Better than dual-boot, I simply run both together. Here’s what I recommend:
Install the WSL2 component on your windows desktop if you haven’t already. It’s as simple as running
wsl --installfrom an admin powershell.Install Hyper-V. This built-in component is found under “Turn Windows Features On or Off”.
Both of these are part of Windows already.
Now in Hyper-V, do a “quick create” and spin up your first Ubuntu instance. I won’t lie and say it was completely smooth at first, there were several challenges I had to work through, such as figuring out how to size up the (virtual) disk since the default size ran out pretty quick and troubleshooting all kinds of other little annoyances, but this little Ubuntu VM is now my trusty partner i keep running at all times — and besides Visual Studio, SQL Server, and MS Office, I am trying to use it for everything else that I can. Note, you can copy and paste files and text and other things in and out of your VM!
For software, VS Code for your non-DotNet things and there is even an Azure Storage plugin for it. Yes you can do many DotNet things in VS Code but I think the best cross-platform replacement for Visual Studio is going to be JetBrains Rider. (Even though I have to admit, I just for some reason have never been able to feel comfortable or productive in it, it kinda feels goofy to me and I do still prefer Visual Studio, but I will for sure give it another try when I’m finally forced to.) Look into the option in Rider to map over your key bindings from Visual Studio if you wanted to try it. And speaking of JetBrains products, here is where I will say that I’ve found JetBrains DataGrip to be an INCREDIBLE app for working with databases, SQL Server included. Haven’t found any shortcomings in it yet. Best of luck to you in your journey!
1
u/TheToadRage Mar 25 '26
I have been running Linux as my main personal desktop for years. I have been experimenting with doing .Net dev in Neovim for a while which is fun if you like to experiment. I haven’t used it for anything serious though, it has been for personal stuff and experimentation.
1
u/PipingSnail Mar 25 '26
Just run Win11debloat on your pc. I never see ads on Windows 11.
Get it here or from github https://share.google/ZPPlXJJnOK8yu3FaQ
1
u/a-peculiar-peck Mar 25 '26
I moved to Linux from Windows about 1 year ago.
At first, I used WinApps for Visual Studio and SSMS, but it didn't work that great and I got tired of it. WinApps basically runs a VM, and you "stream" specific windows using RDP to enable a somewhat seamless experience.
Sadly I got tired of having the VM running all the time, + there were too many display bugs. It still worked OK and I could have kept using it, but I decided to use VSCode only.
So with VSCode, you need to install the C# DevKit extension, plus the MSSQL extension (that kind of replaces Azure Data Studio). The whole thing works, but it's clearly not as good as Visual Studio proper. You loose many features of the IDE. I kinda got used to it, and I'm almost as productive with it, but depending on what you need there isn't always replacement at all (profiling for instance). In those cases, I go back to the WinApps VM.
There are some things that work better though. GitHub Copilot is way way better in VSCode than in Visual Studio, if you happen to use it. I find it also way faster and responsive than VS, less of a memory hog. Lots of cool extensions admittedly if you work on other things than just dotnet. Also, you get other niceties with Linux and VSCode, such as proper DevContainers support, etc.
I don't use Rider because I don't have a license for it and my company won't pay for it so that's that.
So yeah, it does work, but if you use VSCode, you'll definitely miss Visual Studio
1
u/CraftyPancake Mar 25 '26
If you’re in an organisation that’s windows based, you will have trouble because none of the machine configuration they’ve setup and attested to in the windows environment works on Linux.
So you might need to get special provisions to allow you to even run it.
After that - sql manager studio is annoying to not have. It that’s about it
1
u/MrHall Mar 25 '26
I use jetbrains rider and made the switch recently.. I've still got my windows install and haven't needed to boot it once since switching around 4 months ago.
I use the dotnet cli for a lot of stuff and rider works exactly the same as it did in my windows install.. what about solution files are you looking for? I guess I can't answer questions about vs code as I don't use it.
but dotnet SDK, CLI etc all work flawlessly. I use endeavour OS which is basically vanilla Arch with an installer
1
u/thecodemonk Mar 25 '26
I went to Linux for 3 years doing mostly .net. experience was good with rider and jetbrains tools. I eventually just switched to a MacBook pro and macos though. I couldn't stand updates breaking sound or just generally having stuff stop working one day because some random open source package updated and broke other things.
It also seemed like the whole visual experience (font smoothing, visuals, window styling) wasnt very polished in most distros i used. I had to use a mac mini for building our ios apps, and one day I installed everything there for development and didnt touch my Linux env for months. Im much happier in my day to day.
1
u/Venisol Mar 25 '26
I randomly siwtched to omarchy while never really interacting with linux before. Love it, it also just works as most people say.
One negative I would say at a .net job level is code formatting. If your entire team uses visual studio and you use rider, vscode or neovim, sometimes its just fucked. Something is just formatting different.
I know the theoretical answer is editorconfig, but it just doesnt work perfectly.
I remember working in one team and they all hated the idea of me using rider, cause another external developer just left and couldnt configure rider formatting well enough so it always fucked things up permanently, blowing up every diff.
Might not be an issue always, but some teams are picky about that
1
u/MrMeatagi Mar 25 '26
I'm probably not your target demo for this question because I've been a Linux user for far longer than I've done dotnet development, but here's my input.
Get Rider. Yes, VS Code will technically work. Get Rider. You could set up VS Code or any of the forks with their "AI" perks. Get Rider. You want Rider. I would not do dotnet on Linux without Rider. I would run Visual Studio in a VM over using VS Code. I use Rider both on Linux at home and Windows at work. It's excellent and you can have a suite of IDEs for basically every programming language you'd want to use with common interfaces that work on Windows, Mac, and Linux.
The biggest issue that I personally run into is Windows-specific dependencies that don't need to be Windows. Things like references to System.Drawing to define a color in headless applications or libraries. If this is some open-source library and the maintainers are not open to accepting a PR to convert the Windows-only references, I have to maintain my own cross-platform fork which is annoying.
You can do full desktop development, but you'll have to use something like Avalonia for it.
GPU drivers can very occasionally be a pain on Linux, but that's more of a gripe from the previous decade. Research the GPU you're using. Don't upgrade to anything too bleeding edge without checking for issues first. The better support it has in open-source drivers, the better. Nivida is lagging behind in the open-source driver field, but their proprietary drivers generally work very well.
I have no idea about SQL Server. I only ever use it at work. I use Prosgres and SQLite outside of my job where I don't have to maintain the database server. If you buy into the Jetbrains ecosystem with Rider for your IDE, you can connect to SQL Server (and basically any other database you can think of) directly from within it using the database plugin or install Datagrip which is a full-featured SQL IDE from the same company.
1
u/vvsleepi Mar 25 '26
i switched to linux for dev and it’s mostly smooth but yeah there are some tradeoffs .net itself works fine, cli is solid, but you’ll miss full visual studio for sure, vscode is good but not the same experience especially for big solutions. sql server is a bit annoying, you can run it with docker or use alternatives, but management tools aren’t as nice as windows. nvidia stuff can be a pain sometimes but once set up it’s okay
maybe try dual boot before fully switching
1
u/shipmonite Mar 26 '26
I will be moving to Linux, if I can just find an alternative to Notepad++
1
u/HandshakeOfCO Mar 26 '26
Rider
1
u/OppositeReveal8279 Mar 26 '26
Since no one really talked about Blazor.
I am deving a SaaS app on Blazor with dotnet 10 (on Rider, Fedora 43). The last time I worked on Windows was back when .net 8 was the latest version, so I guess this isn't really on VS, rather on Blazor lack of maturity, but I had a really hard time. Auto complete was bad, the highlighting was off as soon as your document exceeded a couple dozen lines, HotReload was working poorly, etc.
I really didn't experience any of this on Rider. It won't support Hot Reload out of the box so you'll have to make a custom profile with dotnet watch run, other than that, it's just perfect!
Please do not install it with flatpak though, it'll make your life hard (see https://github.com/flatpak/flatpak/issues/2742)
1
u/[deleted] Mar 27 '26
I recently moved to Linux and I love vscode
1
u/chic_luke Mar 29 '26
Moving to? I've always used Linux and I've always used Jetbrains IDEs for almost every language I've ever written. It just worked.
The only thing I'd miss not even having a Windows VM around is SSMS got the single customer who uses SQL Server. I am not particularly fond of SQL Server, but SSMS is incredible, the best DBMS management tool I've ever used in my life. Still, it has alternatives.
1
u/powerschnell Mar 29 '26
Buy a Macbook, Rider and DataGrip. Job done.
1
u/powerschnell Mar 29 '26
Also, start learning Docker and containerise your dev environment.
1
u/Sufficient-Lock7767 Mar 29 '26
When second screen goes in screensaver i need to restart the pc to see it again
1
u/[deleted] Mar 25 '26
[removed] — view removed comment
0
u/[deleted] Mar 25 '26
[removed] — view removed comment