diff --git a/RapidField.SolidInstruments.sln b/RapidField.SolidInstruments.sln index d2f1497c..1db19f90 100644 --- a/RapidField.SolidInstruments.sln +++ b/RapidField.SolidInstruments.sln @@ -424,8 +424,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RapidField.SolidInstruments EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RapidField.SolidInstruments.Web.DotNetNative", "src\RapidField.SolidInstruments.Web.DotNetNative\RapidField.SolidInstruments.Web.DotNetNative.csproj", "{6A53C072-71C8-42F1-90D9-9AE64F2848B2}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RapidField.SolidInstruments.Example.HttpApiClient", "example\RapidField.SolidInstruments.Example.HttpApiClient\RapidField.SolidInstruments.Example.HttpApiClient.csproj", "{46A9050C-F99A-4F93-B98B-B67A53A3FA0A}" -EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -676,10 +674,6 @@ Global {6A53C072-71C8-42F1-90D9-9AE64F2848B2}.Debug|Any CPU.Build.0 = Debug|Any CPU {6A53C072-71C8-42F1-90D9-9AE64F2848B2}.Release|Any CPU.ActiveCfg = Release|Any CPU {6A53C072-71C8-42F1-90D9-9AE64F2848B2}.Release|Any CPU.Build.0 = Release|Any CPU - {46A9050C-F99A-4F93-B98B-B67A53A3FA0A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {46A9050C-F99A-4F93-B98B-B67A53A3FA0A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {46A9050C-F99A-4F93-B98B-B67A53A3FA0A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {46A9050C-F99A-4F93-B98B-B67A53A3FA0A}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -762,7 +756,6 @@ Global {3F1A6F2B-B84F-44C5-9E7D-5763C82CA926} = {F58E05BE-9DC6-41B4-8324-C006F6CE7CC7} {20452BD4-3C2F-44EC-8DEB-14FD9FE8AA84} = {F58E05BE-9DC6-41B4-8324-C006F6CE7CC7} {6A53C072-71C8-42F1-90D9-9AE64F2848B2} = {F58E05BE-9DC6-41B4-8324-C006F6CE7CC7} - {46A9050C-F99A-4F93-B98B-B67A53A3FA0A} = {BEB60D41-11BB-4C6E-8F5D-1E7990A27C34} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {834FCFB0-DA00-4ABD-9424-6FE1398A9F6E} diff --git a/example/RapidField.SolidInstruments.Example.Domain.AccessControl.HttpApi/Controllers/TestController.cs b/example/RapidField.SolidInstruments.Example.Domain.AccessControl.HttpApi/Controllers/TestController.cs deleted file mode 100644 index d89364c0..00000000 --- a/example/RapidField.SolidInstruments.Example.Domain.AccessControl.HttpApi/Controllers/TestController.cs +++ /dev/null @@ -1,34 +0,0 @@ -// ================================================================================================================================= -// Copyright (c) RapidField LLC. Licensed under the MIT License. See LICENSE.txt in the project root for license information. -// ================================================================================================================================= - -using Microsoft.AspNetCore.Mvc; - -namespace RapidField.SolidInstruments.Example.Domain.AccessControl.HttpApi.Controllers -{ - /// - /// Processes HTTP requests for the ~/Test endpoint. - /// - [ApiController] - [Route("[controller]")] - public sealed class TestController : ControllerBase - { - /// - /// Initializes a new instance of the class. - /// - public TestController() - : base() - { - return; - } - - /// - /// Handles GET requests for the endpoint. - /// - /// - /// A status code result. - /// - [HttpGet] - public IActionResult Get() => Ok(); - } -} \ No newline at end of file diff --git a/example/RapidField.SolidInstruments.Example.Domain.AccessControl.HttpApi/Program.cs b/example/RapidField.SolidInstruments.Example.Domain.AccessControl.HttpApi/Program.cs index e5a3ee75..a077ce19 100644 --- a/example/RapidField.SolidInstruments.Example.Domain.AccessControl.HttpApi/Program.cs +++ b/example/RapidField.SolidInstruments.Example.Domain.AccessControl.HttpApi/Program.cs @@ -22,16 +22,17 @@ public static class Program /// /// Begins execution of the application. /// - /// + /// /// Command line arguments that are provided at runtime. /// - public static void Main(String[] args) + public static void Main(String[] commandLineArguments) { var applicationConfiguration = new ConfigurationBuilder() .SetBasePath(Directory.GetCurrentDirectory()) .AddJsonFile("appsettings.json") + .AddCommandLine(commandLineArguments) .Build(); - var host = Host.CreateDefaultBuilder(args) + var host = Host.CreateDefaultBuilder(commandLineArguments) .ConfigureWebHostDefaults(webHost => { webHost.UseConfiguration(applicationConfiguration); diff --git a/example/RapidField.SolidInstruments.Example.Domain.AccessControl.Service/Program.cs b/example/RapidField.SolidInstruments.Example.Domain.AccessControl.Service/Program.cs index 70cf9a02..d77b8616 100644 --- a/example/RapidField.SolidInstruments.Example.Domain.AccessControl.Service/Program.cs +++ b/example/RapidField.SolidInstruments.Example.Domain.AccessControl.Service/Program.cs @@ -15,13 +15,13 @@ public static class Program /// /// Begins execution of the application. /// - /// + /// /// Command line arguments that are provided at runtime. /// - public static void Main(String[] args) + public static void Main(String[] commandLineArguments) { using var serviceExecutor = new ApplicationServiceExecutor(ServiceName); - serviceExecutor.Execute(args); + serviceExecutor.Execute(commandLineArguments); } /// diff --git a/example/RapidField.SolidInstruments.Example.Domain.Identity.Service/Program.cs b/example/RapidField.SolidInstruments.Example.Domain.Identity.Service/Program.cs index a11acdf5..65392ef6 100644 --- a/example/RapidField.SolidInstruments.Example.Domain.Identity.Service/Program.cs +++ b/example/RapidField.SolidInstruments.Example.Domain.Identity.Service/Program.cs @@ -15,13 +15,13 @@ public static class Program /// /// Begins execution of the application. /// - /// + /// /// Command line arguments that are provided at runtime. /// - public static void Main(String[] args) + public static void Main(String[] commandLineArguments) { using var serviceExecutor = new ApplicationServiceExecutor(ServiceName); - serviceExecutor.Execute(args); + serviceExecutor.Execute(commandLineArguments); } /// diff --git a/example/RapidField.SolidInstruments.Example.HttpApiClient/README.md b/example/RapidField.SolidInstruments.Example.HttpApiClient/README.md deleted file mode 100644 index 8cfef86c..00000000 --- a/example/RapidField.SolidInstruments.Example.HttpApiClient/README.md +++ /dev/null @@ -1,30 +0,0 @@ - - -[![Solid Instruments](../../SolidInstruments.Logo.Color.Transparent.500w.png)](../../README.md) -- - - - -# RapidField.SolidInstruments.Example.HttpApiClient - -This document describes the purpose of the [`RapidField.SolidInstruments.Example.HttpApiClient`]() project. - -## Purpose - -This project exposes a sample collection of HTTP API clients that utilize the **Solid Instruments** [web](../../src/RapidField.SolidInstruments.Web/README.md) constructs. - -## License - -[![License](https://img.shields.io/github/license/rapidfield/solid-instruments?style=flat&color=lightseagreen&label=license&logo=open-access&logoColor=lightgrey)](../../LICENSE.txt) - -**Solid Instruments** is [MIT-licensed](https://en.wikipedia.org/wiki/MIT_License). Review the [license terms](../../LICENSE.txt) for more information. - -
- -- - - - -
- -[![RapidField](../../RapidField.Logo.Color.Black.Transparent.200w.png)](https://www.rapidfield.com) - -###### Copyright (c) RapidField LLC. All rights reserved. "RapidField" and "Solid Instruments" are trademarks of RapidField LLC. \ No newline at end of file diff --git a/example/RapidField.SolidInstruments.Example.HttpApiClient/RapidField.SolidInstruments.Example.HttpApiClient.csproj b/example/RapidField.SolidInstruments.Example.HttpApiClient/RapidField.SolidInstruments.Example.HttpApiClient.csproj deleted file mode 100644 index f3358228..00000000 --- a/example/RapidField.SolidInstruments.Example.HttpApiClient/RapidField.SolidInstruments.Example.HttpApiClient.csproj +++ /dev/null @@ -1,33 +0,0 @@ - - - - - Solid Instruments contributors - RapidField - Copyright (c) RapidField LLC. All rights reserved. - Solid Instruments - This project exposes a sample collection of HTTP API clients that utilize the Solid Instruments web constructs. - $(BuildVersion) - netstandard2.1 - latest - - - bin\Debug\netstandard2.1\RapidField.SolidInstruments.Example.HttpApiClient.xml - true - - - - bin\Release\netstandard2.1\RapidField.SolidInstruments.Example.HttpApiClient.xml - true - - - - - - - - - - \ No newline at end of file diff --git a/src/RapidField.SolidInstruments.InversionOfControl/ServiceProvider.cs b/src/RapidField.SolidInstruments.InversionOfControl/ServiceProvider.cs index caaf5240..2e122660 100644 --- a/src/RapidField.SolidInstruments.InversionOfControl/ServiceProvider.cs +++ b/src/RapidField.SolidInstruments.InversionOfControl/ServiceProvider.cs @@ -23,8 +23,7 @@ public sealed class ServiceProvider : IServiceProvider, ISupportRequiredService /// /// is . /// - [DebuggerHidden] - internal ServiceProvider(IDependencyContainer container) + public ServiceProvider(IDependencyContainer container) { Container = container.RejectIf().IsNull(nameof(container)).TargetArgument; } diff --git a/src/RapidField.SolidInstruments.Web.Autofac/RapidField.SolidInstruments.Web.Autofac.csproj b/src/RapidField.SolidInstruments.Web.Autofac/RapidField.SolidInstruments.Web.Autofac.csproj index 11bdb4d9..78b0a202 100644 --- a/src/RapidField.SolidInstruments.Web.Autofac/RapidField.SolidInstruments.Web.Autofac.csproj +++ b/src/RapidField.SolidInstruments.Web.Autofac/RapidField.SolidInstruments.Web.Autofac.csproj @@ -10,7 +10,7 @@ Copyright (c) RapidField LLC. Licensed under the MIT License. See LICENSE.txt in Solid Instruments This library exposes the Autofac IoC integration for the Solid Instruments web application abstractions. $(BuildVersion) - netstandard2.1 + netcoreapp3.1 latest git https://github.com/rapidfield/solid-instruments @@ -22,12 +22,12 @@ Copyright (c) RapidField LLC. Licensed under the MIT License. See LICENSE.txt in solid-instruments;web;web-application;inversion-of-control;ioc;dependency-injection;di;autofac - bin\Debug\netstandard2.1\RapidField.SolidInstruments.Web.Autofac.xml + bin\Debug\netcoreapp3.1\RapidField.SolidInstruments.Web.Autofac.xml true - bin\Release\netstandard2.1\RapidField.SolidInstruments.Web.Autofac.xml + bin\Release\netcoreapp3.1\RapidField.SolidInstruments.Web.Autofac.xml true diff --git a/src/RapidField.SolidInstruments.Web.DotNetNative/RapidField.SolidInstruments.Web.DotNetNative.csproj b/src/RapidField.SolidInstruments.Web.DotNetNative/RapidField.SolidInstruments.Web.DotNetNative.csproj index 9248b657..d06a2b73 100644 --- a/src/RapidField.SolidInstruments.Web.DotNetNative/RapidField.SolidInstruments.Web.DotNetNative.csproj +++ b/src/RapidField.SolidInstruments.Web.DotNetNative/RapidField.SolidInstruments.Web.DotNetNative.csproj @@ -10,7 +10,7 @@ Copyright (c) RapidField LLC. Licensed under the MIT License. See LICENSE.txt in Solid Instruments This library exposes the native .NET IoC integration for the Solid Instruments web application abstractions. $(BuildVersion) - netstandard2.1 + netcoreapp3.1 latest git https://github.com/rapidfield/solid-instruments @@ -22,12 +22,12 @@ Copyright (c) RapidField LLC. Licensed under the MIT License. See LICENSE.txt in solid-instruments;web;web-application;inversion-of-control;ioc;dependency-injection;di - bin\Debug\netstandard2.1\RapidField.SolidInstruments.Web.DotNetNative.xml + bin\Debug\netcoreapp3.1\RapidField.SolidInstruments.Web.DotNetNative.xml true - bin\Release\netstandard2.1\RapidField.SolidInstruments.Web.DotNetNative.xml + bin\Release\netcoreapp3.1\RapidField.SolidInstruments.Web.DotNetNative.xml true diff --git a/src/RapidField.SolidInstruments.Web/HttpApiController.cs b/src/RapidField.SolidInstruments.Web/HttpApiController.cs new file mode 100644 index 00000000..0f3a4f37 --- /dev/null +++ b/src/RapidField.SolidInstruments.Web/HttpApiController.cs @@ -0,0 +1,13 @@ +// ================================================================================================================================= +// Copyright (c) RapidField LLC. Licensed under the MIT License. See LICENSE.txt in the project root for license information. +// ================================================================================================================================= + +namespace RapidField.SolidInstruments.Web +{ + /// + /// Processes HTTP requests for an API endpoint. + /// + public abstract class HttpApiController + { + } +} \ No newline at end of file diff --git a/src/RapidField.SolidInstruments.Web/RapidField.SolidInstruments.Web.csproj b/src/RapidField.SolidInstruments.Web/RapidField.SolidInstruments.Web.csproj index a55ff3c4..62069a00 100644 --- a/src/RapidField.SolidInstruments.Web/RapidField.SolidInstruments.Web.csproj +++ b/src/RapidField.SolidInstruments.Web/RapidField.SolidInstruments.Web.csproj @@ -10,7 +10,7 @@ Copyright (c) RapidField LLC. Licensed under the MIT License. See LICENSE.txt in Solid Instruments This library exposes types that simplify web application design. $(BuildVersion) - netstandard2.1 + netcoreapp3.1 latest git https://github.com/rapidfield/solid-instruments @@ -22,12 +22,12 @@ Copyright (c) RapidField LLC. Licensed under the MIT License. See LICENSE.txt in solid-instruments;web;web-application - bin\Debug\netstandard2.1\RapidField.SolidInstruments.Web.xml + bin\Debug\netcoreapp3.1\RapidField.SolidInstruments.Web.xml true - bin\Release\netstandard2.1\RapidField.SolidInstruments.Web.xml + bin\Release\netcoreapp3.1\RapidField.SolidInstruments.Web.xml true