Angular Single Page Application – TODOs

This post is going to walkthrough things to be considered when making design decisions on an Angular SPA application. Application Structure The application should be structured according to the recommendations from the official Angular documentation (https://angular.io/docs). We also want to have additional recommendations from NGRX documentation (https://ngrx.io/docs) for application structure. It is recommended to divide… Read More »

How I enabled HTTPS

Last year, I upgraded this website to run on HTTPS. I obtained a free SSL certificate from sslforfree.com. Although it was upgraded to run on HTTPS, not all traffic was running on HTTPS. Running a website on HTTPS didn’t change non-secure access to contents such as images, stylesheets, etc. These files loaded over HTTP leading… Read More »

ES6 deep dive

ES6 Introduction JavaScript is an implementation of ECMA script. The link to the full specification can be found at https://www.ecma-international.org/ecma-262/6.0. I will try to highlight some features that will help developers write cleaner JavaScript code. As we all know JavaScript has been there for years, I remember working on JavaScript in the year 2000, back… Read More »

RSS feed in AngularJS

  Introduction This post provide details on how to read RSS feed in an AngularJS application. Web Application The AngularJs web application structure was initially generated using Yeoman scaffolding. It was modified to adhere some of the best practices. The structural changes brought modifications in grunt file for getting right dependencies and files generated when published. This… Read More »

Upload image to ASP.NET Web API 2

Introduction This post will provide detail on uploading image from a web application (ASP.NET MVC5 web application) to a web service (ASP.NET WebAPI2). We will use Visual Studio 2012 (.NET framework 4.5) to build web application and web service. Web Application Web application is written using Microsoft ASP.NET MVC5 and Razor views. The below given… Read More »

Snippet – Palindrome using C#

Old simple Palindrome using C# This is just a code snippet for creating a palindrome program. Please find code below. Project Structure This is a console application built using VS 2012. IDataType Interface Integer Palindrome Implements IDataType interface. String Palindrome Implements IDataType interface PalindromeFactory class Returns right type of object depending on data type.Example StringPalindrome… Read More »

SQL Server Password

Introduction How to reset SQL Server password. This post is all about helping users to unlock, or have a backdoor access to SQL Server database when they are locked out. The post will help in resetting SA password or adding a new user with SysAdmin privileges. You can always trim down user role later but this… Read More »