Ver Fonte

[csharp/tetsuweb] Remove Tetsuweb (#9753)

TetsuWeb hasn't seen an update in 6 years:
https://github.com/gkbrk/TetsuWeb/tree/master

Also most downloads are probably for the TechEmpower tests:
https://www.nuget.org/packages/Tetsu.Web/0.1.5#versions-body-tab
Petrik de Heus há 5 meses atrás
pai
commit
3d9567b151

+ 0 - 37
frameworks/CSharp/tetsuweb/.gitignore

@@ -1,37 +0,0 @@
-[Oo]bj/
-[Bb]in/
-TestResults/
-.nuget/
-*.sln.ide/
-_ReSharper.*/
-.idea/
-packages/
-artifacts/
-PublishProfiles/
-.vs/
-*.user
-*.suo
-*.cache
-*.docstates
-_ReSharper.*
-nuget.exe
-*net45.csproj
-*net451.csproj
-*k10.csproj
-*.psess
-*.vsp
-*.pidb
-*.userprefs
-*DS_Store
-*.ncrunchsolution
-*.*sdf
-*.ipch
-*.swp
-*~
-.build/
-.testPublish/
-launchSettings.json
-BenchmarkDotNet.Artifacts/
-BDN.Generated/
-binaries/
-global.json

+ 0 - 13
frameworks/CSharp/tetsuweb/Benchmark/Benchmark.csproj

@@ -1,13 +0,0 @@
-<Project Sdk="Microsoft.NET.Sdk">
-
-  <PropertyGroup>
-    <OutputType>Exe</OutputType>
-    <TargetFramework>net5.0</TargetFramework>
-  </PropertyGroup>
-
-  <ItemGroup>
-      <PackageReference Include="Tetsu.Web" Version="0.1.5" />
-      <PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
-  </ItemGroup>
-
-</Project>

+ 0 - 26
frameworks/CSharp/tetsuweb/Benchmark/Program.cs

@@ -1,26 +0,0 @@
-using System;
-using Newtonsoft.Json;
-using Tetsu.Web;
-
-namespace Benchmark {
-    public class Program {
-        public static void Main() {
-            var server = new Server();
-
-            server.Handle("/plaintext", ctx =>
-                ctx.Response.TextContent = "Hello, World!");
-
-            server.Handle("/json", ctx => {
-                ctx.Response.SetHeader("Content-Type", "application/json");
-                ctx.Response.TextContent = JsonConvert.SerializeObject(new {
-                    message = "Hello, World!"
-                });
-            });
-
-            server.AddMiddleware(ctx =>
-                ctx.Response.SetHeader("Date", DateTime.UtcNow.ToString("r")));
-
-            server.Listen("0.0.0.0", 1234).Wait();
-        }
-    }
-}

+ 0 - 15
frameworks/CSharp/tetsuweb/README.md

@@ -1,15 +0,0 @@
-# Tetsu.Web Benchmark
-
-## Infrastructure Software Versions
-
-**Language**
-
-* C#
-
-**Platforms**
-
-* .NET Core (Windows and Linux)
-
-**Web Stack**
-
-* [Tetsu.Web](https://github.com/gkbrk/TetsuWeb)

+ 0 - 24
frameworks/CSharp/tetsuweb/benchmark_config.json

@@ -1,24 +0,0 @@
-{
-  "framework": "tetsuweb",
-  "tests": [{
-    "default": {
-      "plaintext_url": "/plaintext",
-      "json_url": "/json",
-      "port": 1234,
-      "approach": "Realistic",
-      "classification": "Micro",
-      "database": "None",
-      "framework": "Tetsu",
-      "language": "C#",
-      "orm": "Raw",
-      "platform": ".NET",
-      "flavor": "CoreCLR",
-      "webserver": "Tetsu",
-      "os": "Linux",
-      "database_os": "Linux",
-      "display_name": "Tetsu.Web",
-      "notes": "",
-      "versus": "aspcore"
-    }
-  }]
-}

+ 0 - 15
frameworks/CSharp/tetsuweb/config.toml

@@ -1,15 +0,0 @@
-[framework]
-name = "tetsuweb"
-
-[main]
-urls.plaintext = "/plaintext"
-urls.json = "/json"
-approach = "Realistic"
-classification = "Micro"
-database = "None"
-database_os = "Linux"
-os = "Linux"
-orm = "Raw"
-platform = ".NET"
-webserver = "Tetsu"
-versus = "aspcore"

+ 0 - 12
frameworks/CSharp/tetsuweb/tetsuweb.dockerfile

@@ -1,12 +0,0 @@
-FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build
-WORKDIR /app
-COPY Benchmark .
-RUN dotnet publish -c Release -o out
-
-FROM mcr.microsoft.com/dotnet/runtime:5.0
-WORKDIR /app
-COPY --from=build /app/out ./
-
-EXPOSE 8080
-
-ENTRYPOINT ["dotnet", "Benchmark.dll"]