// This method gets called by the runtime. Use this method to add services to the container.
        public void ConfigureServices(IServiceCollection services)
        {
            services.AddControllersWithViews();
            // In production, the Angular files will be served from this directory
            services.AddSpaStaticFiles(configuration =>
            {
                configuration.RootPath = "ClientApp/dist";
            });

            services.AddStaticFilesHeader(Configuration);

            var provider = services.BuildServiceProvider();

            Headers = provider.GetService <Models.StaticFiles.Headers>();
        }
        // This method gets called by the runtime. Use this method to add services to the container.
        public void ConfigureServices(IServiceCollection services)
        {
            services.AddControllersWithViews();
            // In production, the Angular files will be served from this directory
            services.AddSpaStaticFiles(configuration =>
            {
                configuration.RootPath = "ClientApp/dist";
            });

            services.AddHealthChecks();

            services.AddStaticFilesHeader(Configuration);

            services.AddHealthChecks()
            .AddCheck("ICMP_01", new ICMPHealthCheck("www.ryadel.com", 100))
            .AddCheck("ICMP_02", new ICMPHealthCheck("www.google.com", 100))
            .AddCheck("ICMP_03", new ICMPHealthCheck("www.does-not-exist.com", 100))
            ;

            var provider = services.BuildServiceProvider();

            Headers = provider.GetService <Models.StaticFiles.Headers>();
        }