Imagine you write a console application and you need to read the configuration from the configuration file, in the strongly typed way. .NET core comes to help us with it. It’s usually demonstrated in ASP.NET Core MVC but it’s also possible to use it in the console application. Let’s see. Show me it! Let’s create…

(Updated: providing more info about provided tests) Goal This post compares WCF and WebAPI technologies from the performance perspective. Service description I implemented almost same service in two different ways. Both are accessible via HTTP/REST and both works in the way to skip the serialization in order to isolate logic which could impact the performance…

In previous two posts I described the way how to develop and deploy WCF and WebAPI services. Implementing REST service using WebAPI v2 hosted WorkerRole Implementing REST service in WCF hosted WorkerRole Bellow are my brief observations and source code attached. WCF More robust technology stack General purpose, suitable for many different communication…

As I wrote in the previous blog post, I spent some time comparing WCF and WebAPI as a frameworks for building the services and deploying them into Azure. Just to recap, our goal is to build a sample REST service, in this post, using WCF hosted in Azure. In this blog post I’ll…

I spent some time comparing WCF and WebAPI as frameworks for building the services and hosting them in Azure as WorkerRoles. There were some questions and I decided to implement a simple service in both frameworks just to feel the difference. Just to recap, our goal is to build a sample REST service, in…

In previous blog post I wrote about WinJS._Signal. Today, it’s going to be about another WinJS internal class WinJS.Namespace._lazy. Problem statement It’s very common for WWA projects to load many Javascript files (I’m worried to write almost all files) in the main application startup page, default.html. Problem with this approach is that it can…

WinJS contains several useful classes which are unfortunately hidden (starts with ‘_’). In this post we will look at one of them, WinJS._Signal. A common usage of this class is to manage (completes, cancels, fails) the promise. The promise itself is simple concept. But sometimes it’s awkward to complete it. Let’s see the…

I have to start with the following: “when you write any code which you want to share with others (colleagues, public), please, attach the sample how to use it. The best samples are unit tests, or better, specification tests by example.” In this post I want to share my feelings I’ve got from unit…

As I wrote in my previous post WinJS team greatfully optimized Template rendering. There was also a great post from Kraig Brockschmidt about rendering optimization technics and the most advanced and fastest option was to use two phased item rendering: 1st phase was to show some item content asap – e.g. in case of contact list…

I published a post about WinJS.Binding.Template and its low rendering performance here last year. It’s past. With upcoming WinJS 2.0, there is completely new implementation of templates and it rocks! It was already demonstrated by Josh Williams on //Build 2013 conference but I wanted to re-check it on my own. I downloaded my example from…