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 3
3
using System . Reflection ;
4
4
using Microsoft . AspNetCore . Builder ;
5
5
using Microsoft . AspNetCore . Hosting ;
6
- //TODO:3.0 using Microsoft.AspNetCore.Mvc.Cors.Internal;
7
6
using Microsoft . Extensions . Configuration ;
8
7
using Microsoft . Extensions . DependencyInjection ;
9
8
using Microsoft . Extensions . Logging ;
10
9
using Castle . Facilities . Logging ;
11
- using Swashbuckle . AspNetCore . Swagger ;
12
10
using Abp . AspNetCore ;
13
11
using Abp . AspNetCore . Mvc . Antiforgery ;
14
12
using Abp . Castle . Logging . Log4Net ;
15
13
using Abp . Extensions ;
16
14
using AbpCompanyName . AbpProjectName . Configuration ;
17
15
using AbpCompanyName . AbpProjectName . Identity ;
18
-
19
16
using Abp . AspNetCore . SignalR . Hubs ;
20
17
using Abp . Dependency ;
21
18
using Abp . Json ;
@@ -41,7 +38,6 @@ public IServiceProvider ConfigureServices(IServiceCollection services)
41
38
services . AddControllersWithViews (
42
39
options =>
43
40
{
44
- //TODO:3.0 options.Filters.Add(new CorsAuthorizationFilterFactory(_defaultCorsPolicyName))
45
41
options . Filters . Add ( new AbpAutoValidateAntiforgeryTokenAttribute ( ) ) ;
46
42
}
47
43
) . AddNewtonsoftJson ( options =>
You can’t perform that action at this time.
0 commit comments