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.
Read More Embedding YouTube Videos with Fast Loading and Responsive View

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

CRUD Operations with AngularJS + Sails.js Rest APIs

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
Read More How React.js is good for SEO (Server-side React with ASP.NET)

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 Read More Realtime Voting App with ASP.NET SignalR, React.js and D3.js

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!
Read More IT conventions for 2015: What you should look for

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.
Read More Goodbye QKView.com, Hello Open Source

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.
Read More N-Layered App with Entity Framework, Autofac, ASP.NET MVC and Unit Testing

October 24th, 2014

Security Whilst using Online Services

We all know that most of the nowadays internet users could be tracked – that is not a secret, and honesty of Edward Snowden has supported that already several times. While some of us hide all their data in a panic and others rejoice that they are not registered in social networks, and far-sighted people are looking for safe ways to communicate with their friends – Big Brother is not sleeping and trying to track us. Read More Security Whilst using Online Services

October 12th, 2014

A Simple CRUD with MEAN Stack (MongoDB, ExpressJS, AngularJS, Node.js) + Sails.js on Windows

MEAN stack is a full JavaScript solution that helps you build fast, robust and maintainable production web applications using MongoDB, ExpressJS, AngularJS and Node.js.

Sails.js allows you to build custom, enterprise-grade Node.js apps using the Model-View-Controller pattern to organize your code so it is easier to maintain.

New MEAN Stack = MongoDB+ExpressJS+AngularJS+Node.js+Sails.js = MEANS stack

This article explains how to implement a simple CRUD by integrating AngularJS with Sails REST APIs.
Read More A Simple CRUD with MEAN Stack (MongoDB, ExpressJS, AngularJS, Node.js) + Sails.js on Windows