Dependency Injection & IoC containers with Xamarin Forms

preview_player
Показать описание
Learn how to use IOC containers and DI to build clean coded apps. We'll use Unity Application Block as IOC container and we'll explore how to access platform specific code from PCL.
Рекомендации по теме
Комментарии
Автор

instead of passing the platform specific implementation to the App ctor, its possible to pass it with a method.
that way designer service is still enabled

brayankhosravian
Автор

Its really helpful, thanks for sharing it.

bhundalinfotech
Автор

don't you think service locator is anti pattern? every time i read on stackoverflow mostly people say to not use it.

CookieMonsteeerrr
Автор

I m getting error "Activation error occurred while trying to get instance of type MainViewModel, key " when using
BindingContext =
(code behind)

rahultripathikanpur
Автор

When I use Unity in my projects and with LinkAll, the ServiceLocator has a exception, and in my linker.xml, I dont know I to solve that

TheTiapom
Автор

this is really good video, but how about passing parameter to constructor

arrajeshabi
Автор

Can you share your git repository ? Please

ashishgupta