File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Host/Startup Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change 33using System . Reflection ;
44using Microsoft . AspNetCore . Builder ;
55using Microsoft . AspNetCore . Hosting ;
6- //TODO:3.0 using Microsoft.AspNetCore.Mvc.Cors.Internal;
76using Microsoft . Extensions . Configuration ;
87using Microsoft . Extensions . DependencyInjection ;
98using Microsoft . Extensions . Logging ;
109using Castle . Facilities . Logging ;
11- using Swashbuckle . AspNetCore . Swagger ;
1210using Abp . AspNetCore ;
1311using Abp . AspNetCore . Mvc . Antiforgery ;
1412using Abp . Castle . Logging . Log4Net ;
1513using Abp . Extensions ;
1614using AbpCompanyName . AbpProjectName . Configuration ;
1715using AbpCompanyName . AbpProjectName . Identity ;
18-
1916using Abp . AspNetCore . SignalR . Hubs ;
2017using Abp . Dependency ;
2118using Abp . Json ;
@@ -41,7 +38,6 @@ public IServiceProvider ConfigureServices(IServiceCollection services)
4138 services . AddControllersWithViews (
4239 options =>
4340 {
44- //TODO:3.0 options.Filters.Add(new CorsAuthorizationFilterFactory(_defaultCorsPolicyName))
4541 options . Filters . Add ( new AbpAutoValidateAntiforgeryTokenAttribute ( ) ) ;
4642 }
4743 ) . AddNewtonsoftJson ( options =>
You can’t perform that action at this time.
0 commit comments