File tree Expand file tree Collapse file tree 5 files changed +8
-14
lines changed Expand file tree Collapse file tree 5 files changed +8
-14
lines changed Original file line number Diff line number Diff line change 12
12
- name : Setup .NET Core
13
13
uses : actions/setup-dotnet@v2
14
14
with :
15
- dotnet-version : ' 6 .0.x'
15
+ dotnet-version : ' 7 .0.x'
16
16
- name : Build with dotnet
17
17
run : dotnet build --configuration Release
Original file line number Diff line number Diff line change 1
1
using Microsoft . AspNetCore . Mvc . ApiExplorer ;
2
- using Microsoft . Extensions . DependencyInjection ;
3
2
using Microsoft . Extensions . Options ;
4
3
using Microsoft . OpenApi . Models ;
5
4
using Swashbuckle . AspNetCore . SwaggerGen ;
Original file line number Diff line number Diff line change 8
8
using SampleWebApiAspNetCore . Models ;
9
9
using SampleWebApiAspNetCore . Repositories ;
10
10
using System . Text . Json ;
11
- using System ;
12
- using static Microsoft . EntityFrameworkCore . DbLoggerCategory ;
13
11
14
12
namespace SampleWebApiAspNetCore . Controllers . v1
15
13
{
Original file line number Diff line number Diff line change 1
1
using SampleWebApiAspNetCore . Entities ;
2
2
using SampleWebApiAspNetCore . Helpers ;
3
3
using SampleWebApiAspNetCore . Models ;
4
- using System ;
5
- using System . Collections . Generic ;
6
- using System . Linq ;
7
4
using System . Linq . Dynamic . Core ;
8
5
9
6
namespace SampleWebApiAspNetCore . Repositories
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk.Web" >
2
2
3
3
<PropertyGroup >
4
- <TargetFramework >net6 .0</TargetFramework >
4
+ <TargetFramework >net7 .0</TargetFramework >
5
5
<Nullable >enable</Nullable >
6
6
<ImplicitUsings >enable</ImplicitUsings >
7
7
</PropertyGroup >
8
8
9
9
<ItemGroup >
10
- <PackageReference Include =" AutoMapper" Version =" 11 .0.1" />
11
- <PackageReference Include =" AutoMapper.Extensions.Microsoft.DependencyInjection" Version =" 11 .0.0" />
12
- <PackageReference Include =" Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version =" 6 .0.8 " />
10
+ <PackageReference Include =" AutoMapper" Version =" 12 .0.1" />
11
+ <PackageReference Include =" AutoMapper.Extensions.Microsoft.DependencyInjection" Version =" 12 .0.0" />
12
+ <PackageReference Include =" Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version =" 7 .0.2 " />
13
13
<PackageReference Include =" Microsoft.AspNetCore.Mvc.Versioning" Version =" 5.0.0" />
14
14
<PackageReference Include =" Microsoft.AspNetCore.Mvc.Versioning.ApiExplorer" Version =" 5.0.0" />
15
- <PackageReference Include =" Microsoft.EntityFrameworkCore.InMemory" Version =" 6 .0.8 " />
16
- <PackageReference Include =" Swashbuckle.AspNetCore" Version =" 6.4 .0" />
17
- <PackageReference Include =" System.Linq.Dynamic.Core" Version =" 1.2.19 " />
15
+ <PackageReference Include =" Microsoft.EntityFrameworkCore.InMemory" Version =" 7 .0.2 " />
16
+ <PackageReference Include =" Swashbuckle.AspNetCore" Version =" 6.5 .0" />
17
+ <PackageReference Include =" System.Linq.Dynamic.Core" Version =" 1.2.24 " />
18
18
</ItemGroup >
19
19
20
20
</Project >
You can’t perform that action at this time.
0 commit comments