Skip to content

Commit 7cf4d81

Browse files
committed
Upgraded to ABP 0.11.0.2.
1 parent 5bd1051 commit 7cf4d81

File tree

7 files changed

+13
-12
lines changed

7 files changed

+13
-12
lines changed

src/AbpCompanyName.AbpProjectName.Application/project.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
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": {

src/AbpCompanyName.AbpProjectName.Core/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
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
},

src/AbpCompanyName.AbpProjectName.EntityFrameworkCore/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
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": {

src/AbpCompanyName.AbpProjectName.Web/Startup/Startup.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using System;
22
using Abp.AspNetCore;
3-
using Abp.AspNetCore.Mvc;
43
using Abp.EntityFrameworkCore;
54
using AbpCompanyName.AbpProjectName.EntityFrameworkCore;
65
using 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 =>

src/AbpCompanyName.AbpProjectName.Web/Views/Shared/_Layout.cshtml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
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>

src/AbpCompanyName.AbpProjectName.Web/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
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": {

test/AbpCompanyName.AbpProjectName.Tests/project.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
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": {

0 commit comments

Comments
 (0)