TODO: Move from Newtonsoft Json if possible.master
| @@ -3,7 +3,7 @@ using Microsoft.Extensions.DependencyInjection; | |||
| namespace SecureSharing.Business.Infrastructure.Extensions; | |||
| public sealed class StartupExtensions | |||
| public static class StartupExtensions | |||
| { | |||
| public static void ConfigureServices(IServiceCollection services) | |||
| { | |||
| @@ -2,6 +2,8 @@ | |||
| <PropertyGroup> | |||
| <TargetFramework>net6.0</TargetFramework> | |||
| <ImplicitUsings>enable</ImplicitUsings> | |||
| <Nullable>disable</Nullable> | |||
| <RootNamespace>SecureSharing.Business</RootNamespace> | |||
| </PropertyGroup> | |||
| @@ -2,6 +2,8 @@ | |||
| <PropertyGroup> | |||
| <TargetFramework>net6.0</TargetFramework> | |||
| <ImplicitUsings>enable</ImplicitUsings> | |||
| <Nullable>disable</Nullable> | |||
| <RootNamespace>SecureSharing.Data</RootNamespace> | |||
| </PropertyGroup> | |||
| @@ -1,6 +1,3 @@ | |||
| using Microsoft.AspNetCore.Hosting; | |||
| using Microsoft.Extensions.Hosting; | |||
| namespace SecureSharing; | |||
| public sealed class Program | |||
| @@ -2,6 +2,8 @@ | |||
| <PropertyGroup> | |||
| <TargetFramework>net6.0</TargetFramework> | |||
| <ImplicitUsings>enable</ImplicitUsings> | |||
| <Nullable>disable</Nullable> | |||
| <CopyRefAssembliesToPublishDirectory>false</CopyRefAssembliesToPublishDirectory> | |||
| <RootNamespace>SecureSharing</RootNamespace> | |||
| </PropertyGroup> | |||