Using Autofac DI/IoC Container in Xamarin.Forms iOS & Android Mobile Apps

UPDATE (October 27, 2017)

Added MobileClient.UWP Project that support forĀ Windows 10 Fall Creators Update, Build 16299.15. Here is the reference on .csproj for the UWP project:

I have updated the source code on GitHub as well. Enjoy!

On Windows 10 Fall Creators Update:

 

On Android:

 

Below is the video on Youtube, showing how to use Autofac DI/IoC Container in Xamarin.Forms iOS & Android Mobile Apps. Just easy and simple.

Source Code:
https://github.com/rizamarhaban/XamarinAutofac

Enjoy!

Real-Time Android and iOS Apps using SignalR Core (ASP.NET Core 2.0)

Last year I tried and make an article on Windows 10 UWP app for Desktop and Windows Mobile (a.k.a. Windows Phone) to work with ASP.NET Core SignalR (the early version). As currently the ASP.NET Core team released the SignalR Core 1.0.0-alpha1-final and the .NET team has released the remarkable and awesome .NET Core 2.0, .NET Standard 2.0 and the latest Xamarin 2.4.0 that is compatible with .NET Standard 2.0, I would like to try this in Xamarin mobile apps that is for Android and iOS.

It turn out awesome and I love it. The demo that I created is a very simple UI (User Interface) of Label and Slider controls. Project on the solution:

 

Real-time hub API SignalR Core 1.0.0-alpha1-final ASP.NET Core 2.0
Mobile Client
(Android and iOS)
Xamarin.Forms Xamarin 2.4.0
.NET Standard 2.0

Tools that I use for building this project:

Dev Tools/IDE Visual Studio 2017 (Preview) Version 15.4 Preview 3.0
Hosting (Web App) Microsoft Azure App Services

And here is what you will get from this experiment.

Here is the link to the entire solution on my GitHub.

https://github.com/rizamarhaban/xamarinsignalrcore

Read More