Skip to content

Instantly share code, notes, and snippets.

View nshathish's full-sized avatar

Adolphous Shathish nshathish

View GitHub Profile
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<config>
<add key="repositoryPath" value="../Libs" />
</config>
</configuration>
@nshathish
nshathish / asp.net core program.cs with seed data method
Last active December 8, 2017 15:42
asp.net core program.cs with seed data method
public class Program
{
public static void Main(string[] args)
{
var host = BuildWebHost(args);
// RunSeedMethods(host);
host.Run();
}
public static IWebHost BuildWebHost(string[] args) =>
var obj = {num: 2};
var addToThis = function(a) {
return this.num + a;
};
addToThis.call(obj, 3); // 5
var addToThis2 = function (a, b, c) {
return this.num + a + b + c;
};