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 1212 - name : Setup .NET Core
1313 uses : actions/setup-dotnet@v2
1414 with :
15- dotnet-version : ' 6 .0.x'
15+ dotnet-version : ' 7 .0.x'
1616 - name : Build with dotnet
1717 run : dotnet build --configuration Release
Original file line number Diff line number Diff line change 11using Microsoft . AspNetCore . Mvc . ApiExplorer ;
2- using Microsoft . Extensions . DependencyInjection ;
32using Microsoft . Extensions . Options ;
43using Microsoft . OpenApi . Models ;
54using Swashbuckle . AspNetCore . SwaggerGen ;
Original file line number Diff line number Diff line change 88using SampleWebApiAspNetCore . Models ;
99using SampleWebApiAspNetCore . Repositories ;
1010using System . Text . Json ;
11- using System ;
12- using static Microsoft . EntityFrameworkCore . DbLoggerCategory ;
1311
1412namespace SampleWebApiAspNetCore . Controllers . v1
1513{
Original file line number Diff line number Diff line change 11using SampleWebApiAspNetCore . Entities ;
22using SampleWebApiAspNetCore . Helpers ;
33using SampleWebApiAspNetCore . Models ;
4- using System ;
5- using System . Collections . Generic ;
6- using System . Linq ;
74using System . Linq . Dynamic . Core ;
85
96namespace SampleWebApiAspNetCore . Repositories
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk.Web" >
22
33 <PropertyGroup >
4- <TargetFramework >net6 .0</TargetFramework >
4+ <TargetFramework >net7 .0</TargetFramework >
55 <Nullable >enable</Nullable >
66 <ImplicitUsings >enable</ImplicitUsings >
77 </PropertyGroup >
88
99 <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 " />
1313 <PackageReference Include =" Microsoft.AspNetCore.Mvc.Versioning" Version =" 5.0.0" />
1414 <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 " />
1818 </ItemGroup >
1919
2020</Project >
You can’t perform that action at this time.
0 commit comments