Performance issue solved, fully works with Microsoft DI

This commit is contained in:
2025-07-13 11:48:49 +03:00
parent 3ce66786b5
commit 95ec6767fa
4 changed files with 8 additions and 2 deletions
+3
View File
@@ -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' ">
-1
View File
@@ -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);
}