Manage Tasks and Notes: Tips and Tricks


I create a lot of tasks throughout the day and have used Google Tasks and Any.Do for this.

The reason I love Google Tasks is the universal availability and simple interface and also the integration with Google Calendar and Gmail…

I don’t like Google Keep much though.

With Any.Do, its just that I don’t use the app and in chrome etc. with the extension, the usability is limited…


Note that for me tasks are not Notes or Clippings. For these I use Evernote at home and Office OneNote 2013 at Office.

These have worked out great for me except a small hiccup with Evernote in the beginning when I was constantly clipping the whole page and ran out of storage capacity in the 1st month…now I clip parts of the page and its been good since….





Bookmarking Tips and Tricks

The story of my Bookmarks revolves around Google. The 2 services that I use are

  1. Chrome Bookmarks
    1. Ability to get type ahead on the omnibar for all bookmarks
    2. Cannot be synced from chrome in my office, hence disconnect b/w office and home
    3. Cannot creates notes for bookmark
    4. No TypeAhead in selecting Bookmark Categories
    5. Google Bookmarks
      1. Synced globally, even across browsers, as it’s stored with Google as a svc.
      2. Cannot get type ahead on the omnibar in chrome
      3. Convenient to use as I have created a search engine shortcut for the Bookmarklet
      4. Can creates notes for each bookmark
      5. TypeAhead in selecting Bookmark Categories

Headfirst Design Patterns

ref: Headfirst Design Patterns

.Net Code:

Design Patterns:

  1. Strategy Pattern

– defines a family of algorithms,

encapsulates each one, and makes them

interchangeable. Strategy lets the algorithm

vary independently from clients that use it.

Eg. Ducks

  1. Observer Pattern

– defines a one-to-many

dependency between objects so that

when one object changes state, all its

dependents are notified and updated


Eg. Weather Monitoring Application

  1. Decorator pattern

Eg. Starbuzz Coffee Application

Design Principles

  1. Encapsulate what varies.
  2. Favor composition over inheritance.
  3. Program to interfaces, not implementations.
  4. Strive for loosely coupled designs between objects that interact.

OO Basics

  1. Abstraction
  2. Encapsulation
  3. Polymorphism
  4. Inheritance

Consuming WCF Services using jQuery

From <>


Consuming WCF REST Services Using jQuery AJAX Calls


From <>



this article will present a method to
consume WCF REST Services using jQuery AJAX calls at the web browser side






Q what is .svc file




svc files are used when you host your WCF service
in IIS.

See Microsoft’s doc here and here.


There’s a module within IIS that handles the
.svc file. Actually, it is the ASPNET ISAPI Module, which hands off the request
for the .svc file to one of the handler factory types that has been configured


From <>



WCF services hosted in IIS are represented as
special content files (.svc files) inside the IIS application. This model is
similar to the way ASMX pages are represented inside of an IIS application as
.asmx files. A .svc file contains a WCF-specific processing directive (@ServiceHost)
that allows the WCF hosting infrastructure to activate hosted services in
response to incoming messages. The most common syntax for a .svc file is in the
following statement.


From <>


For more information about how WCF and
ASP.NET interact, see WCF Services and


From <>


All the SVC file is doing is saying that
/x/y/z.svc I have a
WCF service which is capable of a 
lot more than just server-side pages and content files.
So please spin it up, make it available and allow my incoming connections to be


From <>

How does the .SVC file in WCF Service work


From <>



Generally .svc file is used to allow IIS
hosting WCF service. It is just a declaration of the service type and service
host factory type. Factory will create service host and it will in turn host
the service. Service  is accessible by URL from virtual directory
structure + .svc file. That was true in .NET 3.x.

In .NET 4.0 you don’t need .svc file in two

– You are using ServiceRoute class
to configure routing for your service.

– You are using Configuration based


From <>

As like in ASP.NET we have .aspx with @Page
directive which demands ASP.NET Runtime for the execution to IIS, same in
case of WCF, .SVC file contains @ServiceHost directive with
Service=”<Service Class>” to demand/instruct IIS about the
requirement of WCF Runtime for further processing the request.


From <>

 A .svc file contains a WCF-specific
processing directive (@ServiceHost)
that allows the WCF hosting infrastructure to activate hosted services in
response to incoming messages.


From <>


An SVC file contains a small snippet of
code that defines a Windows Communication Foundation (WCF) service. When
referenced, the file activates a specific service in response to the incoming
data. This service is run using Microsoft Internet Information Services (IIS).


From <>