experiments icon indicating copy to clipboard operation
experiments copied to clipboard

A repository to capture simple code experiments

Experiments

This repository contains a bunch of stand alone experiments I'm using to evaluate different technologies.

Quick note about security vulnerabilities

The code in this repository uses versions of Angular from a few years ago, and I am not actively updating them to reflect the latest versions of things. As a result there are identified security vulnerabilities in this repository, so be aware should you choose to use this code.

Running these experiments

Most of these experiments require just a simple http server. I use the standard http-server available via npm:

npm install -g http-server

Then when inside one of the folders just run to start the server and disable all caching

> http-server -c-1

Starting up http-server, serving ./
Available on:
  http://10.210.116.141:8080
  http://192.168.56.1:8080
  http://127.0.0.1:8080
Hit CTRL-C to stop the server

You can also use live-server to get similar functionality but with automatic reloading when any of your served pages changes.

The list

Here's an overall list of what's in here:

  • angular-window-focus-service - WORK IN PROGRESS - Experimenting with providing an Angular service that detects when the browser window/tab has focus
  • reactiveui-simple-user-control - A simple app to help understand how to build user controls with ReactiveUI and WPF
  • angular2-animated-notifications-panel - Playing with Angular 2 animations to build a sliding notification panel
  • angular2-onpush-form-control - Exploring the effect of using OnPush change detection when subscribing to changes in Angular's FormControl class
  • 0-60-with-angular2-and-visual-studio - An example I created to support an AngularMN meetup presentation I gave
  • angular2-redux-autologout - An exploration in using redux and rxjs to automatically log a user out after a period of inactivity
  • angular2-bootstrap-arguments - A demonstration of how external data can be provided to Angular during the bootstrap process
  • angular2-multiple-applications - A simple POC that shows it's possible to bootstrap multiple Angular 2 applications on the same page
  • topshelf-angular2-service-webpack - An example showing how to host an Angular2 and WebAPI website in a Windows service using Topshelf and webpack to self-host everything
  • topshelf-angular2-service - An example showing how to host an Angular2 and WebAPI website in a Windows service using Topshelf
  • angular2-signalr - A relatively simple SignalR server with an Angular 2 client (using a channel/event model)
  • angular2-child-injectors - Exploring how angular 2 dependency injection works
  • nadel-api-gateway-ts - An implementation of Ben Nadel's ApiGateway example using typescript
  • angular2-template - A vanilla template used to create new Angular2 examples