July 26th, 2015

Get Social Media (Facebook, Twitter, YouTube, Google+) Followers Count Using PHP

Each social media provides their own widget to display followers count, but their user interfaces are different and so much javascript in the code. So I decided to get the count on server side using PHP, cache it and show it as I want. This post explains to get Twitter followers, Facebook fans, YouTube subscribers and Google+ page/profile followers count, to cache the results and generate HTML to display them.


Realtime Voting App With React.js and ASP.NET SignalR

CRUD Operations with AngularJS + Sails.js Rest APIs

June 24th, 2015

Embedding YouTube Videos with Fast Loading and Responsive View

The embedded YouTube videos make your page heavy and slow down your page load times. The page load time is important factor for a web page because
– Site Speed improves user experience. There are different surveys and case studies which show poor experience with slow sites.
– In the era of Mobile, Tablet.. devices, site speed must be good to get accessed everywhere.
Google also cares about site speed for search criteria.

So, this post explains how to embed YouTube videos with fast page loading for better user experience.

March 10th, 2015

How to get started with migrating from Windows Server 2003?

On July 14th 2015, Microsoft will end support for Microsoft Windows Server 2003. For the average user, this is completely irrelevant; however, for the business user that has servers running Windows Server 2003, this means it’s time to upgrade.

March 1st, 2015

How React.js is good for SEO (Server-side React with ASP.NET)

The problem with the javascript frameworks is that they are NOT perfect search engine friendly. Although Google can crawl and index Ajax content but it is not so reliable and need to follow the guidelines. The advantage of React.js is that you can run it on the server and the virtual DOM will be rendered and returned to the browser as a regular web page. In this post, we will implement a sample in ASP.NET to pre-render the initial state of your React components server-side and the outcome is already rendered page of markup. So it will be indexed just like any other static page by search engine.

If you are new to React.js, I strongly recommend to read following tutorial:

React.js: Introduction and Hello World with ASP.NET MVC 5

February 3rd, 2015

Realtime Voting App with ASP.NET SignalR, React.js and D3.js

This tutorial shows how to build a survey or voting app that displays poll results in real-time using ASP.NET SignalR, React.js and D3.js.

ASP.NET SignalR: to build the real time voting app, then broadcast the live result as votes come in.
D3.js: For data visualization. (Creating Pie chart to show the result)
React.js: To update UI in a very efficient manner for real time changes.

If you are new to React.js, I strongly recommend to read following tutorial:
React.js: Introduction and Hello World with ASP.NET MVC 5

January 24th, 2015

IT conventions for 2015: What you should look for

If you’re working as a software developer, programmer or anything in between, chances are you’re spending quite a lot of time in front of your computer. While it’s perfectly understandable to do so, given the nature of your work, there are times when you should just put everything on pause and get out a bit, and by “get out a bit” I mean go to a convention on a topic pertaining to your work. There are plenty of gathering, conferences and conventions throughout the year, and attending all of them would be close to impossible, but we’ve put together a list of the ones you should absolutely do not miss in 2015. Check them out!

December 26th, 2014

Goodbye QKView.com, Hello Open Source

In last year, I started qkview.com which allows you to create and share quick reference guides and cheat-sheets online. The unique feature of this web application is responsive note interface with easy inline input, editing and sharing. It follows Google SEO guidelines for your content. Now it has come to an end. It still runs for some days, but no new features will be added.

November 30th, 2014

N-Layered App with Entity Framework, Autofac, ASP.NET MVC and Unit Testing

In my recent post, I explained how to implement a decoupled, unit-testable, N tier architecture based on Generic Repository Pattern with Entity Framework, IoC Container and Dependency Injection in ASP.NET MVC, then I got feedback against the repository/Unit of Work pattern. On googling, I found some more posts:

Say No to the Repository Pattern in your DAL
Repositories On Top UnitOfWork Are Not a Good Idea
Why Entity Framework renders the Repository pattern obsolete?

Entity Framework already implements a repository pattern. Implementing another layer on top of this is not only redundant, but makes maintenance harder. You might want to mock your Entity Framework context rather than using the repository pattern. This post explains how you can implement N Layered app without repository/unit of work pattern on top of EF.