Amichai Mantinband
Amichai Mantinband
  • 54
  • 2 155 083
ASP.NET 8 REST API Tutorial - The "Sweet Spot" Architecture
Get the source code (and support the channel 🙂): www.patreon.com/amantinband
Clean Architecture Zero to Hero: dometrain.com/bundle/from-zero-to-hero-clean-architecture/
Domain-Driven Design Zero to Hero: dometrain.com/bundle/from-zero-to-hero-domain-driven-design-ddd/
All videos in this playlist: czcams.com/play/PLzYkqgWkHPKCw7zPNV3xnN1JjtglUzB2W.html
This video is the first in a series of videos in which we'll build a REST API completely from scratch using ASP.NET 8!
In this video we'll set up the project and talk about a sweet spot architecture which is before going for full blown Clean Architecture or more complex architectures like Microservice Architecture or Modular Monolith Architecture.
Connect with me on 'em socials:
Twitter: amantinband
LinkedIn: www.linkedin.com/in/amantinband/
GitHub: github.com/amantinband
Thanks for watching, don't forget to like & comment & subscribe! ❤️ 💻
zhlédnutí: 7 494

Video

Exceptions are evil. This is what I do instead.
zhlédnutí 15KPřed měsícem
In today's video we'll talk about why exceptions are evil and why you should probably stop throwing exceptions for flow control. Not throwing exceptions will make your code faster, simpler, faster to debug, and easier to maintain. We'll also see the alternative flow control approach which is the result pattern. The result pattern will be demonstrated using ErrorOr, and we'll see how the ErrorOr...
5 C# Naming Conventions I Wish Everyone Followed
zhlédnutí 14KPřed měsícem
In today's video we'll cover 5 C# naming conventions I think everyone should be following. Naming can play a huge role in making your code more readable and maintainable. It can also reduce the time spent in debugging or figuring out what the heck is going on. Connect with me on 'em socials: Twitter: amantinband LinkedIn: www.linkedin.com/in/amantinband/ GitHub: github.com/amantinba...
ASP.NET Web APIs Explained in 9 Minutes
zhlédnutí 7KPřed měsícem
In today's video we'll talk about ASP.NET Web APIs. We'll understand what web APIs are, what are ASP.NET web APIs, and how ASP.NET web APIs can looked at as a chain of middlewares that use the Dependency Injection Inversion of Control (IoC) container to manage the application's objects. Connect with me on 'em socials: Twitter: amantinband LinkedIn: www.linkedin.com/in/amantinband/ G...
Stop returning custom error responses from your API. Do this instead.
zhlédnutí 78KPřed 2 měsíci
In today's video we'll cover the problem details specification (RFC 9457, previously RFC 7807). All HTTP APIs should use the problem details specification, as it defines a consistent, machine readable schema for error responses. So in this video we'll cover what the problem details specifications is, how to use it, and how easy it is to integrate it in your ASP.NET applications. Connect with me...
Dependency Injection Deep Dive | .NET & C# Essentials
zhlédnutí 15KPřed 2 měsíci
In today's video we'll dive into Dependency Injection in .NET & ASP.NET. We'll cover almost everything you need to know about integrating dependency injection in your applications from the various lifetimes to every single configuration method on the dependency injection Inversion of Control (IoC) container. Connect with me on 'em socials: Twitter: amantinband LinkedIn: www.linkedin...
Making LINQ Blazing fast with PLINQ (Parallel LINQ) | .NET & C# Essentials
zhlédnutí 17KPřed 2 měsíci
In today's video we're going to cover every single PLINQ (Parallel LINQ) extension method with examples. PLINQ is a powerful and can make your LINQ queries extremely fast. We're going to cover how PLINQ is implemented behind the scenes, what are all the various options, and almost everything you need to know about PLINQ before integrating it in your production applications. Connect with me on '...
Dependency injection fundamentals in C# - DI vs IoC vs DIP
zhlédnutí 20KPřed 2 měsíci
In today's video we're going to cover Dependency Injection fundamentals. We'll cover Dependency Injection (DI), the Dependency Inversion Principle (DIP), Inversion of Control (IoC, IoC container). We'll talk about what each of these are, what the difference between them is, and how we can apply these principals via an example and leveraging the Microsoft.Extensions.DependencyInjection nuget pac...
Every Single LINQ Extension Method With Examples | .NET & C# Essentials
zhlédnutí 30KPřed 2 měsíci
In today's video we're going to cover every single LINQ extension method with examples. We're going to cover immediate execution vs deferred execution - what's the difference between them and whether or not immediate execution necessarily means iterating over the entire list and realizing the LINQ query. Connect with me on 'em socials: Twitter: amantinband LinkedIn: www.linkedin.com...
Why Developers Are OBSESSED With Obsidian
zhlédnutí 27KPřed 3 měsíci
In today's video, we'll talk about one of the most powerful tools I have ever come across. Obsidian completely changed the way I work, and it is one of my favorite tools of all time. So let's talk about what obsidian is, how to use it, why it is so powerful, and how it can make your life *way* better. Connect with me on 'em socials: Twitter: amantinband LinkedIn: www.linkedin.com/in...
Clean Architecture vs Domain-Driven Design (DDD) - Understand the Difference
zhlédnutí 23KPřed 3 měsíci
In todays video, we'll talk about CA vs DDD. Although they are often used together, they are actually completely different things. In this video we'll break down what the Clean architecture is, what Domain-Driven Design is, and what is the difference between them. Connect with me on 'em socials: Twitter: amantinband LinkedIn: www.linkedin.com/in/amantinband/ GitHub: github.com/amant...
This BIG Modeling Mistake Is Ruining Your Performance
zhlédnutí 11KPřed 3 měsíci
Get the source code: www.patreon.com/amantinband My courses on DomeTrain: dometrain.com/author/amichai-mantinband/ In todays video we'll talk about one of the biggest performance mistakes your app is likely making today. I've encountered this mistake in almost all applications I came across. In this video we'll see what the problem is, how to fix it, and how significant it is in terms of perfor...
The ULTIMATE Clean Architecture Project Template for .NET
zhlédnutí 27KPřed 3 měsíci
Welcome to “The ULTIMATE .NET Clean Architecture Project Template”! 🚀 Links from the video: Deep Dive into Clean Architecture course (promo code: GITHUB): dometrain.com/course/deep-dive-clean-architecture-in-dotnet?coupon_code=GITHUB The Clean Architecture Template: github.com/amantinband/clean-architecture In this video, we dive into structuring a .NET application using the principles of Clean...
Understand Clean Architecture in 7 Minutes
zhlédnutí 72KPřed 7 měsíci
Getting Started with Clean Architecture (promo code CLEANAMI): dometrain.com/course/getting-started-clean-architecture-in-dotnet?coupon_code=CLEANAMI In today's video, we'll do a quick overview of clean architecture, one of the most common architectural patterns for how to structure software. Become a Patron: www.patreon.com/amantinband. Connect with me on 'em socials: Twitter: aman...
Winglang in 10 minutes
zhlédnutí 9KPřed 8 měsíci
Getting started with Domain-Driven Design (promo code AMIDDD): dometrain.com/course/getting-started-domain-driven-design-ddd Smash the ⭐: github.com/winglang/wing Learn more: www.winglang.io In today's video, we'll look at the wing programming language (aka winglang) and the wing console. Specifically, we'll answer: 1. What is a "programming language for the cloud"? 2. What's so groundbreaking ...
.NET in 300 seconds
zhlédnutí 48KPřed 8 měsíci
.NET in 300 seconds
DDD's Holy Grail
zhlédnutí 13KPřed 8 měsíci
DDD's Holy Grail
Clean Code Sucks?
zhlédnutí 10KPřed 10 měsíci
Clean Code Sucks?
The .NET Extension Method You Should Know About
zhlédnutí 15KPřed 11 měsíci
The .NET Extension Method You Should Know About
The complete guide to unit testing structure best practices
zhlédnutí 26KPřed 11 měsíci
The complete guide to unit testing structure best practices
How Sharp is Your C#? | Riddle #2
zhlédnutí 6KPřed rokem
How Sharp is Your C#? | Riddle #2
Domain Events | Clean Architecture & Domain-Driven Design from scratch | Part 17
zhlédnutí 27KPřed rokem
Domain Events | Clean Architecture & Domain-Driven Design from scratch | Part 17
Why is everyone getting this riddle wrong? | How sharp is your C# | Riddle 1
zhlédnutí 7KPřed rokem
Why is everyone getting this riddle wrong? | How sharp is your C# | Riddle 1
The Identity Paradox | DDD, EF Core & Strongly Typed IDs
zhlédnutí 27KPřed rokem
The Identity Paradox | DDD, EF Core & Strongly Typed IDs
EF Core, DDD, and Clean Architecture - Mapping Aggregates to Relational Databases
zhlédnutí 75KPřed rokem
EF Core, DDD, and Clean Architecture - Mapping Aggregates to Relational Databases
Working at Microsoft - The Good, the Bad, the Ugly
zhlédnutí 11KPřed rokem
Working at Microsoft - The Good, the Bad, the Ugly
Entity Framework Core Tutorial - Everything You Need to Know to Get Started
zhlédnutí 39KPřed rokem
Entity Framework Core Tutorial - Everything You Need to Know to Get Started
Make the .NET CLI Your Best Friend | .NET & C# Essentials
zhlédnutí 12KPřed rokem
Make the .NET CLI Your Best Friend | .NET & C# Essentials
C# Async Await Mistakes | Part 1
zhlédnutí 28KPřed rokem
C# Async Await Mistakes | Part 1
VIM shortcuts but they keep getting crazier
zhlédnutí 14KPřed rokem
VIM shortcuts but they keep getting crazier

Komentáře

  • @Yourure23626
    @Yourure23626 Před hodinou

    Could you please upload daily video

  • @AhmedOmar-ib3yn
    @AhmedOmar-ib3yn Před hodinou

    Is the playlist from the .net 6 still dated ? Need tutorial to watch rn , so u suggest i wait or watch the .net 6 api clean code tutorial ?

  • @mrt7948
    @mrt7948 Před 6 hodinami

    thats it? where is the rest of the video?

  • @randypenajimenez3893
    @randypenajimenez3893 Před 13 hodinami

    What do you think about .NET MAUI?

  • @chriserony
    @chriserony Před 13 hodinami

    Hi! Thank you so much! Junior dev and I had learned about Service/Controller/Repository(DAO)/Models, but wasn't sure where all the nuanced extra classes would go. Like those Request & Response objects (Glad to see they go in Controller/Presentation layer!) Where would you put mappers for the domain objects? Would that be in the Repository layer? What about objects for request bodies that aren't domains? Like if I was going to fetch from the DB the settings of a user who belonged to a group. I might have to span multiple tables & it wouldn't fit into just a clean "users" or "settings" object. Where should I put that object?

  • @user-xv6md2tw4z
    @user-xv6md2tw4z Před 20 hodinami

    Amichai, I've been watching you for almost a year, and each video gives me a lot of useful information. Thank you a lot for all stuff you're doing :) I appreciate it so much!)

  • @najibmestaoui6950
    @najibmestaoui6950 Před dnem

    I smashed the like button, but not subscribe button because I am already subscribed. Looking forward for the next video 👍

  • @wayne_taylor
    @wayne_taylor Před dnem

    Subbed to follow this, just what I was looking for! Are they going to be released weekly?

  • @jonowilliams26
    @jonowilliams26 Před dnem

    Solid video my dude! Really like the style of your videos, using the diagrams and inline highlighting, really makes it easier to digest. Keep it up 👍

  • @HoltBuzzing
    @HoltBuzzing Před dnem

    What program is being used to visualize/describe your code and database? That would be nice to use during demos with the higher ups at work!

  • @HoltBuzzing
    @HoltBuzzing Před dnem

    What program is being used to visualize/describe your code and database? That would be nice to use during demos with the higher ups at work!

  • @GordonKenaston
    @GordonKenaston Před dnem

    Yes! I've been waiting for this type of video. Thank you

  • @quaesitor-scientiae

    I usually use vertical slice, its the best in my opinion, and the easiest way to have high cohesion.

  • @quaesitor-scientiae

    Love your videos, can you tell us how you create your presentations ?

  • @thebadasscoder298
    @thebadasscoder298 Před dnem

    So obsidian is like a combination of Vscode + Github + Notion. NICE! 🔥

  • @HelloWorld-th9vb
    @HelloWorld-th9vb Před dnem

    Liked, looking forward to this series

  • @AndreAAmaya
    @AndreAAmaya Před dnem

    Since minute one i wanted to see all the video when you said "When i say best practice is not about what is consider best practice is about what you actually have to do to be sure that the application..." you found a lot of information on internet about what is "best practice" but not how you do it.

  • @DaminGamerMC
    @DaminGamerMC Před 2 dny

    what do you use to show the folder structure like an image in your presentation.

  • @silvertek
    @silvertek Před 2 dny

    HOORAY! Cant get enough Amichai content. Lets dive in!

  • @andreaskonomis3
    @andreaskonomis3 Před 2 dny

    Along for the ride, looking forward to the series 😁

  • @vw1799
    @vw1799 Před 2 dny

    Thank you very much for the content, I'm learning .NET and this series will be very important for me.

  • @Mo-ln6qo
    @Mo-ln6qo Před 2 dny

    great content , thanks

  • @user-ek1gf9px1e
    @user-ek1gf9px1e Před 2 dny

    Are you using the integrated VS Code terminal? If so, what extensions are you using to get the colored terminal path and autocomplete?

    • @amantinband
      @amantinband Před 2 dny

      It's iterm2. All my dotfiles are over here: github.com/amantinband/dotfiles

    • @user-ek1gf9px1e
      @user-ek1gf9px1e Před dnem

      @@amantinband Thanks. Unfortunately, I'm primarily a Windows user and have no idea how to read dotfiles. ;-)

  • @kumekster
    @kumekster Před 2 dny

    Great stuff

  • @omerbilalcan
    @omerbilalcan Před 2 dny

    Thank you so much for your tutorials dear colleague ☺️

  • @tchial0
    @tchial0 Před 2 dny

    So that's the way you would start building a real world project. Amazing.

  • @JoneP-YT
    @JoneP-YT Před 2 dny

    Is there a reason besides personal preference to go with controllers instead of minimal API?

    • @amantinband
      @amantinband Před 2 dny

      I find myself refactoring way too often when starting out directly with Minimal APIs. I also tend to create various interfaces for endpoints, and groups etc'. When starting a new project, I find the velocity to be higher with controllers, but perhaps I just didn't find the perfect structure and set of libraries for minimal APIs yet.

  • @davidr5000
    @davidr5000 Před 2 dny

    thanks for this amazing conten

  • @lucaciandrei
    @lucaciandrei Před 2 dny

    where is the rest? :D

  • @_rachid
    @_rachid Před 2 dny

    Thank you.

  • @esteban-alvino
    @esteban-alvino Před 2 dny

    I'm starting with DD I wrote some java services. I'm encouraged to learn methodologies to improve my code. Thanks for your effort doing video like this one.

  • @nellya4676
    @nellya4676 Před 3 dny

    Hello, Thank you for this training. I do have a question related to JWT implementation. I still don't understand why the JWT implementation needs to be added in the Infrastructure Layer rather than the Application Layer (as a service). Is this a type of constraint?

  • @RogerValor
    @RogerValor Před 4 dny

    I feel like this is always explained a bit differently, as originally, the domain layer would contain all interfaces and definitions, and the application layer would implement them in the usecases. so strictly speaking the business "code" is in the application, while the domain only describes, but has no logic, however sets the domain language.

  • @diegocataldi8335
    @diegocataldi8335 Před 5 dny

    Hello, I'm very interested in purchasing your DomeTrain courses on Clean Architecture, but since I'm not 100% familiar with English, I need to know if they are all on CZcams or if the platform has automatic translation to Portuguese (Brazil). Congratulations and I look forward to your response for purchase!

  • @hasan_shans
    @hasan_shans Před 5 dny

    Great video! Thanks!

  • @verified_tinker1818

    What software are you using in these videos?

  • @DK-ox7ze
    @DK-ox7ze Před 5 dny

    What level are you at Microsoft?

  • @mckayanderson2046
    @mckayanderson2046 Před 5 dny

    So good Amichai! I'll be purchasing your courses and recommending to friends. Have you dug into Microsoft's Semantic Kernel yet? The documentation and current tutorials from the team are really scattered and confusing and I didn't find a single good example of applying good DDD and Clean Architecture. I won't need it by the time you're done, but it might be a good opportunity for you.

  • @varshard0
    @varshard0 Před 5 dny

    Who takes care of populating fields in an aggregate? Does the query take care of calling each repository and put set them as an aggregate entities?

  • @vyteniskajackas7579

    Can someone explain, what is the idea behind those "EntityId" objects and inheriting from them? What is the benefit?

  • @codeme8016
    @codeme8016 Před 7 dny

    💯💯🍻🍻❤️❤️ There's a channel by Milan Jovanovic which has over 10 videos about CA. I've watched them all and never understood how to implement it. I even contacted him and he kindly responded he doesn't have time doing it better. Your video is the only clear solution on CZcams so far. Thanks a lot!

  • @botyironcastle
    @botyironcastle Před 7 dny

    what if you have huge data like 100000000comments in Post object. I don't think you can init a domain object with that much... looks useless to me when dealing with large chunks of data. Thoughts?

  • @lucaciandrei
    @lucaciandrei Před 8 dny

    very clear and concise explanations, congrats and to many more tutorials

  • @shafialanower3820
    @shafialanower3820 Před 8 dny

    Is there a particular reason you use vs code to demonstrate these topics? Started seeing decent amount using vs code to demonstrate c# concepts instead of vs

  • @anonlegion9096
    @anonlegion9096 Před 8 dny

    can this be used for webapi projects?

  • @valerianmp
    @valerianmp Před 9 dny

    To be honest, yeah I'm heavily prejudiced and hate Windows, but I give it a try and found it awesome! Especially compared to Java lol

  • @ono48
    @ono48 Před 9 dny

    Clear as mud!