Simple and Effective tool for .NET developers

  Рет қаралды 6,960

Raw Coding

Raw Coding

Ай бұрын

Introduction to the Make tool for .net developers.
make docs: www.gnu.org/software/make/man...
Support my Work 🤝 / raw_coding
Buy my Courses 📚 learning.raw-coding.dev
Buy my Merch 🛒 shop.raw-coding.dev
Join the Community 💬 / discord
Tweet Tweet 📣 / anton_t0shik
Tune in LIVE! 🎥 / raw_coding
#aspnetcore #dotnet #csharp

Пікірлер: 32
@Xorcist77
@Xorcist77 Ай бұрын
As a primarily .NET/C# development house, we moved away from make scripts early on, jumping over to cake-build which was a C# based scripting tool and it was okay for a while (but was a pain to debug), and then we finally landed on nuke-build, which dynamically builds and runs a full .NET/C# project allowing for maximum customizability. We've used it for all types of build automation, from basic scaffolding to fully testable local CI/CD setups (which in-turn make all our Azure DevOps yaml build files 2-3 lines).
@RawCoding
@RawCoding Ай бұрын
Dude I love nuke, we use make for managing local docker env, database migrations, local env setup etc… not really build & cicd pipeline automation; how do you think nuke will play out for what we’re doing?
@Qrzychu92
@Qrzychu92 Ай бұрын
fun thing is, there is so many flavours of the same concept: psake (powershell make), fake (F# make), cake (C based) and so on. We actually used psake to have local scripts for building all of the stuff - just the app, running tests and converting the results to nice html reports, packing it, building docker images etc. You could run all those scripts locally, while our CICD pipeline would just pass all the needed parameters like build version, prod secrets so on. Worked really well, plus psake has a really nice integration with powershell command line so you can discover actions and their parameters with tab
@Eldritch_
@Eldritch_ Ай бұрын
That's definitely the best youtube channel to learn c# imo
@ahjsbkdjhavkcjhvac
@ahjsbkdjhavkcjhvac Ай бұрын
This has been the most useful example to bring ever!!
@luizfdds
@luizfdds Ай бұрын
Nice video! A great and powerful pattern used with Make is the 3 Musketeers.
@massinemouha6858
@massinemouha6858 Ай бұрын
I've been doing this for a while now, even on windows and it's a life saver. GNU tooling is handy and should be appreciated more
@meetingattender8132
@meetingattender8132 29 күн бұрын
Nice!! new commands to memorize
@Mikoshi-solo
@Mikoshi-solo 11 күн бұрын
I did a similar approach with PowerShell😂
@abto6914
@abto6914 Ай бұрын
is it just me or my laptop became hotter after the video, holy beard bro
@cocoscacao6102
@cocoscacao6102 Ай бұрын
Nice video. I'd recommend scoop over chocolatey.
@VincentYang024
@VincentYang024 Ай бұрын
Great content and would work perfectly if your tooling requirement is simple like this. I tried it after watching your video, when it works, it's like a charm, It has a lot of pain as soon as you start using it with a bit complex build. I'm pulling my hair to fix a few basic issues between Windows and other OS that caused script failure. At this stage, I will invest a bit more on "Nuke"
@djoufson-dev
@djoufson-dev Ай бұрын
Awesome video, but is there any advantage of using 'make' tool instead of regular script files? I used to register my most used commands in a .sh file inside a scripts folder in a way I can reuse those by running the script 🤔
@gustavo-santos-dev
@gustavo-santos-dev Ай бұрын
This is funny because I'm mainly a .NET SWE, but I also code in Go, where using Makefiles is a common practice, but I never thought of using it in .NET projects. 😂
@mt89vein
@mt89vein Ай бұрын
You can do it via rider built in tool in context menu
@sunnypatel1045
@sunnypatel1045 Ай бұрын
Ohh interesting
@ivandrofly
@ivandrofly 26 күн бұрын
what is your pc specs?
@haribalachander
@haribalachander Ай бұрын
Do you face issues with .Net programming in a Mac ?
@RawCoding
@RawCoding Ай бұрын
Nope
@alirezanet
@alirezanet Ай бұрын
hey Anton, why do you look like me bro !! 😂😁
@MultiSteve1978
@MultiSteve1978 Ай бұрын
I wrote a lot of c -> c# wrappers. To describe the dependencies and regenerate the c# projects i use the good old make tool. May it’s possible to run migration automatically if the migration files are older than any of the source files in the database project. But be careful if you use git 😂
@soonhongng7037
@soonhongng7037 Ай бұрын
how is this a big difference to bashscript
@RawCoding
@RawCoding Ай бұрын
Its not that big of a difference, you can treat makefile as the interface and bashscrips are internals that you call out to; or just use bash files directly
@7th_CAV_Trooper
@7th_CAV_Trooper Ай бұрын
I think migrations suck. I hate them. Makes me want to avoid EF. Is it just me, or is this the worst part of using RDBMS systems with dotnet?
@gustavo-santos-dev
@gustavo-santos-dev Ай бұрын
Migrations is an optional feature, just use it when you want to use 100% code-first approach. You can use EF without migrations, just create the mapping to your tables and don't add the code to execute the migrations, it's great and it's what I use in most of my projects.
@7th_CAV_Trooper
@7th_CAV_Trooper Ай бұрын
@@gustavo-santos-dev fair enough. I keep encountering 3rd party software that requires them though. Like Identity Server. Seems like these could just be nuget packages.
9 күн бұрын
Yeah, I don't like it either. I use EF without migrations because I prefer the DB First approach.
What you should know about Threads in .NET
14:52
Raw Coding
Рет қаралды 7 М.
Why replace if statements with Objects
22:20
Raw Coding
Рет қаралды 8 М.
Опасность фирменной зарядки Apple
00:57
SuperCrastan
Рет қаралды 11 МЛН
Brutally honest advice for new .NET Web Developers
7:19
Ed Andersen
Рет қаралды 114 М.
A Video About Queues
25:49
Theo - t3․gg
Рет қаралды 53 М.
3 ways to reduce the size of your docker images
17:20
Raghav Dua
Рет қаралды 6 М.
Don't throw exceptions in C#. Do this instead
18:13
Nick Chapsas
Рет қаралды 255 М.
The Best Way To Organize Your Program.cs In ASP.NET
6:59
Amichai Mantinband
Рет қаралды 14 М.
Interview with a Senior C# Developer
10:56
Programmers are also human
Рет қаралды 619 М.
Turns out REST APIs weren't the answer (and that's OK!)
10:38
Dylan Beattie
Рет қаралды 124 М.
Don't Use Polly in .NET Directly. Use this instead!
14:58
Nick Chapsas
Рет қаралды 54 М.
`const` was a mistake
31:50
Theo - t3․gg
Рет қаралды 132 М.
7 Must-know Strategies to Scale Your Database
8:42
ByteByteGo
Рет қаралды 87 М.
Опасность фирменной зарядки Apple
00:57
SuperCrastan
Рет қаралды 11 МЛН