Professional C# .NET developer, React and TypeScript hobbyist, proud Linux user, Godot enthusiast!

https://blog.fabioiotti.com
https://github.com/bruce965

  • 0 Posts
  • 38 Comments
Joined 3 years ago
cake
Cake day: March 9th, 2022

help-circle






  • For what it’s worth, I always prefer being redundant if it makes the meaning clearer to a non-native speaker audience.

    For instance I didn’t know “pandemic” implicitly meant “global”. In my ignorance I thought you could have a localized pandemic. But by saying “global pandemic” it makes it more obvious to everyone, including those who, like me, didn’t know.

    Also I’ll personally keep saying “my phone had an LCD display” because it feels smoother than “my phone has a LCD”.



  • bruce965@lemmy.mltoLinux@lemmy.mlTrying to ditch windows
    link
    fedilink
    arrow-up
    19
    ·
    edit-2
    7 months ago

    Yes, you can develop in .NET on VSCode and the debugger works on Linux too.

    There is a Docker version of SQL Server which funnily enough is equivalent to the enterprise version (rather than limited like SQL Express). You can use it for free as long as it’s for development purposes only.

    There is no SQL Management Studio though.

    One option would be to use PostgreSQL instead. Entity Framework makes it almost free to replace the database anyways (unless you are doing some db-specific things).

    There are some other minor annoyances or missing features, it might bother you; but depending on how you are used to work, you might not even notice. But, hey! you are on Linux now, you get all the benefits of a UNIX operating system, it will be worth it for sure, right? (Yes, imho)


    As for gaming, I only do light gaming so I probably don’t count. I use Heroic Launcher and it works wonderfully out of the box 50% of the time, the remaining 50% you can probably make it work as good as on Windows if you are persistent enough.

    Oh, and sometimes some games run better on Linux than on Windows, but I would say most of the time they run a bit worse.


  • I work as a professional developer in .NET on Windows, and in my free time I develop in .NET on Linux as a hobby.

    Unfortunately I would say the .NET development experience on Linux (with VSCode) is slightly inferior compared to on Windows (with Visual Studio).

    For instance there is no support for SourceLink during development, only during debug. And on VSCode the “go to definition” to third party assemblies works only for one level deep, whilst on Visual Studio it works for any depth level.

    It is certainly still a great experience on Linux, but not «better than Windows» in my opinion. If you have any recommendations to improve it please share, I would be very grateful.



  • I did a quick search on my trusty DuckDuckGo, but all I could find was “blend oats for 30-60 seconds”, and a lot of disclaimers.

    I would assume for a good tasting recipe you should add a little bit of sugar, maybe you have some recommendations about the oats that you use. Can you store it for a few days? Idk, you most likely have more experience on the subject.

    If it takes longer than 5 minutes to prepare (also including the cleanup process) I can see why people would rather consume a pre-made product.

    Anyways it’s worth to try, if you have a specific recommendation I would appreciate it greatly. Otherwise I will go for one of the recipes I can find.



  • Ah I get what you mean, I used to share your same view. I used to think that the MIT license was more free than GPL for the reasons you mentioned.

    When Google started working on Fuchsia OS and they said it will be MIT license, I started to get worried that smart products producers would start using it instead of Linux. Then they wouldn’t need to release the source code to customers as the software would no longer be GPL.

    The difference is that MIT gives more freedom to the producers, while GPL gives more freedom to the consumers.

    Personally, my sympathy goes to consumers, not producers, thus I understood why people say GPL is more free than say Apache or MIT.

    Licenses such as MIT, Apache, MPL, etc… are a double-edged sword. 😬






  • I work professionally from Windows, and as a hobby from Linux. My tool of choice for coding in .NET is Visual Studio Code (not FOSS, but there is a FOSS version which is just a bit more limited). It’s not as complete as Visual Studio, but it’s much faster, it has all the basic tools including a debugger, and it’s much more customizable.

    Also if you have never done it before, you might love dotnet watch which works with any IDE and lets you make realtime changes to your code while the application is already running.

    As for UI, my personal choice is deploying a static website on localhost through Kestrel (it’s less than 100 lines of code for a fully configured one), and then let the user’s browser take care of showing the UI. You could use Blazor if you really want to use C# all the way, but my personal recommendation is to stick to web technologies such as TypeScript and React (using either Parcel or Vite to build your project). Making your UI web-friendly also makes your app cloud-ready, in case tomorrow you will decide that’s something you need.

    Finally, you can now deploy .NET apps as a single self-contained executable on all major platforms. But as already recommended by other users, I would keep adopting a web-first approach and go for Docker, and eventually Kubernetes. It’s a lot of work to understand it properly though, so perhaps you can start studying this topic another day in the future.

    Feel free to ask me anything if you have questions.