Angular 6 with webpack and ASP.NET Core

I have posted a working sample of a Visual Studio 2017 ASP.NET Core project to demonstrate how to use Angular 6 with webpack in a way that in can be debugged in VS using breakpoints, etc. Source code: angular2-webpack-dotnet-core Updated to Angular v6 on 2018-05-20.

0

Angular 5 with systemjs and ASP.NET Core

I have posted a working sample of a Visual Studio 2017 ASP.NET Core project to demonstrate how to use Angular 4 (final release) with systemjs in a way that in can be debugged in VS using breakpoints, etc. Source code: angular2-systemjs-dotnet-core Updated to Angular v5 on 2017-11-27.

0

Angular 2 with @types declaration files

– To install TypeScript declarations files, at the beginning you had to install DefinitelyTyped packages using NuGet – Then the node tool TSD followed and after that came Typings – The next step in the evolution of type acquisition is @types – @types only requires npm to be managed – In enterprise environments, this means…

3

Screen keyboard-friendly WPA2 Key Generator

WPA2 is currently the most secure type of Wifi/WLAN encryption. To connect a device to an access point (AP), you use a WPA2 key or passphrase. The key can be up to 64 chars hexadecimal or 63 chars alphanumeric + special chars. There are many online key generators. The problem is that they don’t take…

0

How to optimize WordPress popup-on-hover menus for touch devices

Many web sites have menus that are displayed on hover. On touch-enabled devices, there is no mouse and thus no hover effect. On those menu elements, set the tag property aria-haspopup=”true”. When an Internet Explorer 10 (Windows 8, Surface, Windows Phone 8, etc.) user on a touch-enabled device first taps on the element, it will behave…

3

JS: Improve performance when starting IE using Visual Studio

When developing web sites in VS, I always start IE by pressing F5 or by right-clicking on the HTML page and clicking on “View in Browser”. Recently, I was experimenting with HTML5 code to copy the frames of an MP4 video, reverse the frame data and render it back on a canvas. The code uses…

2

JS: Dots are bad, M’kay?

When the return value of a function is needed multiple times, and the value is a constant, a variable should be used to cache it. In JavaScript, every dot that appears in a statement is equivalent to a function call.   Run the following code and you should see a 20% to 50% performance increase,…

1