TypeScript Compile target in visual studio

rencontre femme corseul Hi,

click Typescript can be compiled to either EcmaScript 3 or EcmaScript 5 version of javascript. Some of the older browsers still use EcmaScript 3 , so chances are you may need to change the compile target to ES3 from ES5 (default). Followings is the way you change the TypeScript Compile target to EcmaScript 3 in visual studio 2013.

  • Right Click on the project and click on properties.


  • Click on TypeScript Build on the properties page.


  • Change the TypeScript version.


Visual Studio shortcuts that save time and increase productivity


If you are like me and spend most of the day in front of visual studio, the following shortcuts can save you a lot of time and increase your over all productivity. if you can save lets say 5 mins daily, you will end up having 25 mins more during you week for your other activities.

Please note these are just the shortcuts I use regularly and saved me a lot of time. 🙂

  • source link Quick launch  : The Quick launch box on the top right is a huge time saver , if you are looking to change any visual studio settings. Read More here.
  •   enter Ctrl + –  : Most of the time when you are debugging, you are jumping from one file to another and we often loose the track of the files. get link Ctrl along with – will help you navigate backwards.
  • http://heatherbestel.com/2010/12/ Startup Page : Most of the time we work on the same solution for days , some times months and it would be great if we could bypass the start up page of visual studio and reach our solution directly. That is possible by selecting “ http://ecapguatemala.org.gt/poioe/2413 Load last loaded solution” from the options below. You can reach this dialog by using the quick launch on the top right.


Using MongoImport to bulk upload json data


One of the scenarios which comes quite often is to bulk upload data into tables and when it comes to DocumentDB like MongoDB , it’s uploading json data to a collection. Before you execute the command the pre-requisite is that you have installed MongoDB from here .

Once installed , you can find all the executables in the bin folder where MongoDB is installed.

C:\Program Files\MongoDB\Server\3.0\bin


one of the executables here is http://unbeatableconservatories.co.uk/miosds/102 MongoImport , which is used for importing bulk data to a mongodb collection.

Open command prompt, and navigate to the bin folder of your mongodb installation and execute the below command.

/db:test test is the name of my MongoDB database
/collection:docsdocs is the name of the collection inside test db
C:\test\bulk_data.jsonlocation of the json file