This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "EF .Include, why important?", | |
"visbility": "public" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "OData or Not", | |
"visbility": "public" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "18/07/2013", | |
"visbility": "public" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "Agile trip preparation", | |
"visbility": "public" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "First commit", | |
"visbility": "public" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Test | |
==== | |
+ one | |
+ two | |
+ three |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### | |
Read comman line parameters | |
0. node | |
1. filename (_index) | |
2. app file name | |
3. config file name | |
4. app name | |
5. nodetime key | |
### | |
appFileName = process.argv[2] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MongoWrapper<T> : IDisposable where T : class | |
{ | |
public MongoWrapper(string Collection) | |
{ | |
var connectionString = ConfigurationManager.AppSettings["MONGO_URI"]; | |
var hostName = Regex.Replace(connectionString, "^(.*)/(.*)$", "$1"); | |
var dbName = Regex.Replace(connectionString, "^(.*)/(.*)$", "$2"); | |
_server = MongoServer.Create(hostName); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var connectionString = ConfigurationManager.AppSettings["MONGO_URI"]; | |
if (connectionString != null) | |
{ | |
var hostName = Regex.Replace(connectionString, "^(.*)/(.*)$", "$1"); | |
var dbName = Regex.Replace(connectionString, "^(.*)/(.*)$", "$2"); | |
var server = MongoServer.Create(hostName); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BACKGROUND O | |
: O | |
Ischemic O | |
heart O | |
disease O | |
is O | |
the O | |
primary O | |
cause O | |
of O |