From c850d5e817261fd046bfbf6c4b6195ca79348010 Mon Sep 17 00:00:00 2001 From: Wvader <34067397+wvader@users.noreply.github.com> Date: Fri, 28 Oct 2022 15:45:57 +0100 Subject: [PATCH] Remove useless stuff --- .gitignore | 2 +- .../BlueWest.Authorization.csproj | 13 ------- .../Controllers/WeatherForecastController.cs | 32 ------------------ BlueWest.Authorization/Program.cs | 25 -------------- .../Properties/launchSettings.json | 31 ----------------- BlueWest.Authorization/WeatherForecast.cs | 12 ------- .../appsettings.Development.json | 8 ----- BlueWest.Authorization/appsettings.json | 9 ----- data/appendonly.aof | 0 data/dump.rdb | Bin 1397 -> 0 bytes 10 files changed, 1 insertion(+), 131 deletions(-) delete mode 100644 BlueWest.Authorization/BlueWest.Authorization.csproj delete mode 100644 BlueWest.Authorization/Controllers/WeatherForecastController.cs delete mode 100644 BlueWest.Authorization/Program.cs delete mode 100644 BlueWest.Authorization/Properties/launchSettings.json delete mode 100644 BlueWest.Authorization/WeatherForecast.cs delete mode 100644 BlueWest.Authorization/appsettings.Development.json delete mode 100644 BlueWest.Authorization/appsettings.json delete mode 100644 data/appendonly.aof delete mode 100644 data/dump.rdb diff --git a/.gitignore b/.gitignore index b1fc462..c003122 100644 --- a/.gitignore +++ b/.gitignore @@ -39,7 +39,7 @@ bld/ # Visual Studio 2017 auto generated files Generated\ Files/ - +data # MSTest test Results [Tt]est[Rr]esult*/ [Bb]uild[Ll]og.* diff --git a/BlueWest.Authorization/BlueWest.Authorization.csproj b/BlueWest.Authorization/BlueWest.Authorization.csproj deleted file mode 100644 index 6108b7b..0000000 --- a/BlueWest.Authorization/BlueWest.Authorization.csproj +++ /dev/null @@ -1,13 +0,0 @@ - - - - net6.0 - enable - enable - - - - - - - diff --git a/BlueWest.Authorization/Controllers/WeatherForecastController.cs b/BlueWest.Authorization/Controllers/WeatherForecastController.cs deleted file mode 100644 index 18749ed..0000000 --- a/BlueWest.Authorization/Controllers/WeatherForecastController.cs +++ /dev/null @@ -1,32 +0,0 @@ -using Microsoft.AspNetCore.Mvc; - -namespace BlueWest.Authorization.Controllers; - -[ApiController] -[Route("[controller]")] -public class WeatherForecastController : ControllerBase -{ - private static readonly string[] Summaries = new[] - { - "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching" - }; - - private readonly ILogger _logger; - - public WeatherForecastController(ILogger logger) - { - _logger = logger; - } - - [HttpGet(Name = "GetWeatherForecast")] - public IEnumerable Get() - { - return Enumerable.Range(1, 5).Select(index => new WeatherForecast - { - Date = DateTime.Now.AddDays(index), - TemperatureC = Random.Shared.Next(-20, 55), - Summary = Summaries[Random.Shared.Next(Summaries.Length)] - }) - .ToArray(); - } -} diff --git a/BlueWest.Authorization/Program.cs b/BlueWest.Authorization/Program.cs deleted file mode 100644 index 48863a6..0000000 --- a/BlueWest.Authorization/Program.cs +++ /dev/null @@ -1,25 +0,0 @@ -var builder = WebApplication.CreateBuilder(args); - -// Add services to the container. - -builder.Services.AddControllers(); -// Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle -builder.Services.AddEndpointsApiExplorer(); -builder.Services.AddSwaggerGen(); - -var app = builder.Build(); - -// Configure the HTTP request pipeline. -if (app.Environment.IsDevelopment()) -{ - app.UseSwagger(); - app.UseSwaggerUI(); -} - -app.UseHttpsRedirection(); - -app.UseAuthorization(); - -app.MapControllers(); - -app.Run(); diff --git a/BlueWest.Authorization/Properties/launchSettings.json b/BlueWest.Authorization/Properties/launchSettings.json deleted file mode 100644 index 6d1f5d4..0000000 --- a/BlueWest.Authorization/Properties/launchSettings.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "$schema": "https://json.schemastore.org/launchsettings.json", - "iisSettings": { - "windowsAuthentication": false, - "anonymousAuthentication": true, - "iisExpress": { - "applicationUrl": "http://localhost:23917", - "sslPort": 44315 - } - }, - "profiles": { - "BlueWest.Authorization": { - "commandName": "Project", - "dotnetRunMessages": true, - "launchBrowser": true, - "launchUrl": "swagger", - "applicationUrl": "https://localhost:7246;http://localhost:5269", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - }, - "IIS Express": { - "commandName": "IISExpress", - "launchBrowser": true, - "launchUrl": "swagger", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - } - } -} diff --git a/BlueWest.Authorization/WeatherForecast.cs b/BlueWest.Authorization/WeatherForecast.cs deleted file mode 100644 index fb3694a..0000000 --- a/BlueWest.Authorization/WeatherForecast.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace BlueWest.Authorization; - -public class WeatherForecast -{ - public DateTime Date { get; set; } - - public int TemperatureC { get; set; } - - public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); - - public string? Summary { get; set; } -} diff --git a/BlueWest.Authorization/appsettings.Development.json b/BlueWest.Authorization/appsettings.Development.json deleted file mode 100644 index 0c208ae..0000000 --- a/BlueWest.Authorization/appsettings.Development.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "Logging": { - "LogLevel": { - "Default": "Information", - "Microsoft.AspNetCore": "Warning" - } - } -} diff --git a/BlueWest.Authorization/appsettings.json b/BlueWest.Authorization/appsettings.json deleted file mode 100644 index 10f68b8..0000000 --- a/BlueWest.Authorization/appsettings.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "Logging": { - "LogLevel": { - "Default": "Information", - "Microsoft.AspNetCore": "Warning" - } - }, - "AllowedHosts": "*" -} diff --git a/data/appendonly.aof b/data/appendonly.aof deleted file mode 100644 index e69de29..0000000 diff --git a/data/dump.rdb b/data/dump.rdb deleted file mode 100644 index 5e04d971282bf38a518a0a95334a81e5b51356c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1397 zcmZuxOK;;;6n4^@KBkm*05L3(Gf@Q+O2YNEeH~{O#PPKgC$-!3l{l+9w%a(dlM<)R zgNG;*VgUuQidu&RUv8>B(QADA6dc??cp(@MRTEPv;I=ezeDpL5n^ ztgZt9gp--BW4l4}!0D1G1yk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