Xamarin Forms – Jumpstart Your App With Autofac

I love dependency injection frameworks ever since I started using them. Specifically, I'm obsessed with using Autofac and I have a hard time developing applications unless I can use a solid DI framework like Autofac! I've recently been working with Xamarin and found that I wanted to use dependency injection, but some of the framework doesn't support this well out of the box. I' was adamant to get something going though, so I wanted to show you my way to make this work. Disclaimer: In its current state, this is certainly a bit of a hack. I'll explain why I've taken this approach though! In your Android projects for Xamarin, any class that inherits from Activity is responsible for being created by the framework. This means where we'd usually have the luxury of passing in dependencies via a constructor and…

2 Comments

Downtime? Easy Path to Learning By Building!

The COVID-19 pandemic has caused many of us to stay isolated and at home, but that's OK! I genuinely enjoy developing software and wanted to take this opportunity to focus on learning. Having some downtime has afforded me to try putting together a system that I otherwise might not have explored building. In this article, I'll share different aspects about an application I'm building that purposefully put me outside of my comfort zone. In my opinion, having downtime is an opportunity to learn and grow! It's time to take advantage of that. When the app and system is ready to showcase I'll share more insight into what's actually being built! The Client Framework The application being built was intended to run on multiple mobile platforms, so Xamarin was my choice here. I have briefly used Xamarin several years ago, but…

0 Comments

End of content

No more pages to load