How to get code coverage in javascript
Long back I did some posts on getting code coverage in C#. And one of my previous posts was about implementing TDD in JavaScript. This post is about getting JavaScript code coverage. In computer science, code coverage is a measure used to describe the degree to which the source code...
How to write an Extension for Google Chrome
This post is about creating simple google chrome extension, which will help you to find Malayalam meanings of selected word. The very first thing we’ll need to create is a manifest file named manifest.json. The manifest is nothing more than a JSON-formatted table of contents, containing properties like your extension’s...
Test-driven development in Javascript
Test-driven development (TDD) is a software development process that relies on the repetition of a very short development cycle: first the developer writes an (initially failing) automated test case that defines a desired improvement or new function, then produces the minimum amount of code to pass that test, and finally...
How to handle windows authentication in Android
If you are developing enterprise applications you may need to handle windows authentication from mobile devices. Windows authentication (formerly named NTLM, and also referred to as Windows NT Challenge/Response authentication) is a secure form of authentication because the user name and password are hashed before being sent across the network....
Handling Android back button in HTML5 application
Today I faced an issue with my HTML5 application. In this application we are showing a JQuery popup window. Client has reported a high priority(?) issue like, when he press the Android phone back button, instead of closing the popup window, application is getting closed. Here is the code snippet...
K-MUG KOCHI DEVCON 2014 - 15 February 2014
The Kerala Microsoft Users Group (K-MUG) will be organizing a Developers Conference, K-MUG KOCHI DEVCON 2014 on 15th February 2014 at InfoPark Hall, Athulya Cafeterial Block in Kakkanad. K-MUG is one of the best developer community in India, which got Best User Group award in India as part of Microsoft...
Assembly generation failed - Referenced assembly does not have a strong name
Recently while working a on project I faced an error like this. The assembly without strong name was a third party dll, I don’t have the source code with me. If you have strong named your application, it is a requirement like you need to strong name all your referenced...
Load Data while Scrolling Page Down with jQuery and ASP.Net MVC
This post is about Facebook style data loading while scrolling down the page. To identify the page scroll down, you can use the following snippet. $(window).scroll(function () { if ($(window).scrollTop() == $(document).height() - $(window).height()) { //This is an Ajax method which will fetch the data from server FetchDataFromServer(); } });...