Тёмный

How to set up a .Net development environment on a Mac 

Luke Conner
Подписаться 952
Просмотров 77 тыс.
50% 1

#dotnet #macos #development
Have you been tempted by the rave reviews of the Apple Silicon macs but you're a .Net developer? I've been developing .Net on a Mac for over 10 years. First using apps like Parallels, and with the release of .Net Core directly on the Mac itself. It's easier than you think.

Наука

Опубликовано:

 

8 ноя 2022

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 65   
@dustingarner4620
@dustingarner4620 4 месяца назад
I had been having trouble getting Unity autocomplete to work and this helped a lot. Thank you!
@kattiacontreras5032
@kattiacontreras5032 5 месяцев назад
Thank you for making this video. I'm a college student and it has been a nightmare for to to find videos for mac
@sergiockdful
@sergiockdful 5 месяцев назад
A simple and great video.
@lukeconner
@lukeconner 5 месяцев назад
They've done a lot of work, it's surprisingly easy to just write C# on a mac now.
@RobertoDeMontecarlo
@RobertoDeMontecarlo 2 месяца назад
Now I can continue my work on my m1 when I have access to my windows boxes.... Thanks man! New subscriber here!
@urushadze
@urushadze Год назад
Great video! deserve more subs and views
@lukeconner
@lukeconner Год назад
No arguments here
@duartelucas5746
@duartelucas5746 Год назад
Thank you very much!
@HidayetArgandabi
@HidayetArgandabi 8 месяцев назад
Perfect video
@ThiagoFerreira-ye5dj
@ThiagoFerreira-ye5dj Год назад
Thanks for help
@YawarSohail
@YawarSohail Месяц назад
just what I want. Now MS depricated visual studio for mac. Had to use VS code so needed project template commands. Thanks.
@lukeconner
@lukeconner Месяц назад
I would use VS Code on a Mac any day over visual studio for Mac. Not even close. You should give Rider a try. It’s not free, but I really like using it
@aguafria9565
@aguafria9565 6 месяцев назад
I wish MS site would just list the brew command, I came here after trying to mess around with the file download, and path export not even working. Brew worked straight away
@abdulrashgadu8325
@abdulrashgadu8325 4 месяца назад
good video, worked pretty well. But I've been having issues creating migration for Mysql database on Mac. I'd love a video on setting up database, using it in .NET and everything between
@lukeconner
@lukeconner 4 месяца назад
I'll see what I can do
@mrbrit6746
@mrbrit6746 Год назад
I don't have Homebrew, if I download the SDK from Microsoft, do I need the ARM64 version or the x64? This is for a MacBook Air M1
@lukeconner
@lukeconner Год назад
Arm64
@Anton-dl7me
@Anton-dl7me Год назад
I gave up with M1 mac and azure projects. Both Rider and VS mac won't start it :( It is compiled but not debugged
@Paps526
@Paps526 Год назад
Hope microsoft is working on real Visual Studio for mac, only thing I need to move on mac
@lukeconner
@lukeconner Год назад
Rider. I know it costs money, but it’s so nice
@InsertFX
@InsertFX Год назад
@@lukeconner well, I'm still studying and I have the pro version through Education Github! and I still have 3 years to finish my degree lol
@silencesilence5921
@silencesilence5921 Год назад
I have such a mistake like "command not found brew", what should I do?
@lukeconner
@lukeconner Год назад
Look up, how to install homebrew. That’s a separate program
@brawlboy1382
@brawlboy1382 Месяц назад
Firstly, thank you for the video it helped me a lot. Secondly, I ran into some errors and I can't find a solution anywhere. I am running on vsc, when I run it does print hello world, but when I write something like "using consolelatest" it gives me this: "The type or namespace name 'consolelatest' could not be found" or "using Microsoft.AspNetCore.Mvc" gives me: "The type or namespace name 'AspNetCore' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)"
@lukeconner
@lukeconner Месяц назад
So think about it this way. Your page of code only knows what's on that page. If you want it to know about something not on that page you use a using statement. For instance, you may need to work with JSON, and you have a using System.Text.Json; That let's the page know I'm going to be calling some json commands, and that's where you can find them. The using statement you're using is not needed. The error is saying, you're telling me to look for this thing and I have no idea what you're talking about. So just leave that off.
@TomActiveCruise
@TomActiveCruise Год назад
@Luke, great video, thanks Now, how do i work with database on mac, say MySQL and i'm using Mac M1, how do I go about that? please
@lukeconner
@lukeconner Год назад
I use SQLPro Studio, specifically the version that supports all the different types of databases. sqlpro.onfastspring.com For MySQL specifically the official MySQL workbench actually works pretty well.
@lukeconner
@lukeconner Год назад
Another great option is dbeaver.io It also supports MySQL and most of the other popular database types.
@TomActiveCruise
@TomActiveCruise Год назад
Wow! I’m glad i came across ur channel and even managed to comment cuz I barely do that. Such a fast response Thanks
@TomActiveCruise
@TomActiveCruise Год назад
They are all not free tho, One more question before I purchase it, Will I have exactly the same MySQL experience without missing windows? Or is there any way i can use trial first before subscribing, do you have any video where u used it to build something? Thanks
@lukeconner
@lukeconner Год назад
@@TomActiveCruise it has a trial version
@eduardocamargopaez9444
@eduardocamargopaez9444 8 месяцев назад
Hola como puedo tener dos instancias de rider en mac para trabajar con un servicio api rest y poder consumirlo desde otra aplicación en c#?, solo me deja habría una ventana de rider a la ves
@andelsonnicolaslopezysabel2501
@andelsonnicolaslopezysabel2501 6 месяцев назад
Solo tienes que seleccionar abrir en una nueva ventana, si te deja hacer eso.
@aguluman
@aguluman Год назад
Jetbrains rider to the world
@Raj-iz9uz
@Raj-iz9uz Год назад
can we create Windows Forms App in VS 2022 on Mac..?? i installed VS 2022 but not showing Windows Forms App
@lukeconner
@lukeconner Год назад
No, but you can use Maui
@aljosha23
@aljosha23 4 месяца назад
In mu case I don't get vscode and bin folders on the left side. Any idea?
@lukeconner
@lukeconner 4 месяца назад
Do you see the icons on the left? If you have the folders area open, and you click the folders icon it will collapse. Click it again to open it.
@aljosha23
@aljosha23 4 месяца назад
@@lukeconner Hi Luke, thank you for the reply. I tried to attach a printscreen link but yt deleted it. Probably thinking it's a spam. So, on the left side (Explorer tab) I have >bin >obj consoletest.csproj consoletest.sln Program.cs bin folder just appeared right after my initial comment, but vscode is still missing. Thank you for your assistance in advance.
@adityabelludi5917
@adityabelludi5917 2 месяца назад
I'm not able to deploy the application locally as my application uses .net framework 7 how do I actually deploy the applications locally in mac in this scenario
@lukeconner
@lukeconner 2 месяца назад
Which IDE are you using? And do you mean run locally to debug or actually deploy?
@Ugandan_key
@Ugandan_key 5 месяцев назад
Is there a way to create Web Forms with macOS?
@lukeconner
@lukeconner 5 месяцев назад
Unfortunately no, only .net core on Mac, and Web Forms are part of .net 4
@Ugandan_key
@Ugandan_key 5 месяцев назад
​@@lukeconnerunderstood, my teacher assigned us a very basic project in Web Forms, I hope he doesn't mind if I do it using Blazor Server instead. Thanks for the help!
@foxy_robin
@foxy_robin 2 месяца назад
7:48 bottom left ".NET SDK 7... is not fully supported in Rider". Has this been an issue for you?
@lukeconner
@lukeconner 2 месяца назад
At this point it should be, I’m currently using .net 8. You may need to update Rider.
@emreerdogan3817
@emreerdogan3817 Год назад
cd: no such file or directory: dev (that's the problem, help me, please)
@lukeconner
@lukeconner Год назад
dev is the name of the folder I had on my computer. You wouldn't use the name of the folder you are working in.
@emreerdogan3817
@emreerdogan3817 Год назад
@@lukeconner i understood that part and i succeeded, but i failed in the following sections
@lukeconner
@lukeconner Год назад
@@emreerdogan3817 Where is it failing?
@nayanrawat9158
@nayanrawat9158 11 месяцев назад
I cannot find this ext
@warrior1061
@warrior1061 9 месяцев назад
me too(
@DiddleDangle
@DiddleDangle Год назад
Waiting for Apple Silicone so I can upgrade my girlfriend's front-end.
@shashankpandey1019
@shashankpandey1019 11 месяцев назад
😂
@nikograd
@nikograd Год назад
POV: you came from openbve
@danielkovachev548
@danielkovachev548 8 месяцев назад
I love you bro
Далее
Mac guy thinks he has a chance: dotnet challenge
30:27
Writing C# in VS Code Is Finally Awesome!
7:48
Просмотров 160 тыс.
Спасибо Анджилишка, попил😂
00:19
При каком ВЕСЕ ЛОПНЕТ ШИНА?
18:44
Which .NET on a Mac type are you?
14:58
Просмотров 42 тыс.
ASP.NET Core Crash Course - C# App in One Hour
1:00:44
Просмотров 1,5 млн
Is Writing C# on a Mac Realistic? How About Linux?
11:18
Apple Silicon and .Net Devs BIGGEST struggle, SOLVED!
14:29
Microsoft FINALLY killed it
6:45
Просмотров 565 тыс.