Back to basics : Data driven unit testing

Unit testing is one of the most important step in any software development life cycle, however most of the times we developer do not pay much attention to it. Although there are different unit testing frameworks available to effectively and easily write unit test for the code modules, some of the features are still not widely used during unit testing. One of such feature is data driven unit testing. In this article, we will cover – What is data driven unit test? What are its advantages over regular unit testing technique? How to implement it? What is data driven unit…

C# 6.0 Language Features – Auto Property Initializer

Welcome to C# 6.0 language features article series. As you might have heard about Visual Studio 2015 and .Net framework 4.6 announcements in various Microsoft events earlier, one of the most exciting news was the next version of C# language, which is 6.0 and new features added to it. C# has come a long way since 2002 when C# 1.0 was released along with Visual Studio. Since then with every major release of .Net framework, C# became better and better language, which has tremendously helped application developers to minimize the code complexity and focus on business functionality. With the new…

C# 6.0 Language Features – Static Using Statements

Welcome to C# 6.0 language features article series. As you might have heard about Visual Studio 2015 and .Net framework 4.6 announcements in various Microsoft events earlier, one of the most exciting news was the next version of C# language, which is 6.0 and new features added to it. C# has come a long way since 2002 when C# 1.0 was released along with Visual Studio. Since then with every major release of .Net framework, C# became better and better language, which has tremendously helped application developers to minimize the code complexity and focus on business functionality. With the new…

Infinite scrolling in AngularJS

The other day I was discussing different JavaScript frameworks available to build Single Page Application [SPA] with my team. We discussed multiple options including ASP.Net MVC SPA template, Backbone, EmberJS, Durandal + knockout and AngularJS. By comparing different features available in these JavaScript frameworks, team member skillsets, application complexity and project timelines, team decided to go ahead with AngularJS. One of the important points discussed during these brainstorming sessions was how much data load is necessary during application start-up and how pagination can be implemented asynchronously. Business users also wanted team to come up with some cool ideas like fluid…

JavaScript Functions Part 5- Constructor Functions

This is the fifth and final article in JavaScript functions series. Earlier in the series we have covered – Function Declaration Function Expression Anonymous Functions Immediately Invoked Function Expression [IIFE] Today we will focus on constructor functions. JavaScript without a class construct If you are an experienced C++/ Java / C# programmer you already know the importance of class construct in your program. Classes are composed of structural and behavioral elements like fields, properties, methods, events etc. and they are core part of the application. Now as I mentioned in the earlier articles in this series, current version of JavaScript…

3 of 14
1234567