File tree Expand file tree Collapse file tree 7 files changed +13
-12
lines changed
AbpCompanyName.AbpProjectName.Application
AbpCompanyName.AbpProjectName.Core
AbpCompanyName.AbpProjectName.EntityFrameworkCore
AbpCompanyName.AbpProjectName.Web
test/AbpCompanyName.AbpProjectName.Tests Expand file tree Collapse file tree 7 files changed +13
-12
lines changed Original file line number Diff line number Diff line change 3
3
4
4
"dependencies" : {
5
5
"AbpCompanyName.AbpProjectName.Core" : " 1.0.0.0-*" ,
6
- "Abp.EntityFrameworkCore" : " 0.10.3 " ,
7
- "Abp.AutoMapper" : " 0.10.3 "
6
+ "Abp.EntityFrameworkCore" : " 0.11.0.2 " ,
7
+ "Abp.AutoMapper" : " 0.11.0.2 "
8
8
},
9
9
10
10
"frameworks" : {
Original file line number Diff line number Diff line change 2
2
"version" : " 1.0.0.0-*" ,
3
3
4
4
"dependencies" : {
5
- "Abp" : " 0.10.3 " ,
5
+ "Abp" : " 0.11.0.2 " ,
6
6
"Microsoft.Extensions.Configuration.EnvironmentVariables" : " 1.0.0" ,
7
7
"Microsoft.Extensions.Configuration.Json" : " 1.0.0"
8
8
},
Original file line number Diff line number Diff line change 2
2
"version" : " 1.0.0.0-*" ,
3
3
4
4
"dependencies" : {
5
- "Abp.EntityFrameworkCore" : " 0.10.3 " ,
5
+ "Abp.EntityFrameworkCore" : " 0.11.0.2 " ,
6
6
"AbpCompanyName.AbpProjectName.Core" : " 1.0.0.0-*" ,
7
7
"Microsoft.EntityFrameworkCore.SqlServer" : " 1.0.0" ,
8
8
"Microsoft.EntityFrameworkCore.SqlServer.Design" : {
Original file line number Diff line number Diff line change 1
1
using System ;
2
2
using Abp . AspNetCore ;
3
- using Abp . AspNetCore . Mvc ;
4
3
using Abp . EntityFrameworkCore ;
5
4
using AbpCompanyName . AbpProjectName . EntityFrameworkCore ;
6
5
using Castle . Facilities . Logging ;
@@ -21,10 +20,7 @@ public IServiceProvider ConfigureServices(IServiceCollection services)
21
20
DbContextOptionsConfigurer . Configure ( options . DbContextOptions , options . ConnectionString ) ;
22
21
} ) ;
23
22
24
- services . AddMvc ( options =>
25
- {
26
- options . AddAbp ( services ) ; //Add ABP infrastructure to MVC
27
- } ) ;
23
+ services . AddMvc ( ) ;
28
24
29
25
//Configure Abp and Dependency Injection
30
26
return services . AddAbp < AbpProjectNameWebModule > ( options =>
Original file line number Diff line number Diff line change 3
3
@using Abp .Timing
4
4
@using AbpCompanyName .AbpProjectName .Web .Views .Shared .Components .LanguageSelection
5
5
@using AbpCompanyName .AbpProjectName .Web .Views .Shared .Components .TopMenu
6
+ @using Abp .Web .Security .AntiForgery
7
+ @inject IAbpAntiForgeryManager AbpAntiForgeryManager
8
+ @{
9
+ AbpAntiForgeryManager .SetCookie (Context );
10
+ }
6
11
<!DOCTYPE html>
7
12
<html lang =" en" >
8
13
<head >
Original file line number Diff line number Diff line change 31
31
"version" : " 1.0.0-preview2-final" ,
32
32
"type" : " build"
33
33
},
34
- "Abp.AspNetCore" : " 0.10.3 "
34
+ "Abp.AspNetCore" : " 0.11.0.2 "
35
35
},
36
36
37
37
"tools" : {
Original file line number Diff line number Diff line change 13
13
"xunit.extensibility.execution" : " 2.2.0-beta2-build3300" ,
14
14
"xunit.runner.visualstudio" : " 2.2.0-beta2-build1149" ,
15
15
"Castle.Windsor.MsDependencyInjection" : " 1.1.0" ,
16
- "Shouldly " : " 2.8.1 " ,
17
- "Abp.TestBase " : " 0.10.3 "
16
+ "Abp.TestBase " : " 0.11.0.2 " ,
17
+ "Shouldly " : " 2.8.2 "
18
18
},
19
19
20
20
"frameworks" : {
You can’t perform that action at this time.
0 commit comments