Xamarin and Autofac: How DependencyService and Dependency Injection are working together

The Xamarin.Forms includes DependencyService to help shared code to resolve platform specific implementation. The important thing here is that DependencyService isn’t replace for Dependency Injection container. DependencyService is rather service locator than IoC container. I will show you how they can work together. Although I’m using Autofac as IoC, the proposed design and architecture should be applicable to any IoC Container.

{Create} Test Azure

Wie verbindet man Softwarequalität und Wirtschaftlichkeit? Am 03. März hielt ich einen Vortrag bei Microsoft Österreich zum Thema Visual Studio Online, Microsoft Azure und Application Lifecycle Management. Seht euch ein Zusammenspiel zwischen einem Tester, Entwickler und wie euch Microsoft Azure dabei unterstützen kann an.

Integration, Performance and Load Testing with IIS Express

Sometimes you would like to start IIS Express without hitting the F5 or Shift F5 in Visual Studio. This is especially helpful when you would like to run integration, performance or load tests continuously on your own machine. To enable this scenario you need to start IIS Express as a background process, otherwise the load or performance test will hang. One of the possibilities to achieve this is PowerShell.

Automatic registration of AutoMapper profiles with the Unity dependency injection container

Normally when you create AutoMapper profile, it is you responsibility to register them. However with the dependency injection container (DI) you have great possibility to automate this.

Styling Telerik Kendo UI Grid with LESS and Bootstrap

Admittedly, I’m not UI expert. Even the world of HTML, JavaScript and CSS is interesting I have again and again the same problems. Some of my problem is, that I like to make the things quickly. And CSS and HTML is often repetitive try and error task.

One of products I’m working on is using Telerik’s Kendo UI. It is nice, but sometimes not so intuitive and not very well documented, product suite.

Simplify usage of comments with the ReSharper templates

Ok, don’t be cross with me, I know the comments aren’t clean code. But sometimes we need them. ReSharper templates is excellent possibility to write your comments quicker and personalized so you can ask the next time: “hey guy what did you meant with this?”.

Cooperation between the Autofac and the Microsoft Extensibility Framework

Before I show you the cooperation between the Autofac and Microsoft Extensibility Framework (MEF) I want bring you in short my opinion why is there the place for both of them. If you are try to search around, you will find lot of posts which describes the differences between the MEF or Autofac, also, you will find lot of posts which advocates to use MEF as IoC Container, or, on other side, to use Autofac as replacement of the MEF.