Example #1
0
        public void ConfigureServices(IServiceCollection services)
        {
            services.AddDirectoryBrowser();

            services.AddSignalR();

            services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_1);

            AuthenticationConfig.AuthenticationConfigServices(services, Configuration);

            CORS.CORSServices(services);

            DependencyInjection.DependencyInjectionServices(services);

            Swagger.StartUpSwaggerConfigureServices(services);
        }