WPF Dependency Injecting W/ Ninject

  Рет қаралды 13,724

ToskersCorner

ToskersCorner

6 жыл бұрын

In this video we cover dependency injection in WPF, as well as utilizing Ninject to setup dependencies in a Mvvm friendly fashion. In the beginning we first get an understanding of what it going on, and then I provide alternative ways we may wish to implement these features in a WPF application.
Article on DI and IoC - blog.agilistic.nl/a-step-by-s...
Ninject GitHub & Documentation - github.com/ninject/Ninject
Project in Video - github.com/Tosker/WpfNinjectP...
RelayCommand - • C# WPF - Commands [Par...
ObservableObject - • C# WPF Tutorial - Usin...
** Tip Jar **
Paypal: toskerscorner@outlook.com
BTC: 3DkvwvcQ8Vt2U84jdtEhNBx2Ueai3Xttmu
ETH: 0xFf79A145e1ED6F538607Ec374968e605cbea758b
BCH: qqpgrnzuhc5hav4e79m8nfhmugs46jtl0ujxcu0tj5
LTC: MHXQmJA3hkwTPeArB9QPNkcLiHQx723yMb

Пікірлер: 14
@Diegovnia
@Diegovnia Жыл бұрын
Such a shame you stopped uploading :( Great tutorials and projects man...
@ironside915
@ironside915 4 жыл бұрын
Coming from the future. If you ever see this, I want to let you know that your WPF videos made my uni project go much smoother. :) Thank you for your service!
@indudhar1
@indudhar1 4 жыл бұрын
Boss...keep bringing your amazing wpf videos. We love your videos
@VaderFaderVader
@VaderFaderVader 6 жыл бұрын
Bookmarked! - thanks for sharing this. Been looking into Dependency Inversion and the injection frameworks, and this is a very useful intro to Ninject.
@longuinni
@longuinni 6 жыл бұрын
Thank you for making this video!! I think I finally understood DI. Maybe Unit Testing as suggestion for the next video.
@ToskersCorner
@ToskersCorner 6 жыл бұрын
I'm unfortunately one of those horrible people who almost never unit test 😇 It is not something I am proud of. However, maybe researching and making a video on them will give me that push I need to use them more. I will strongly consider it! 😁
@tinker7722
@tinker7722 3 жыл бұрын
Thanks! Great explanation! So clear!
@ryanrobbins4391
@ryanrobbins4391 3 жыл бұрын
Where did you go? Your videos were awesome!
@sometexthere4169
@sometexthere4169 5 жыл бұрын
Hey! We lost u. Where are u?
@omarbousbia6916
@omarbousbia6916 5 жыл бұрын
Good video
@humanrayla4785
@humanrayla4785 2 жыл бұрын
Is there any specific reason why you decided to give the startup its own method instead of using the OnStartup?
@semen083
@semen083 6 жыл бұрын
Why you prefer exatly ninject ioc?
@ToskersCorner
@ToskersCorner 6 жыл бұрын
I prefer Ninject because it is light weight, and because it is what I am familiar with. There are many good options for an IoC container and all with different features. It mostly depends on your application requirements, and Ninject normally suites mine.
@coini_
@coini_ 3 жыл бұрын
Please make a tutorial on how to use Chrome Windows in WPF
Dependency Injection простыми словами
18:17
devschacht
Рет қаралды 84 М.
Became invisible for one day!  #funny #wednesday #memes
00:25
Watch Me
Рет қаралды 55 МЛН
I wish I could change THIS fast! 🤣
00:33
America's Got Talent
Рет қаралды 128 МЛН
When You Get Ran Over By A Car...
00:15
Jojo Sim
Рет қаралды 24 МЛН
The child was abused by the clown#Short #Officer Rabbit #angel
00:55
兔子警官
Рет қаралды 25 МЛН
Dependency Injection in WPF - A TimCo Retail Manager Video
33:01
IAmTimCorey
Рет қаралды 63 М.
How Dependency Injection Works in #csharp
43:52
Raw Coding
Рет қаралды 53 М.
C#/WPF - Dependency Injection: Advanced Use Cases
1:49:31
Kevin Bost
Рет қаралды 2 М.
Dependency Injection, Generic Host, and WPF
2:44:29
Kevin Bost
Рет қаралды 7 М.
Dependency Injection, The Best Pattern
13:16
CodeAesthetic
Рет қаралды 763 М.
SimpleWPF - WPF Library, Navigation, templating, commanding.
10:13
ToskersCorner
Рет қаралды 4,8 М.
Became invisible for one day!  #funny #wednesday #memes
00:25
Watch Me
Рет қаралды 55 МЛН