Trying to Learn C Sharp on MacOS
Hi, I am trying to learn c# and been following tutorials, but most of the tutorials are using Visual Studio on windows and I installed visual studio for mac and I have been googling/stack overflowing anything I come across but I cannot figure out how to get the Nuget Packet Manager on Mac, I have stack overflowed it and copy pasted random commands into terminal, but still cannot figure it out. I have tried using Rider but I had trouble following tutorials when every tutorial is using Visual Studio. Could I get any suggestions for how to learn C# for backend web development that is mac friendly?
9 Replies
VS for Mac is dead, so there's that
Packages can just be installed from the CLI,
dotnet add package
Or in case, of Rider, it has it's own Nuget manager
If we're talking scaffolding pages, views, etc... you can install a code generator and use that
Used like so, for example
But personally, I prefer to avoid scaffoldingSo do you recommend that I just try to follow tutorials with Rider? If so are there any you recommend?
I am completely new, I just know basic C# syntax.
Hard for me to recommend any tutorials tbh, I just learned by doing
I don't know how to do "anything" 😔
Well, the basic C# tutorials are here: $helloworld
And here's a basic ASP Core tutorial: https://learn.microsoft.com/en-us/aspnet/core/getting-started/?view=aspnetcore-8.0
Get started with ASP.NET Core
A short tutorial using the .NET CLI to create and run a basic Hello World app using ASP.NET Core.
With more tutorials to the left
Will check it out ty