New Angular based web version #1

Closed
thomas.nuyken wants to merge 150 commits from main into ddd
Showing only changes of commit e29c5b2458 - Show all commits

View File

@@ -7,7 +7,7 @@ public class GetServerInfo
public record Response( public record Response(
string FullVersion, string FullVersion,
string CommitId, string CommitId,
DateTime CommitDate, DateTimeOffset CommitDate,
string Environment); string Environment);
public static RouteHandlerBuilder MapEndpoint(IEndpointRouteBuilder builder) public static RouteHandlerBuilder MapEndpoint(IEndpointRouteBuilder builder)
@@ -23,7 +23,7 @@ public class GetServerInfo
return TypedResults.Ok(new Response( return TypedResults.Ok(new Response(
ThisAssembly.AssemblyInformationalVersion, ThisAssembly.AssemblyInformationalVersion,
ThisAssembly.GitCommitId, ThisAssembly.GitCommitId,
ThisAssembly.GitCommitDate, new DateTimeOffset(ThisAssembly.GitCommitDate, TimeSpan.Zero),
environment.EnvironmentName)); environment.EnvironmentName));
} }
} }