Post/Code

HomeAboutUsesNow

Web.Config exception, Ng-Map miscellaneous and Hotel.

  • If you want to exclude a specific folder from a blanket redirect rule in Web.Config and this to your <condition>

    <add input="{URL}" pattern="/path/folder/.*$" negate="true" ignoreCase="true" />
  • When using the AngularJS plugin Ng-Map, you can lazy load Google Maps - Make sure not include the regular Google Maps script in your HTML | Link
  • If you want to initialise the map in Ng-Map based on an action you can do this | Link
  • Hotel is a nifty utility that lets you launch your local servers from one place npm install -g hotel && hotel start | Link
  • Then run: hotel add http://localhost:3000 (or whatever your server is)