I have avoided larning React for a long time, finally it is time to attempt to create sample project. more

Posted on July 19th 2019 , tags: javascript, react, typescript

In a typical multi-layer system client layer connects to a service layer and retrieves information. But what if we need to reverse that flow? more

Posted on February 19th 2016 , tags: WCF, Reverse invoke, WCF behavior, WCF duplex

In this article I'm going to explain how to configure ASP.NET MVC routes to play nice with HTML5 history API. more

Posted on June 12th 2015 , tags: ASP.NET, MVC, HTML5, History API

Because of the same origin policy javascript from one domain can't invoke service on another domain through AJAX call. Cross origin resource sharing is a mechanism to mitigate this limitation by setting correct headers to allow interaction. more

Posted on May 27th 2015 , tags: WCF, CORS, cross origin, extension, WCF behavior

WCF proxy handling is not as transparent as we would like it to be. We need to remember to correctly close the channel once we do not need it and furthermore we need to keep track of the channel state. If we add IoC to the mix we are bound to get some trouble. more

Posted on May 18th 2015 , tags: wcf, wcf proxy, inversion of control, dependency injection

It’s hard to say what are best practices for handling code minification if you are using ASP.NET MVC and RequireJS library. You could use built-in optimization features of ASP.NET on one side and RequireJS optimization tool on the other side. In this article I will describe one potential setup. more

Posted on March 26th 2014 , tags: asp.net, javascript, programming, bundling, minification, mvc, optimization, requirejs

This one was a surprise. Chrome for Android doesn't support keypress event. more

Posted on March 19th 2014 , tags: javascript, programming, quirks

In this post I will explain how easy it is to create fiddler extension for custom filtering. more

Posted on March 13th 2014 , tags: c#, programming, fiddler

If you ever had to convert one object graph to another you know what pain can that be. In this post I will explain how to use excellent linq.js library to make that work easy. more

Posted on January 18th 2013 , tags: javascript, programming, collections

People often ask me how do I do inheritance in javascript. Can javascript do inheritance? Even if javascript has classes? In this post I will try to give answers to those questions and present inheritance pattern I use frequently in javascript. more

Posted on November 13th 2012 , tags: javascript, programming, patterns & practices