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 33
44 "dependencies" : {
55 "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 "
88 },
99
1010 "frameworks" : {
Original file line number Diff line number Diff line change 22 "version" : " 1.0.0.0-*" ,
33
44 "dependencies" : {
5- "Abp" : " 0.10.3 " ,
5+ "Abp" : " 0.11.0.2 " ,
66 "Microsoft.Extensions.Configuration.EnvironmentVariables" : " 1.0.0" ,
77 "Microsoft.Extensions.Configuration.Json" : " 1.0.0"
88 },
Original file line number Diff line number Diff line change 22 "version" : " 1.0.0.0-*" ,
33
44 "dependencies" : {
5- "Abp.EntityFrameworkCore" : " 0.10.3 " ,
5+ "Abp.EntityFrameworkCore" : " 0.11.0.2 " ,
66 "AbpCompanyName.AbpProjectName.Core" : " 1.0.0.0-*" ,
77 "Microsoft.EntityFrameworkCore.SqlServer" : " 1.0.0" ,
88 "Microsoft.EntityFrameworkCore.SqlServer.Design" : {
Original file line number Diff line number Diff line change 11using System ;
22using Abp . AspNetCore ;
3- using Abp . AspNetCore . Mvc ;
43using Abp . EntityFrameworkCore ;
54using AbpCompanyName . AbpProjectName . EntityFrameworkCore ;
65using Castle . Facilities . Logging ;
@@ -21,10 +20,7 @@ public IServiceProvider ConfigureServices(IServiceCollection services)
2120 DbContextOptionsConfigurer . Configure ( options . DbContextOptions , options . ConnectionString ) ;
2221 } ) ;
2322
24- services . AddMvc ( options =>
25- {
26- options . AddAbp ( services ) ; //Add ABP infrastructure to MVC
27- } ) ;
23+ services . AddMvc ( ) ;
2824
2925 //Configure Abp and Dependency Injection
3026 return services . AddAbp < AbpProjectNameWebModule > ( options =>
Original file line number Diff line number Diff line change 33@using Abp .Timing
44@using AbpCompanyName .AbpProjectName .Web .Views .Shared .Components .LanguageSelection
55@using AbpCompanyName .AbpProjectName .Web .Views .Shared .Components .TopMenu
6+ @using Abp .Web .Security .AntiForgery
7+ @inject IAbpAntiForgeryManager AbpAntiForgeryManager
8+ @{
9+ AbpAntiForgeryManager .SetCookie (Context );
10+ }
611<!DOCTYPE html>
712<html lang =" en" >
813<head >
Original file line number Diff line number Diff line change 3131 "version" : " 1.0.0-preview2-final" ,
3232 "type" : " build"
3333 },
34- "Abp.AspNetCore" : " 0.10.3 "
34+ "Abp.AspNetCore" : " 0.11.0.2 "
3535 },
3636
3737 "tools" : {
Original file line number Diff line number Diff line change 1313 "xunit.extensibility.execution" : " 2.2.0-beta2-build3300" ,
1414 "xunit.runner.visualstudio" : " 2.2.0-beta2-build1149" ,
1515 "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 "
1818 },
1919
2020 "frameworks" : {
You can’t perform that action at this time.
0 commit comments