Articles
-
Using jsPerf for performance tuning of JavaScript Code
jsPerf is an online utility for evaluating the performance of your JavaScript code. You can submit multiple variations of your code and then evaluate their relative performance using jsPerf. Interesting feature about jsPerf is that it provides you the result in a browser specific manner i.e. you can run the test on multiple browsers and then compare the performance of your code on different browsers. In this article I will provide you a walkthrough on how to use jsPerf.
-
Getting Started With Knockout.js
Client side template binding in web applications is getting popular with every passing day. More and more libraries are coming up with enhanced support for client side binding. jQuery templates is one very popular mechanism for client side template bindings.
-
Benefits of Following
Things change pretty rapidly in technology world. New frameworks are coming up , existing ones are getting upgraded, languages are adding new features etc. And among all this, the important question for a developer like me or you is, how to keep our self updated? Although there are lots of things that can be done to keep our self updated, one of the approach that I have found working for me is to follow .Net programmers on Twitter.
-
Inauguration Of My Laptop
Today I received my new laptop which is an Intel Core i5-2450M @ 2.50GHz 4 GB RAM machine . The other laptop(office provided) which I have used for past two years for programming is an Intel Core2 Duo T6570 @ 2.10GHz machine. Reason why I am talking about the laptops that I own is because of my interest in writing multi-threaded/parallel code using the new TPL API provided in the .Net 4.0 framework.
-
Upcoming Courses on Coursera
Coursera is offering free online courses on various topics such as Network, Information, HealthCare, Computer Science, Mathematics etc. Courses are grouped under these categories and they cover a wide range of topics. I recently completed a five week course called “Design and Analysis Of Algorithms” by Tim Roughgarden. Course material is good, video lectures are short, clear and downloadable. Programming exercise, Q&A, discussion forums etc are few other things that make these courses really interesting.
-
Understanding Thread Local Storage(TLS) in TPL
.Net 4.0 simplified writing parallel code by introducing the parallel variant of For/ForEach loop constructs. Most often the code that we write using Parallel.For/ForEach looks something like this :
-
Generic Delegate Types : Func,Action and Predicate
C# language has observed dramatic transformation from 2.0 to 3.0 and finally with 4.0. C# 2.0 added generics , simplified delegate syntax, nullable types etc. C# 3.0 takes it a level next by adding LINQ , anonymous methods , anonymous types etc and finally C# 4.0 add dynamism, enhances parallel programming by introducing Task Parallel Library. Of all these changes , some are altogether new functionalities in language , some enhance previous features by adding additional capabilities or by just simplifying the syntactical structure. Now we have multiple ways of doing a particular task. Consider iterating through a list of objects. As a developer you can use basic foreach loop, write a LINQ query(either extension method syntax or query based format) or Parallel.ForEach(conditions applied :)) construct.
-
Understanding “Dispatcher” in WPF
Level : Beginner to intermediate
-
Using IComparable<T> Interface
Level : Beginner to Intermediate
-
Collections in .Net
Undoubtedly anyone who has ever programmed with any computer programming language has one way or the other has used some data structure , class etc to collect similar kind of data in one place.For example in C/C++ in order to handle multiple data of similar kind we have used Arrays.
-
Covariance and Contra-Variance in Delegates
If it comes to day to day normal programming with C# language then delegates by far are the most complicated thing to understand.Delegates add the asynchronous programming model to .Net Framework.Working with delegates involve following steps :
-
Wintellect’s Power Collection Library
First of all a very happy and prosperous new year wishes to everyone ……… :)
-
Another VS 2010 feature : Pin-Up
Hello,
-
Mole : Visual Studio Visualizer
Visualizer’s are of great help when debugging your application.Visualizer’s essentially provide a the complete view of the data in separate modal dialogue window.I guess almost all of us have worked with DataSet’s and in order to see the data contained inside the DataSet , we hover our mouse cursor over the dataset variable and then select the magnifying glass.This in turn opens up a separate window , showing the content of DataSet.Visual Studio debugger comes with visualizer’s for plain text , HTML , XML based data , DataSet and its corresponding dependents.If you haven’t understood what visualizer’s are actually , then refer to the following screenshot.
-
Web.config file in VS 2010 and .Net Framework 4.0 website
With every new framework of .Net , the size of Web.config file kept on increasing.Initially the size was quiet minimal but then came Asp.Net Ajax and it brought along with itself its own set of config section entries , corresponding HTTP Handlers and HTTP Module.With .Net 3.5 framework the size increased even more by the addition of other tags like <system.codedom> , <runtime> etc.And once .Net framework was done with its addition of entries in web.config file , we developer’s added our own set of entries.If you are working with winFx technologies like WCF or WF then further more additions are required in the Web.config file.