New Angular based web version #1

Closed
thomas.nuyken wants to merge 150 commits from main into ddd
2 changed files with 6 additions and 3 deletions
Showing only changes of commit 9847b6e6f7 - Show all commits

View File

@@ -28,11 +28,14 @@ public static class DependencyInjectionExtensions
} }
private static IServiceCollection AddMiscellaneousServices(this IServiceCollection services) private static IServiceCollection AddMiscellaneousServices(this IServiceCollection services)
{
services.AddSingleton(sp =>
{ {
var assemblyName = Assembly.GetExecutingAssembly() var assemblyName = Assembly.GetExecutingAssembly()
.GetName() .GetName()
.Name ?? "Vegasco.Server.Api"; .Name ?? "Vegasco.Server.Api";
services.AddSingleton(new ActivitySource(assemblyName)); return new ActivitySource(assemblyName);
});
services.AddResponseCompression(); services.AddResponseCompression();

View File

@@ -4,7 +4,7 @@ public static class Constants
{ {
public static class Projects public static class Projects
{ {
public const string Api = "Vegasco_Server_Api"; public const string Api = "Vegasco.Server.Api";
} }
public static class Database public static class Database