Sunday, March 29, 2015

c#.net with Mongodb tutorial

Follow this below link :

http://www.codeproject.com/Articles/273145/Using-MongoDB-with-the-Official-Csharp-Driver

About MongoDB :

It's a Document Oriented Database. The data structure stored here is in similar to JSON. It is also classified as one of the popular NoSQL Database.



Tuesday, March 24, 2015

Friday, March 20, 2015

Pushing code to GIT || How to add files into Github repository ?

1. First create a repository at github.com

2. Then install git on your system
http://git-scm.com/downloads

3. after installing open command prompt as Admin

4. then navigate to ur project folder in cmd
e:\myproject>

5. now we will type the git commands

  • git init
  • git add *
  • git commit -m "first commit"
  • git remote add origin https://github.com/<repository-URL>
  • git push origin master --force OR git push origin master OR git push -u origin master
Eg.: e:\myproject> git init


6. Now you should be able to see your files in your github,com repository.

Thursday, March 19, 2015

[Resolved] Error: [ngRepeat:dupes] Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: playlist in playlists, Duplicate key: string:", Duplicate value: "

Hi today while writing angularjs code using angular directive 'ngRepeat' i came across this below error, to resolve this follow below blog link :

error:

Error: [ngRepeat:dupes] Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: playlist in playlists, Duplicate key: string:", Duplicate value: "


solution :

http://www.anujgakhar.com/2013/06/15/duplicates-in-a-repeater-are-not-allowed-in-angularjs/

Allow CORS in ASP.Net MVC

Wednesday, March 11, 2015

Command to list all the globally installed npm pacakages with version

hi,  to list all the globally installed npm packages type this below command

npm list -g --depth=0