Angular quick tip – Put declarations before exports

Sunday, May 21, 2017

This is a very short post about exporting component from angular module. On your NgModule decorator, you should assign the declarations before your export member otherwise when trying to use your exported components/ directives / pipes, you will encounter an error message of unknown element / attribute. Remember this, it can save you valuable time.
tags: ,
no comments

Slides and demo codes from front-end IL meetup

Thursday, September 29, 2016

On Tuesday I have had the pleasure of speaking about Angular 2.0 change detection mechanism, at front-end IL meetup, after Ori Calvo's session about redux. I want to thank all attendees who stayed and waited with us until the lecture began and especially to the one who stayed until the end. Slides for this session can be found here. The code for that session can be found here ,  
no comments

Self Hosting a secured ASP.Net Web API

Thursday, March 3, 2016

  Recently I had to build a self-hosted service that needs also to be contacted via SSL. I’ve found a few guides on the internet however they weren’t updated to the Owin.SelfHost so I’ve decided to write one of my own.   So, Here it is. 1, On your service you need to have a startup class, the same as you might have on your ASP.Net application.  There is nothing different between a regular and secured service. public class Startup { // This code configures Web API. The Startup class is specified as a type // parameter in the WebApp.Start method. public void Configuration(IAppBuilder appBuilder) { // Configure Web API for self-host. HttpConfiguration config =...
no comments