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.
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.
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.
The most disruptive thing when I’m working is when my phone need my attention. The question is why I need take my eyes away from the screen? It would be great if I can interact with my phone directly from the machine I’m working on.
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.
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.
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?”.
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.
Maybe you are surprised, maybe not, but fact is that you can increase the performance of reading and writing data with the explicit database connections.
There are many approaches how we can join the data in the memory with the data in database. But you should know the advantages and disadvantages for each one.