The jQuery unobtrusive validation was not working for asynchronously loaded html. We fixed this by kick starting the unobtrusive validation: // Kick start unobtrusive validation for async loaded content var validator: any = $.validator; validator.unobtrusive.parse(‘#PopupForm’);
npm for type definition files One of the things that annoyed me was the tsd tool for installing type definition files. Why can’t I just use npm, for installing type definition files. I use npm for installing external libraries en tooling so why not type definition files. Well …
To align a HTML input[type=checkbox] with it’s label, just apply “display: inline” and “vertical align: middle” to both the input and the label: HTML Results: Chrome 50: Edge IE 11 IE 8 IE 5
Nice: The API has been built with Hypertext Application Language (HAL) to allows APIs to have built-in discoverability. Starting at the root of the API, you can browse the entire API surface. https://blogs.iis.net/adminapi
Starting with version of ASP.NET 5 RC1, the statup.cs must have a static main, see: http://www.talkingdotnet.com/static-void-main-in-asp-net-5-startup-cs/ After I added the main method, the error was fixed.