Beispiel #1
0
        public static async Task Main(string[] args)
        {
            Console.WriteLine("Initialising Database...");
            await AuditorDbContext.InitializeAsync();

            Console.WriteLine("Setting up Nuget Search Service Api...");
            await NugetServiceIndex.SetupSearchApiAsync();

            Console.WriteLine("Processing feed...");
            await NugetAuditRobot.ProcessAsync();
        }
        public static async Task Main(string[] args)
        {
            //setup
            SettingsHelper.ConfigurationProvider = new ConfigurationProvider();

            LogHelper.WriteLine("Initialising Database...");
            await AuditorDbContext.InitializeAsync();

            LogHelper.WriteLine("Setting up Nuget Search Service Api...");
            await NugetServiceIndex.SetupSearchApiAsync();

            LogHelper.WriteLine("Processing feed...");
            await NugetAuditRobot.ProcessAsync();
        }