Performance issue solved, fully works with Microsoft DI
This commit is contained in:
@@ -8,10 +8,13 @@
|
||||
<Nullable>enable</Nullable>
|
||||
|
||||
<LangVersion>9</LangVersion>
|
||||
|
||||
<PublishAot>true</PublishAot>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
||||
|
||||
@@ -12,7 +12,6 @@ namespace Example.Backend
|
||||
public static int N;
|
||||
public Task<int> Next(int last)
|
||||
{
|
||||
Console.WriteLine(++N);
|
||||
return Task.FromResult( last + 1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user