Revisiting KnockoutJS – v3.2 cherry-picks

In case you missed it It’s been awhile since KnockoutJS released it’s latest stable iteration 3.2. It was a real slow paced development however it introduce some of the most wanted features KnockoutJS was missing since the beginning. KnockoutJS community didn’t make any fuss over it’s release. Hence, ICYMI article. Feature-centric release 3.2 is purely feature-centric along with some minor bug fixes and patches. Find detailed change log on github.   What’s new? KnockoutJS 3.2 comes with several new features worth taking a look. If you are serious about making your HTML code more readable and avoiding memory leaks, you should definitely refactor …
Continued…

Communication between multiple View Models in KnockoutJS (MVVM), the right approach!

Big fat View Model KnockoutJS is a beautiful JavaScript framework that helps you to create responsive and data rich user interface without making the JavaScript code dirty. When you start learning KnockoutJS, you tend to make habit of creating single a View Model and binding it globally or to one particular DOM and play with it. Once you start diving deep, you will realize, single view model is not enough for developing enterprise applications. It does not help you maintaining the modularity of an application. Bigger the application gets, complexity of the view model increases. You will literally give up as …
Continued…

Configure reverse proxy with URL Rewrite and ARR for IIS

Finally, feel good to be back with one more article. I’m writing about just another “developer life challenge” I faced few weeks back. We got stuck in a situation where we wanted to test our web application in IE8 and IE9. Basically I wanted to make it compatible with both the browsers. Yeah I know, being a modern web technology fan, you’ll hate me for this but it was a need since most of the legacy non technical users are still stuck on those browsers. Good thing is Microsoft is shutting down support for old browsers in upcoming years. Good move …
Continued…

Securing ASP.NET Web API, The gateway approach.

Disclaimer : This is not “How to code” tutorial. This article is written with the consideration that visitor have knowledge of ASP.NET Web API.  Securing ASP.Net Web API Well, we all know the need of security in Web Applications be it a front end or back-end (API) of the web app. The web world is full of trespassers. HTTP Protocol is designed in plain text which leads to vulnerability. Your web application can be exposed in many many ways. Let’s talk about the WebAPI, I assume you are developing RESTful Service which will be consumed by applications targeted on platforms …
Continued…

Fix : X509Certificate.PrivateKey Keyset doesn’t exist or access denied..

I was trying to get my hands on a enhanced WebAPI security. I decided to go with X.509 approach since it was the best approach to get started with. Everything was logically correct but the program could not decrypt the content (combination of username and password separated by pipe in my case). After debugging this was the exception that was being thrown System.Security.Cryptography.CryptographicException: keyset does not exist After digging in a lot I found that the user did not have enough permissions to access the folder which contains Private Keys. Because of which the program could not read Private Key …
Continued…