3/20/16

AngularJS SPA Splash View to prevent Blank or Flicker Effect During App Initialization

Depending on network latency and the number of components that an AngularJS SPA contains, the application can initially just show static HTML content until AngularJS completes its initialization process and compiles the HTML/DOM to show the dynamic content as intended. This usually causes a flicker as empty or unbound content is displayed before the dynamic content is bound to the view. To better...

3/6/16

Web API Anti-Forgery Token AngularJS Client

When building APIs for public web apps, we cannot add the authorization filters to the APIs because the end users do not have to authenticate. We can however add some security measures to the API which would protect it by allowing only requests from the same origin with an anti-forgery token thus allowing...

2/20/16

AngularJS SPA Auth Token Management

This is a presentation on AngularJS Single Page Application Jason Web Token Management. During the presentation we take a look at a NodeJS server application with both secured and unsecured APIs. We work on enhancement to  the client application, so that it can manage the jwt token by looking at the following areas: After login read token from header Decode (base64) the second segment (payload)...

2/1/16

Angularjs Visual Studio Code Snippets

When working with AngularJS, we can quickly notice that a very repetitive task is creating the different AngularJS modules, services, controllers as well as other components for our application. In an effort to facilitate this task, we have created some code snippets that can be leveraged as seed for...

1/23/16

ASP.NET MVC Remove Unwanted HTTP Response Headers

When creating Web apps using ASP.NET technologies, we notice than on the response headers there are some entries that we often take from granted as being part of the technology and/or web server. These common entries are listed below: Response Headers Name Value Description Server Microsoft-IIS/8.0   Indicate the version of the web server X-AspNet-Version ...