From 9ea8f35de9582e00e7e6cf7b179b0e2ac3ca8f92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Perreault?= Date: Fri, 21 Apr 2023 12:41:46 -0400 Subject: [PATCH] fix: added global usings to fix usings reordering on template generation (#38) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: added global usings to fix usings reordering on template generation * fix: rolling back to c#10 --------- Co-authored-by: Félix Perreault --- CONTRIBUTING.md | 20 +++++++++++++++++++ README.md | 2 +- src/Content/Backend/Directory.Build.props | 2 +- .../GeneralTests.cs | 2 -- .../GlobalUsings.cs | 2 ++ .../GlobalUsings.cs | 1 + .../ContinuationEnumerableTests.cs | 1 - .../Continuation/ContinuationTokenTests.cs | 1 - .../GlobalUsings.cs | 1 + .../General/ApplicationInfo.cs | 1 - .../General/OperationContext.cs | 1 - .../NV.Templates.Backend.Core/GlobalUsings.cs | 6 ++++++ .../GlobalUsings.cs | 1 + .../GeneralFunctions.cs | 1 - .../GlobalUsings.cs | 1 + .../GlobalUsings.cs | 1 + .../RestApi/GeneralTests.cs | 1 - .../EndpointRouteBuilderExtensions.cs | 2 -- .../Framework/Middlewares/ExceptionHandler.cs | 2 -- .../Middlewares/OperationContextMiddleware.cs | 1 - .../ContinuationEnumerableExtensions.cs | 1 - .../Models/ContinuationEnumerableModel.cs | 1 - .../CommonHeadersOperationProcessor.cs | 2 -- .../OpenApi/HealthChecksDocumentProcessor.cs | 1 - .../OpenApiServiceCollectionExtensions.cs | 3 --- .../WebServiceCollectionExtensions.cs | 1 - .../NV.Templates.Backend.Web/GlobalUsings.cs | 10 ++++++++++ .../RestApi/General/ApplicationInfoModel.cs | 1 - .../RestApi/General/GeneralController.cs | 1 - .../RestApiServiceCollectionExtensions.cs | 1 - .../RestApi/SampleController.cs | 2 -- .../NV.Templates.Backend.Web/Startup.cs | 2 -- 32 files changed, 45 insertions(+), 31 deletions(-) create mode 100644 src/Content/Backend/NV.Templates.Backend.Console.Tests/GlobalUsings.cs create mode 100644 src/Content/Backend/NV.Templates.Backend.Console/GlobalUsings.cs create mode 100644 src/Content/Backend/NV.Templates.Backend.Core.Tests/GlobalUsings.cs create mode 100644 src/Content/Backend/NV.Templates.Backend.Core/GlobalUsings.cs create mode 100644 src/Content/Backend/NV.Templates.Backend.Functions.Tests/GlobalUsings.cs create mode 100644 src/Content/Backend/NV.Templates.Backend.Functions/GlobalUsings.cs create mode 100644 src/Content/Backend/NV.Templates.Backend.Web.Tests/GlobalUsings.cs create mode 100644 src/Content/Backend/NV.Templates.Backend.Web/GlobalUsings.cs diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 164f871..eedc9c9 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -80,6 +80,26 @@ use GitHub pull requests for this purpose. Consult [GitHub Help](https://help.github.com/articles/about-pull-requests/) for more information on using pull requests. +## Releasing a new version of the NV.Templates NuGet Package + +To release a new version of the NV.Templates NuGet Package, the developer needs to create a tag on a commit. +The publish workflow pipeline will automatically kick in. + +To do that : +- Go to the [releases page](https://github.com/nventive/DotNet.Backend.Template/releases/new) +- In **Choose a tag**, type in the tag name, starting with a **v** (ex: v2.5.3), and **Create new tag: v2.5.3** +- Choose your target branch (typically master) +- Type in the **Release Title** (same as the tag name) +- A quick description of the release, if necessary +- Choose options (pre-release or latest release) +- Click **Publish release** + +After, you can check the [actions](https://github.com/nventive/DotNet.Backend.Template/actions) to see that the publish pipeline is executing properly. + +When the pipeline completes, it can take a few minutes for the package to be available on NuGet. + +To make the package available locally, you will need to reinstall the packages with DotNetCLI. + ## Community Guidelines This project follows [Google's Open Source Community diff --git a/README.md b/README.md index 6076007..374bf08 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Generated projects can: - Install the templates locally ```shell -dotnet new install NV.Templates +dotnet new -i NV.Templates ``` ### Generate a Backend project diff --git a/src/Content/Backend/Directory.Build.props b/src/Content/Backend/Directory.Build.props index 10b6ba5..fe169be 100644 --- a/src/Content/Backend/Directory.Build.props +++ b/src/Content/Backend/Directory.Build.props @@ -4,7 +4,7 @@ CompanyName Copyright (c) 2020, CompanyName NV.Templates.Backend - 8.0 + 10.0 enable true diff --git a/src/Content/Backend/NV.Templates.Backend.Console.Tests/GeneralTests.cs b/src/Content/Backend/NV.Templates.Backend.Console.Tests/GeneralTests.cs index 98d54be..18eb26a 100644 --- a/src/Content/Backend/NV.Templates.Backend.Console.Tests/GeneralTests.cs +++ b/src/Content/Backend/NV.Templates.Backend.Console.Tests/GeneralTests.cs @@ -3,8 +3,6 @@ using FluentAssertions; using Microsoft.Extensions.Logging; using Moq; -using NV.Templates.Backend.Console.General; -using NV.Templates.Backend.Core.General; using Xunit; namespace NV.Templates.Backend.Console.Tests diff --git a/src/Content/Backend/NV.Templates.Backend.Console.Tests/GlobalUsings.cs b/src/Content/Backend/NV.Templates.Backend.Console.Tests/GlobalUsings.cs new file mode 100644 index 0000000..0876620 --- /dev/null +++ b/src/Content/Backend/NV.Templates.Backend.Console.Tests/GlobalUsings.cs @@ -0,0 +1,2 @@ +global using NV.Templates.Backend.Console.General; +global using NV.Templates.Backend.Core.General; diff --git a/src/Content/Backend/NV.Templates.Backend.Console/GlobalUsings.cs b/src/Content/Backend/NV.Templates.Backend.Console/GlobalUsings.cs new file mode 100644 index 0000000..b4b8731 --- /dev/null +++ b/src/Content/Backend/NV.Templates.Backend.Console/GlobalUsings.cs @@ -0,0 +1 @@ +global using NV.Templates.Backend.Core.General; diff --git a/src/Content/Backend/NV.Templates.Backend.Core.Tests/Framework/Continuation/ContinuationEnumerableTests.cs b/src/Content/Backend/NV.Templates.Backend.Core.Tests/Framework/Continuation/ContinuationEnumerableTests.cs index 6f44c0b..55fed33 100644 --- a/src/Content/Backend/NV.Templates.Backend.Core.Tests/Framework/Continuation/ContinuationEnumerableTests.cs +++ b/src/Content/Backend/NV.Templates.Backend.Core.Tests/Framework/Continuation/ContinuationEnumerableTests.cs @@ -1,7 +1,6 @@ using System.Collections.Generic; using Bogus; using FluentAssertions; -using NV.Templates.Backend.Core.Framework.Continuation; using Xunit; namespace NV.Templates.Backend.Core.Tests.Framework.Continuation diff --git a/src/Content/Backend/NV.Templates.Backend.Core.Tests/Framework/Continuation/ContinuationTokenTests.cs b/src/Content/Backend/NV.Templates.Backend.Core.Tests/Framework/Continuation/ContinuationTokenTests.cs index 0cfe4eb..80c59d6 100644 --- a/src/Content/Backend/NV.Templates.Backend.Core.Tests/Framework/Continuation/ContinuationTokenTests.cs +++ b/src/Content/Backend/NV.Templates.Backend.Core.Tests/Framework/Continuation/ContinuationTokenTests.cs @@ -1,7 +1,6 @@ using System; using Bogus; using FluentAssertions; -using NV.Templates.Backend.Core.Framework.Continuation; using Xunit; namespace NV.Templates.Backend.Core.Tests.Framework.Continuation diff --git a/src/Content/Backend/NV.Templates.Backend.Core.Tests/GlobalUsings.cs b/src/Content/Backend/NV.Templates.Backend.Core.Tests/GlobalUsings.cs new file mode 100644 index 0000000..ec550fc --- /dev/null +++ b/src/Content/Backend/NV.Templates.Backend.Core.Tests/GlobalUsings.cs @@ -0,0 +1 @@ +global using NV.Templates.Backend.Core.Framework.Continuation; diff --git a/src/Content/Backend/NV.Templates.Backend.Core/General/ApplicationInfo.cs b/src/Content/Backend/NV.Templates.Backend.Core/General/ApplicationInfo.cs index 16b7307..ef10660 100644 --- a/src/Content/Backend/NV.Templates.Backend.Core/General/ApplicationInfo.cs +++ b/src/Content/Backend/NV.Templates.Backend.Core/General/ApplicationInfo.cs @@ -1,7 +1,6 @@ using System.Reflection; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; -using NV.Templates.Backend.Core.Framework.DependencyInjection; namespace NV.Templates.Backend.Core.General { diff --git a/src/Content/Backend/NV.Templates.Backend.Core/General/OperationContext.cs b/src/Content/Backend/NV.Templates.Backend.Core/General/OperationContext.cs index 1a493c4..304a6f9 100644 --- a/src/Content/Backend/NV.Templates.Backend.Core/General/OperationContext.cs +++ b/src/Content/Backend/NV.Templates.Backend.Core/General/OperationContext.cs @@ -1,7 +1,6 @@ using System; using System.Security.Principal; using Microsoft.Extensions.DependencyInjection; -using NV.Templates.Backend.Core.Framework.DependencyInjection; namespace NV.Templates.Backend.Core.General { diff --git a/src/Content/Backend/NV.Templates.Backend.Core/GlobalUsings.cs b/src/Content/Backend/NV.Templates.Backend.Core/GlobalUsings.cs new file mode 100644 index 0000000..69de087 --- /dev/null +++ b/src/Content/Backend/NV.Templates.Backend.Core/GlobalUsings.cs @@ -0,0 +1,6 @@ +global using NV.Templates.Backend.Core.Configuration; +global using NV.Templates.Backend.Core.Framework.Continuation; +global using NV.Templates.Backend.Core.Framework.DependencyInjection; +global using NV.Templates.Backend.Core.Framework.HttpDependencies; +global using NV.Templates.Backend.Core.Framework.Json; +global using NV.Templates.Backend.Core.General; diff --git a/src/Content/Backend/NV.Templates.Backend.Functions.Tests/GlobalUsings.cs b/src/Content/Backend/NV.Templates.Backend.Functions.Tests/GlobalUsings.cs new file mode 100644 index 0000000..b4b8731 --- /dev/null +++ b/src/Content/Backend/NV.Templates.Backend.Functions.Tests/GlobalUsings.cs @@ -0,0 +1 @@ +global using NV.Templates.Backend.Core.General; diff --git a/src/Content/Backend/NV.Templates.Backend.Functions/GeneralFunctions.cs b/src/Content/Backend/NV.Templates.Backend.Functions/GeneralFunctions.cs index f9006a7..b7d04fe 100644 --- a/src/Content/Backend/NV.Templates.Backend.Functions/GeneralFunctions.cs +++ b/src/Content/Backend/NV.Templates.Backend.Functions/GeneralFunctions.cs @@ -4,7 +4,6 @@ using Microsoft.AspNetCore.Mvc; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.Http; -using NV.Templates.Backend.Core.General; namespace NV.Templates.Backend.Functions { diff --git a/src/Content/Backend/NV.Templates.Backend.Functions/GlobalUsings.cs b/src/Content/Backend/NV.Templates.Backend.Functions/GlobalUsings.cs new file mode 100644 index 0000000..b4b8731 --- /dev/null +++ b/src/Content/Backend/NV.Templates.Backend.Functions/GlobalUsings.cs @@ -0,0 +1 @@ +global using NV.Templates.Backend.Core.General; diff --git a/src/Content/Backend/NV.Templates.Backend.Web.Tests/GlobalUsings.cs b/src/Content/Backend/NV.Templates.Backend.Web.Tests/GlobalUsings.cs new file mode 100644 index 0000000..7bbcfcd --- /dev/null +++ b/src/Content/Backend/NV.Templates.Backend.Web.Tests/GlobalUsings.cs @@ -0,0 +1 @@ +global using NV.Templates.Backend.Web.RestApi.General; diff --git a/src/Content/Backend/NV.Templates.Backend.Web.Tests/RestApi/GeneralTests.cs b/src/Content/Backend/NV.Templates.Backend.Web.Tests/RestApi/GeneralTests.cs index 9cd4eab..08f0503 100644 --- a/src/Content/Backend/NV.Templates.Backend.Web.Tests/RestApi/GeneralTests.cs +++ b/src/Content/Backend/NV.Templates.Backend.Web.Tests/RestApi/GeneralTests.cs @@ -4,7 +4,6 @@ using System.Threading.Tasks; using FluentAssertions; using Microsoft.AspNetCore.Http; -using NV.Templates.Backend.Web.RestApi.General; using Refit; using Xunit; using Xunit.Abstractions; diff --git a/src/Content/Backend/NV.Templates.Backend.Web/Framework/EndpointRouteBuilderExtensions.cs b/src/Content/Backend/NV.Templates.Backend.Web/Framework/EndpointRouteBuilderExtensions.cs index e82306e..3fe259b 100644 --- a/src/Content/Backend/NV.Templates.Backend.Web/Framework/EndpointRouteBuilderExtensions.cs +++ b/src/Content/Backend/NV.Templates.Backend.Web/Framework/EndpointRouteBuilderExtensions.cs @@ -2,8 +2,6 @@ using Microsoft.AspNetCore.Diagnostics.HealthChecks; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Options; -using NV.Templates.Backend.Core.Configuration; -using NV.Templates.Backend.Web.Framework.Middlewares; namespace Microsoft.AspNetCore.Routing { diff --git a/src/Content/Backend/NV.Templates.Backend.Web/Framework/Middlewares/ExceptionHandler.cs b/src/Content/Backend/NV.Templates.Backend.Web/Framework/Middlewares/ExceptionHandler.cs index 6b11d9d..0a76e9c 100644 --- a/src/Content/Backend/NV.Templates.Backend.Web/Framework/Middlewares/ExceptionHandler.cs +++ b/src/Content/Backend/NV.Templates.Backend.Web/Framework/Middlewares/ExceptionHandler.cs @@ -15,8 +15,6 @@ using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; -using NV.Templates.Backend.Core.Framework.Exceptions; -using NV.Templates.Backend.Core.General; namespace NV.Templates.Backend.Web.Framework.Middlewares { diff --git a/src/Content/Backend/NV.Templates.Backend.Web/Framework/Middlewares/OperationContextMiddleware.cs b/src/Content/Backend/NV.Templates.Backend.Web/Framework/Middlewares/OperationContextMiddleware.cs index 4e22ed3..8ca7dec 100644 --- a/src/Content/Backend/NV.Templates.Backend.Web/Framework/Middlewares/OperationContextMiddleware.cs +++ b/src/Content/Backend/NV.Templates.Backend.Web/Framework/Middlewares/OperationContextMiddleware.cs @@ -2,7 +2,6 @@ using System.Diagnostics; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; -using NV.Templates.Backend.Core.General; namespace NV.Templates.Backend.Web.Framework.Middlewares { diff --git a/src/Content/Backend/NV.Templates.Backend.Web/Framework/Models/ContinuationEnumerableExtensions.cs b/src/Content/Backend/NV.Templates.Backend.Web/Framework/Models/ContinuationEnumerableExtensions.cs index e2afaef..461ecce 100644 --- a/src/Content/Backend/NV.Templates.Backend.Web/Framework/Models/ContinuationEnumerableExtensions.cs +++ b/src/Content/Backend/NV.Templates.Backend.Web/Framework/Models/ContinuationEnumerableExtensions.cs @@ -1,6 +1,5 @@ using System; using System.Linq; -using NV.Templates.Backend.Core.Framework.Continuation; namespace NV.Templates.Backend.Web.Framework.Models { diff --git a/src/Content/Backend/NV.Templates.Backend.Web/Framework/Models/ContinuationEnumerableModel.cs b/src/Content/Backend/NV.Templates.Backend.Web/Framework/Models/ContinuationEnumerableModel.cs index d264fd7..e99f1b4 100644 --- a/src/Content/Backend/NV.Templates.Backend.Web/Framework/Models/ContinuationEnumerableModel.cs +++ b/src/Content/Backend/NV.Templates.Backend.Web/Framework/Models/ContinuationEnumerableModel.cs @@ -1,7 +1,6 @@ using System.Collections.Generic; using System.ComponentModel; using System.Linq; -using NV.Templates.Backend.Core.Framework.Continuation; namespace NV.Templates.Backend.Web.Framework.Models { diff --git a/src/Content/Backend/NV.Templates.Backend.Web/Framework/OpenApi/CommonHeadersOperationProcessor.cs b/src/Content/Backend/NV.Templates.Backend.Web/Framework/OpenApi/CommonHeadersOperationProcessor.cs index 6c8c0c7..1a3223b 100644 --- a/src/Content/Backend/NV.Templates.Backend.Web/Framework/OpenApi/CommonHeadersOperationProcessor.cs +++ b/src/Content/Backend/NV.Templates.Backend.Web/Framework/OpenApi/CommonHeadersOperationProcessor.cs @@ -4,8 +4,6 @@ using NSwag; using NSwag.Generation.Processors; using NSwag.Generation.Processors.Contexts; -using NV.Templates.Backend.Web.Framework.Middlewares; -using NV.Templates.Backend.Web.Framework.Telemetry; namespace NV.Templates.Backend.Web.Framework.OpenApi { diff --git a/src/Content/Backend/NV.Templates.Backend.Web/Framework/OpenApi/HealthChecksDocumentProcessor.cs b/src/Content/Backend/NV.Templates.Backend.Web/Framework/OpenApi/HealthChecksDocumentProcessor.cs index deb30ce..9622112 100644 --- a/src/Content/Backend/NV.Templates.Backend.Web/Framework/OpenApi/HealthChecksDocumentProcessor.cs +++ b/src/Content/Backend/NV.Templates.Backend.Web/Framework/OpenApi/HealthChecksDocumentProcessor.cs @@ -5,7 +5,6 @@ using NSwag; using NSwag.Generation.Processors; using NSwag.Generation.Processors.Contexts; -using NV.Templates.Backend.Web.Framework.Middlewares; namespace NV.Templates.Backend.Web.Framework.OpenApi { diff --git a/src/Content/Backend/NV.Templates.Backend.Web/Framework/OpenApi/OpenApiServiceCollectionExtensions.cs b/src/Content/Backend/NV.Templates.Backend.Web/Framework/OpenApi/OpenApiServiceCollectionExtensions.cs index 5d6d541..b73a455 100644 --- a/src/Content/Backend/NV.Templates.Backend.Web/Framework/OpenApi/OpenApiServiceCollectionExtensions.cs +++ b/src/Content/Backend/NV.Templates.Backend.Web/Framework/OpenApi/OpenApiServiceCollectionExtensions.cs @@ -4,9 +4,6 @@ using System.Text.Json.Serialization; using Microsoft.AspNetCore.Mvc.ApiExplorer; using Microsoft.Extensions.Configuration; -using NV.Templates.Backend.Core.General; -using NV.Templates.Backend.Web.Framework.Middlewares; -using NV.Templates.Backend.Web.Framework.OpenApi; namespace Microsoft.Extensions.DependencyInjection { diff --git a/src/Content/Backend/NV.Templates.Backend.Web/Framework/WebServiceCollectionExtensions.cs b/src/Content/Backend/NV.Templates.Backend.Web/Framework/WebServiceCollectionExtensions.cs index f6c45ac..7a8ad84 100644 --- a/src/Content/Backend/NV.Templates.Backend.Web/Framework/WebServiceCollectionExtensions.cs +++ b/src/Content/Backend/NV.Templates.Backend.Web/Framework/WebServiceCollectionExtensions.cs @@ -3,7 +3,6 @@ using HelpDeskId; using Microsoft.ApplicationInsights.Extensibility; using Microsoft.Extensions.Configuration; -using NV.Templates.Backend.Web.Framework.Telemetry; namespace Microsoft.Extensions.DependencyInjection { diff --git a/src/Content/Backend/NV.Templates.Backend.Web/GlobalUsings.cs b/src/Content/Backend/NV.Templates.Backend.Web/GlobalUsings.cs new file mode 100644 index 0000000..4f25cee --- /dev/null +++ b/src/Content/Backend/NV.Templates.Backend.Web/GlobalUsings.cs @@ -0,0 +1,10 @@ +global using NV.Templates.Backend.Core.Configuration; +global using NV.Templates.Backend.Core.Framework.Continuation; +global using NV.Templates.Backend.Core.Framework.Exceptions; +global using NV.Templates.Backend.Core.Framework.Json; +global using NV.Templates.Backend.Core.General; +global using NV.Templates.Backend.Web.Framework.Middlewares; +global using NV.Templates.Backend.Web.Framework.Models; +global using NV.Templates.Backend.Web.Framework.OpenApi; +global using NV.Templates.Backend.Web.Framework.Telemetry; +global using NV.Templates.Backend.Web.RestApi; diff --git a/src/Content/Backend/NV.Templates.Backend.Web/RestApi/General/ApplicationInfoModel.cs b/src/Content/Backend/NV.Templates.Backend.Web/RestApi/General/ApplicationInfoModel.cs index 9f1f2ee..ebe2e1f 100644 --- a/src/Content/Backend/NV.Templates.Backend.Web/RestApi/General/ApplicationInfoModel.cs +++ b/src/Content/Backend/NV.Templates.Backend.Web/RestApi/General/ApplicationInfoModel.cs @@ -1,6 +1,5 @@ using System.ComponentModel; using System.ComponentModel.DataAnnotations; -using NV.Templates.Backend.Core.General; namespace NV.Templates.Backend.Web.RestApi.General { diff --git a/src/Content/Backend/NV.Templates.Backend.Web/RestApi/General/GeneralController.cs b/src/Content/Backend/NV.Templates.Backend.Web/RestApi/General/GeneralController.cs index c7fa4b3..04ec7ea 100644 --- a/src/Content/Backend/NV.Templates.Backend.Web/RestApi/General/GeneralController.cs +++ b/src/Content/Backend/NV.Templates.Backend.Web/RestApi/General/GeneralController.cs @@ -1,7 +1,6 @@ using System.ComponentModel; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; -using NV.Templates.Backend.Core.General; namespace NV.Templates.Backend.Web.RestApi.General { diff --git a/src/Content/Backend/NV.Templates.Backend.Web/RestApi/RestApiServiceCollectionExtensions.cs b/src/Content/Backend/NV.Templates.Backend.Web/RestApi/RestApiServiceCollectionExtensions.cs index 483b502..1df80f7 100644 --- a/src/Content/Backend/NV.Templates.Backend.Web/RestApi/RestApiServiceCollectionExtensions.cs +++ b/src/Content/Backend/NV.Templates.Backend.Web/RestApi/RestApiServiceCollectionExtensions.cs @@ -6,7 +6,6 @@ #if Auth using Microsoft.AspNetCore.Mvc.Authorization; #endif -using NV.Templates.Backend.Core.Framework.Json; namespace Microsoft.Extensions.DependencyInjection { diff --git a/src/Content/Backend/NV.Templates.Backend.Web/RestApi/SampleController.cs b/src/Content/Backend/NV.Templates.Backend.Web/RestApi/SampleController.cs index 89d72fd..789c3bf 100644 --- a/src/Content/Backend/NV.Templates.Backend.Web/RestApi/SampleController.cs +++ b/src/Content/Backend/NV.Templates.Backend.Web/RestApi/SampleController.cs @@ -7,8 +7,6 @@ using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.JsonPatch; using Microsoft.AspNetCore.Mvc; -using NV.Templates.Backend.Core.Framework.Continuation; -using NV.Templates.Backend.Web.Framework.Models; namespace NV.Templates.Backend.Web.RestApi { diff --git a/src/Content/Backend/NV.Templates.Backend.Web/Startup.cs b/src/Content/Backend/NV.Templates.Backend.Web/Startup.cs index 7874c25..42bd965 100644 --- a/src/Content/Backend/NV.Templates.Backend.Web/Startup.cs +++ b/src/Content/Backend/NV.Templates.Backend.Web/Startup.cs @@ -7,8 +7,6 @@ using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; -using NV.Templates.Backend.Web.Framework.Middlewares; -using NV.Templates.Backend.Web.RestApi; [assembly: ApiController] [assembly: ApiConventionType(typeof(RestApiConventions))]