File tree 8 files changed +26
-35
lines changed
8 files changed +26
-35
lines changed Original file line number Diff line number Diff line change @@ -22,8 +22,4 @@ dotnet_naming_symbols.private_fields.applicable_kinds = field
22
22
dotnet_naming_symbols.private_fields.applicable_accessibilities = private
23
23
24
24
dotnet_naming_style.prefix_underscore.capitalization = camel_case
25
- dotnet_naming_style.prefix_underscore.required_prefix = _
26
- [* .cs ]
27
-
28
- # CS0659: Type overrides Object.Equals(object o) but does not override Object.GetHashCode()
29
- dotnet_diagnostic.CS0659.severity = silent
25
+ dotnet_naming_style.prefix_underscore.required_prefix = _
Original file line number Diff line number Diff line change 1
1
<Project >
2
2
3
3
<PropertyGroup >
4
- <NetCoreAppVersion >netcoreapp2.1 </NetCoreAppVersion >
4
+ <NetCoreAppVersion >netcoreapp2.2 </NetCoreAppVersion >
5
5
<NetStandardVersion >netstandard2.0</NetStandardVersion >
6
-
7
- <AspNetCoreVersion >2.*</AspNetCoreVersion >
8
-
9
- <MicrosoftLoggingVersion >2.*</MicrosoftLoggingVersion >
10
- <MicrosoftConfigurationVersion >2.*</MicrosoftConfigurationVersion >
11
- <MicrosoftOptionsVersion >2.*</MicrosoftOptionsVersion >
12
-
13
- <EFCoreVersion >2.*</EFCoreVersion >
14
- <EFCoreToolsVersion >2.*</EFCoreToolsVersion >
15
-
6
+ <AspNetCoreVersion >2.2.*</AspNetCoreVersion >
7
+ <MicrosoftLoggingVersion >2.2.*</MicrosoftLoggingVersion >
8
+ <MicrosoftConfigurationVersion >2.2.*</MicrosoftConfigurationVersion >
9
+ <MicrosoftOptionsVersion >2.2.*</MicrosoftOptionsVersion >
10
+ <EFCoreVersion >2.2.*</EFCoreVersion >
11
+ <EFCoreToolsVersion >2.2.*</EFCoreToolsVersion >
16
12
<NpgsqlVersion >4.0.0</NpgsqlVersion >
17
13
<NpgsqlPostgreSQLVersion >2.1.0</NpgsqlPostgreSQLVersion >
18
-
19
14
<TuplesVersion >4.5.0</TuplesVersion >
20
15
</PropertyGroup >
21
16
26
21
<BogusVersion >22.1.2</BogusVersion >
27
22
<MoqVersion >4.8.3</MoqVersion >
28
23
</PropertyGroup >
29
-
30
- </Project >
24
+ </Project >
Original file line number Diff line number Diff line change 10
10
11
11
namespace GettingStarted
12
12
{
13
-
14
-
15
- public class Program
16
- {
17
- public static void Main ( string [ ] args )
18
- {
19
- CreateWebHostBuilder ( args ) . Build ( ) . Run ( ) ;
20
- }
21
- public static IWebHostBuilder CreateWebHostBuilder ( string [ ] args ) =>
22
- WebHost . CreateDefaultBuilder ( args )
23
- . UseStartup < Startup > ( )
24
- . UseUrls ( "http://localhost:5001" ) ;
13
+ public class Program
14
+ {
15
+ public static void Main ( string [ ] args )
16
+ {
17
+ CreateWebHostBuilder ( args ) . Build ( ) . Run ( ) ;
18
+ }
19
+
20
+ public static IWebHostBuilder CreateWebHostBuilder ( string [ ] args ) =>
21
+ WebHost . CreateDefaultBuilder ( args )
22
+ . UseStartup < Startup > ( )
23
+ . UseUrls ( "http://localhost:5001" ) ;
25
24
}
26
- }
25
+ }
Original file line number Diff line number Diff line change 5
5
<AssemblyName >JsonApiDotNetCoreExample</AssemblyName >
6
6
<OutputType >Exe</OutputType >
7
7
<PackageId >JsonApiDotNetCoreExample</PackageId >
8
+ <AspNetCoreHostingModel >InProcess</AspNetCoreHostingModel >
8
9
</PropertyGroup >
9
10
10
11
<ItemGroup >
Original file line number Diff line number Diff line change 7
7
8
8
<system .webServer>
9
9
<handlers >
10
- <add name =" aspNetCore" path =" *" verb =" *" modules =" AspNetCoreModule " resourceType =" Unspecified" />
10
+ <add name =" aspNetCore" path =" *" verb =" *" modules =" AspNetCoreModuleV2 " resourceType =" Unspecified" />
11
11
</handlers >
12
12
<aspNetCore processPath =" %LAUNCHER_PATH%" arguments =" %LAUNCHER_ARGS%" stdoutLogEnabled =" false" stdoutLogFile =" .\logs\stdout" forwardWindowsAuthToken =" false" />
13
13
</system .webServer>
Original file line number Diff line number Diff line change 1
- <Project Sdk =" Microsoft.NET.Sdk.Web" >
1
+ <Project Sdk =" Microsoft.NET.Sdk.Web" >
2
2
<PropertyGroup >
3
3
<TargetFramework >$(NetCoreAppVersion)</TargetFramework >
4
+ <AspNetCoreHostingModel >InProcess</AspNetCoreHostingModel >
4
5
</PropertyGroup >
5
6
6
7
<ItemGroup >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk.Web" >
2
2
<PropertyGroup >
3
3
<TargetFramework >$(NetCoreAppVersion)</TargetFramework >
4
+ <AspNetCoreHostingModel >InProcess</AspNetCoreHostingModel >
4
5
</PropertyGroup >
5
6
6
7
<ItemGroup >
Original file line number Diff line number Diff line change 15
15
<PackageReference Include =" xunit" Version =" $(XUnitVersion)" />
16
16
<PackageReference Include =" Moq" Version =" $(MoqVersion)" />
17
17
</ItemGroup >
18
-
19
18
</Project >
You can’t perform that action at this time.
0 commit comments