move Windows app to Windows folder, create folder for Web, create simplest web api service

This commit is contained in:
Alex Bezdieniezhnykh
2024-07-11 19:40:17 +03:00
parent ea8d0e686a
commit 32c92fedf2
41 changed files with 138 additions and 0 deletions
@@ -0,0 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<TargetFramework>net8.0-windows</TargetFramework>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Azaion.Annotator\Azaion.Annotator.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="xunit" Version="2.8.0" />
</ItemGroup>
</Project>
+20
View File
@@ -0,0 +1,20 @@
using Azaion.Annotator.DTO;
using Xunit;
namespace Azaion.Annotator.Test;
public class DictTest
{
public Dictionary<string, List<AnnotationInfo>> Annotations = new();
[Fact]
public void DictAddTest()
{
Annotations["sd"] = [new AnnotationInfo(1, 2, 2, 2, 2)];
Annotations["sd"] =
[
new AnnotationInfo(1, 2, 2, 2, 2),
new AnnotationInfo(0, 1, 3, 2, 1)
];
}
}