Initial commit

This commit is contained in:
Michael Nolan 2022-09-30 03:27:12 -05:00
commit c69dbd37b5
77 changed files with 2198 additions and 0 deletions

44
README.md Normal file
View File

@ -0,0 +1,44 @@
# Tesses.WebServer.Extras
### EasyServer Stats
[![Tesses.WebServer.EasyServer Nuget](https://badgen.net/nuget/v/Tesses.WebServer.EasyServer)](https://www.nuget.org/packages/Tesses.WebServer.EasyServer/)
![Tesses.WebServer Downloads](https://badgen.net/nuget/dt/Tesses.WebServer.EasyServer)
### Swagme Stats
[![Tesses.WebServer Nuget](https://badgen.net/nuget/v/Tesses.WebServer.EasyServer)](https://www.nuget.org/packages/Tesses.WebServer.Swagme/)
![Tesses.WebServer Downloads](https://badgen.net/nuget/dt/Tesses.WebServer.Swagme)
<br>
# How to use Easy Server, ex for a static website
using Tesses.WebServer;
StaticServer server=new StaticServer("website");
server.StartServer(4000);
# How to use Swagme
using Tesses.WebServer;
using Tesses.WebServer.Swagme;
int value=0;
SwagmeServer svr=new SwagmeServer();
svr.AbsoluteUrl=true;
svr.Add("/Progress",async (e)=>{
await e.SendJsonAsync(new{Progress=50});
},new SwagmeDocumentation("Description","Extended Description"),group: "Getting Values");
RouteServer rsvr=new RouteServer();
rsvr.Add("/",(e)=>{
e.SendText("...html...");
});
MountableServer mount =new MountableServer(rsvr);
mount.Mount("/api/",svr);
mount.StartServer(4202);
The frontend for Swagme uses [Bootstrap](https://getbootstrap.com/)

View File

@ -0,0 +1,63 @@
using System;
using System.Collections.Generic;
using System.Net.NetworkInformation;
using System.Net.Sockets;
using System.Threading;
namespace Tesses.WebServer
{
public static class EasyServerExtensions
{
public static void StartServer(this IServer hdlr,int port=49299)
{
using(var ct=new CancellationTokenSource())
{
Console.CancelKeyPress += (sender,e)=>{
ct.Cancel();
};
HttpServerListener server1=new HttpServerListener(port,hdlr);
("http",port).PrintAllIps();
ConsoleColor c=Console.ForegroundColor;
Console.ForegroundColor = ConsoleColor.Red;
Console.WriteLine("Almost Ready to Listen");
Console.ForegroundColor=c;
server1.Listen(ct.Token);
}
}
static Random r=new Random((int)(DateTime.Now.Ticks % int.MaxValue));
public static void PrintAllIps(this (string scheme,int port) url)
{
var cl=Console.ForegroundColor;
Console.ForegroundColor=ConsoleColor.Blue;
Console.WriteLine("Interfaces:");
Console.ForegroundColor=cl;
foreach(NetworkInterface iface in NetworkInterface.GetAllNetworkInterfaces())
{
if(iface.OperationalStatus == OperationalStatus.Up){
var fg=Console.ForegroundColor;
Console.ForegroundColor=ConsoleColor.Green;
Console.Write(iface.Name);
Console.ForegroundColor=fg;
Console.Write(": ");
Console.ForegroundColor =ConsoleColor.Magenta;
List<string> ips=new List<string>();
foreach(var item in iface.GetIPProperties().UnicastAddresses)
{
if(item.Address.AddressFamily == System.Net.Sockets.AddressFamily.InterNetwork){
ips.Add($"{url.scheme}://{item.Address.ToString()}:{url.port}/");
}
}
Console.WriteLine(string.Join(" , ",ips));
Console.ForegroundColor =fg;
}
}
}
}
}

View File

@ -0,0 +1,20 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<PackageId>Tesses.WebServer.EasyServer</PackageId>
<Author>Mike Nolan</Author>
<Company>Tesses</Company>
<Version>1.0.0</Version>
<AssemblyVersion>1.0.0</AssemblyVersion>
<FileVersion>1.0.0</FileVersion>
<Description>An easier way to setup server for Tesses.WebServer</Description>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageTags>HTTP, WebServer, Website</PackageTags>
<RepositoryUrl>https://gitlab.tesses.net/tesses50/tesses-webserver-extras</RepositoryUrl>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Tesses.WebServer" Version="1.0.3.8" />
</ItemGroup>
</Project>

View File

@ -0,0 +1,97 @@
{
"runtimeTarget": {
"name": ".NETStandard,Version=v2.0/",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETStandard,Version=v2.0": {},
".NETStandard,Version=v2.0/": {
"Tesses.WebServer.EasyServer/1.0.0": {
"dependencies": {
"NETStandard.Library": "2.0.3",
"Tesses.WebServer": "1.0.3.8"
},
"runtime": {
"Tesses.WebServer.EasyServer.dll": {}
}
},
"Microsoft.NETCore.Platforms/1.1.0": {},
"MimeTypesMap/1.0.8": {
"runtime": {
"lib/netstandard2.0/MimeTypesMap.dll": {
"assemblyVersion": "1.0.8.0",
"fileVersion": "1.0.8.0"
}
}
},
"NETStandard.Library/2.0.3": {
"dependencies": {
"Microsoft.NETCore.Platforms": "1.1.0"
}
},
"Newtonsoft.Json/13.0.1": {
"runtime": {
"lib/netstandard2.0/Newtonsoft.Json.dll": {
"assemblyVersion": "13.0.0.0",
"fileVersion": "13.0.1.25517"
}
}
},
"Tesses.WebServer/1.0.3.8": {
"dependencies": {
"MimeTypesMap": "1.0.8",
"Newtonsoft.Json": "13.0.1"
},
"runtime": {
"lib/netstandard2.0/Tesses.WebServer.NetStandard.dll": {
"assemblyVersion": "1.0.3.8",
"fileVersion": "1.0.3.8"
}
}
}
}
},
"libraries": {
"Tesses.WebServer.EasyServer/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Microsoft.NETCore.Platforms/1.1.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A==",
"path": "microsoft.netcore.platforms/1.1.0",
"hashPath": "microsoft.netcore.platforms.1.1.0.nupkg.sha512"
},
"MimeTypesMap/1.0.8": {
"type": "package",
"serviceable": true,
"sha512": "sha512-iOm6Zar+yVROhlyrGGSJTfThvNoHLUeYeQQND9YD/ot/nA2qsWUp9kP2MHTdF9P7I8afW6eCf8vdELLZjDFdSQ==",
"path": "mimetypesmap/1.0.8",
"hashPath": "mimetypesmap.1.0.8.nupkg.sha512"
},
"NETStandard.Library/2.0.3": {
"type": "package",
"serviceable": true,
"sha512": "sha512-st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==",
"path": "netstandard.library/2.0.3",
"hashPath": "netstandard.library.2.0.3.nupkg.sha512"
},
"Newtonsoft.Json/13.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==",
"path": "newtonsoft.json/13.0.1",
"hashPath": "newtonsoft.json.13.0.1.nupkg.sha512"
},
"Tesses.WebServer/1.0.3.8": {
"type": "package",
"serviceable": true,
"sha512": "sha512-3noCyyXgsiZhzKviqxbQaiqgIHGx0ZvxG9cepnddEbfFU20IYCzNRlgg0YraoDI3rNxkXNmsxGoKFd6xuKThYg==",
"path": "tesses.webserver/1.0.3.8",
"hashPath": "tesses.webserver.1.0.3.8.nupkg.sha512"
}
}
}

View File

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETStandard,Version=v2.0", FrameworkDisplayName = "")]

View File

@ -0,0 +1,24 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Tesses")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyDescriptionAttribute("An easier way to setup server for Tesses.WebServer")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("Tesses.WebServer.EasyServer")]
[assembly: System.Reflection.AssemblyTitleAttribute("Tesses.WebServer.EasyServer")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyMetadataAttribute("RepositoryUrl", "https://gitlab.tesses.net/tesses50/tesses-webserver-extras")]
// Generated by the MSBuild WriteCodeFragment class.

View File

@ -0,0 +1 @@
0dee26a60b51c556918e730243ae79ba31939f38

View File

@ -0,0 +1,3 @@
is_global = true
build_property.RootNamespace = Tesses.WebServer.EasyServer
build_property.ProjectDir = /home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/

View File

@ -0,0 +1 @@
7c64a9b2c600414bbd74d5939decea56cd895d2d

View File

@ -0,0 +1,10 @@
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/bin/Debug/netstandard2.0/Tesses.WebServer.EasyServer.deps.json
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/bin/Debug/netstandard2.0/Tesses.WebServer.EasyServer.dll
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/bin/Debug/netstandard2.0/Tesses.WebServer.EasyServer.pdb
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/obj/Debug/netstandard2.0/Tesses.WebServer.EasyServer.csproj.AssemblyReference.cache
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/obj/Debug/netstandard2.0/Tesses.WebServer.EasyServer.GeneratedMSBuildEditorConfig.editorconfig
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/obj/Debug/netstandard2.0/Tesses.WebServer.EasyServer.AssemblyInfoInputs.cache
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/obj/Debug/netstandard2.0/Tesses.WebServer.EasyServer.AssemblyInfo.cs
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/obj/Debug/netstandard2.0/Tesses.WebServer.EasyServer.csproj.CoreCompileInputs.cache
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/obj/Debug/netstandard2.0/Tesses.WebServer.EasyServer.dll
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/obj/Debug/netstandard2.0/Tesses.WebServer.EasyServer.pdb

View File

@ -0,0 +1,68 @@
{
"format": 1,
"restore": {
"/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj": {}
},
"projects": {
"/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj",
"projectName": "Tesses.WebServer.EasyServer",
"projectPath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj",
"packagesPath": "/home/mike/.nuget/packages/",
"outputPath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/home/mike/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"netstandard2.0"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netstandard2.0": {
"targetAlias": "netstandard2.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netstandard2.0": {
"targetAlias": "netstandard2.0",
"dependencies": {
"NETStandard.Library": {
"suppressParent": "All",
"target": "Package",
"version": "[2.0.3, )",
"autoReferenced": true
},
"Tesses.WebServer": {
"target": "Package",
"version": "[1.0.3.8, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.401/RuntimeIdentifierGraph.json"
}
}
}
}
}

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/home/mike/.nuget/packages/</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/mike/.nuget/packages/</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.3.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="/home/mike/.nuget/packages/" />
</ItemGroup>
</Project>

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="$(NuGetPackageRoot)netstandard.library/2.0.3/build/netstandard2.0/NETStandard.Library.targets" Condition="Exists('$(NuGetPackageRoot)netstandard.library/2.0.3/build/netstandard2.0/NETStandard.Library.targets')" />
</ImportGroup>
</Project>

View File

@ -0,0 +1,334 @@
{
"version": 3,
"targets": {
".NETStandard,Version=v2.0": {
"Microsoft.NETCore.Platforms/1.1.0": {
"type": "package",
"compile": {
"lib/netstandard1.0/_._": {}
},
"runtime": {
"lib/netstandard1.0/_._": {}
}
},
"MimeTypesMap/1.0.8": {
"type": "package",
"compile": {
"lib/netstandard2.0/MimeTypesMap.dll": {}
},
"runtime": {
"lib/netstandard2.0/MimeTypesMap.dll": {}
}
},
"NETStandard.Library/2.0.3": {
"type": "package",
"dependencies": {
"Microsoft.NETCore.Platforms": "1.1.0"
},
"compile": {
"lib/netstandard1.0/_._": {}
},
"runtime": {
"lib/netstandard1.0/_._": {}
},
"build": {
"build/netstandard2.0/NETStandard.Library.targets": {}
}
},
"Newtonsoft.Json/13.0.1": {
"type": "package",
"compile": {
"lib/netstandard2.0/Newtonsoft.Json.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/netstandard2.0/Newtonsoft.Json.dll": {
"related": ".xml"
}
}
},
"Tesses.WebServer/1.0.3.8": {
"type": "package",
"dependencies": {
"MimeTypesMap": "1.0.8",
"Newtonsoft.Json": "13.0.1"
},
"compile": {
"lib/netstandard2.0/Tesses.WebServer.NetStandard.dll": {}
},
"runtime": {
"lib/netstandard2.0/Tesses.WebServer.NetStandard.dll": {}
}
}
}
},
"libraries": {
"Microsoft.NETCore.Platforms/1.1.0": {
"sha512": "kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A==",
"type": "package",
"path": "microsoft.netcore.platforms/1.1.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"ThirdPartyNotices.txt",
"dotnet_library_license.txt",
"lib/netstandard1.0/_._",
"microsoft.netcore.platforms.1.1.0.nupkg.sha512",
"microsoft.netcore.platforms.nuspec",
"runtime.json"
]
},
"MimeTypesMap/1.0.8": {
"sha512": "iOm6Zar+yVROhlyrGGSJTfThvNoHLUeYeQQND9YD/ot/nA2qsWUp9kP2MHTdF9P7I8afW6eCf8vdELLZjDFdSQ==",
"type": "package",
"path": "mimetypesmap/1.0.8",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/net452/MimeTypesMap.dll",
"lib/netstandard1.1/MimeTypesMap.dll",
"lib/netstandard2.0/MimeTypesMap.dll",
"mimetypesmap.1.0.8.nupkg.sha512",
"mimetypesmap.nuspec"
]
},
"NETStandard.Library/2.0.3": {
"sha512": "st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==",
"type": "package",
"path": "netstandard.library/2.0.3",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"build/netstandard2.0/NETStandard.Library.targets",
"build/netstandard2.0/ref/Microsoft.Win32.Primitives.dll",
"build/netstandard2.0/ref/System.AppContext.dll",
"build/netstandard2.0/ref/System.Collections.Concurrent.dll",
"build/netstandard2.0/ref/System.Collections.NonGeneric.dll",
"build/netstandard2.0/ref/System.Collections.Specialized.dll",
"build/netstandard2.0/ref/System.Collections.dll",
"build/netstandard2.0/ref/System.ComponentModel.Composition.dll",
"build/netstandard2.0/ref/System.ComponentModel.EventBasedAsync.dll",
"build/netstandard2.0/ref/System.ComponentModel.Primitives.dll",
"build/netstandard2.0/ref/System.ComponentModel.TypeConverter.dll",
"build/netstandard2.0/ref/System.ComponentModel.dll",
"build/netstandard2.0/ref/System.Console.dll",
"build/netstandard2.0/ref/System.Core.dll",
"build/netstandard2.0/ref/System.Data.Common.dll",
"build/netstandard2.0/ref/System.Data.dll",
"build/netstandard2.0/ref/System.Diagnostics.Contracts.dll",
"build/netstandard2.0/ref/System.Diagnostics.Debug.dll",
"build/netstandard2.0/ref/System.Diagnostics.FileVersionInfo.dll",
"build/netstandard2.0/ref/System.Diagnostics.Process.dll",
"build/netstandard2.0/ref/System.Diagnostics.StackTrace.dll",
"build/netstandard2.0/ref/System.Diagnostics.TextWriterTraceListener.dll",
"build/netstandard2.0/ref/System.Diagnostics.Tools.dll",
"build/netstandard2.0/ref/System.Diagnostics.TraceSource.dll",
"build/netstandard2.0/ref/System.Diagnostics.Tracing.dll",
"build/netstandard2.0/ref/System.Drawing.Primitives.dll",
"build/netstandard2.0/ref/System.Drawing.dll",
"build/netstandard2.0/ref/System.Dynamic.Runtime.dll",
"build/netstandard2.0/ref/System.Globalization.Calendars.dll",
"build/netstandard2.0/ref/System.Globalization.Extensions.dll",
"build/netstandard2.0/ref/System.Globalization.dll",
"build/netstandard2.0/ref/System.IO.Compression.FileSystem.dll",
"build/netstandard2.0/ref/System.IO.Compression.ZipFile.dll",
"build/netstandard2.0/ref/System.IO.Compression.dll",
"build/netstandard2.0/ref/System.IO.FileSystem.DriveInfo.dll",
"build/netstandard2.0/ref/System.IO.FileSystem.Primitives.dll",
"build/netstandard2.0/ref/System.IO.FileSystem.Watcher.dll",
"build/netstandard2.0/ref/System.IO.FileSystem.dll",
"build/netstandard2.0/ref/System.IO.IsolatedStorage.dll",
"build/netstandard2.0/ref/System.IO.MemoryMappedFiles.dll",
"build/netstandard2.0/ref/System.IO.Pipes.dll",
"build/netstandard2.0/ref/System.IO.UnmanagedMemoryStream.dll",
"build/netstandard2.0/ref/System.IO.dll",
"build/netstandard2.0/ref/System.Linq.Expressions.dll",
"build/netstandard2.0/ref/System.Linq.Parallel.dll",
"build/netstandard2.0/ref/System.Linq.Queryable.dll",
"build/netstandard2.0/ref/System.Linq.dll",
"build/netstandard2.0/ref/System.Net.Http.dll",
"build/netstandard2.0/ref/System.Net.NameResolution.dll",
"build/netstandard2.0/ref/System.Net.NetworkInformation.dll",
"build/netstandard2.0/ref/System.Net.Ping.dll",
"build/netstandard2.0/ref/System.Net.Primitives.dll",
"build/netstandard2.0/ref/System.Net.Requests.dll",
"build/netstandard2.0/ref/System.Net.Security.dll",
"build/netstandard2.0/ref/System.Net.Sockets.dll",
"build/netstandard2.0/ref/System.Net.WebHeaderCollection.dll",
"build/netstandard2.0/ref/System.Net.WebSockets.Client.dll",
"build/netstandard2.0/ref/System.Net.WebSockets.dll",
"build/netstandard2.0/ref/System.Net.dll",
"build/netstandard2.0/ref/System.Numerics.dll",
"build/netstandard2.0/ref/System.ObjectModel.dll",
"build/netstandard2.0/ref/System.Reflection.Extensions.dll",
"build/netstandard2.0/ref/System.Reflection.Primitives.dll",
"build/netstandard2.0/ref/System.Reflection.dll",
"build/netstandard2.0/ref/System.Resources.Reader.dll",
"build/netstandard2.0/ref/System.Resources.ResourceManager.dll",
"build/netstandard2.0/ref/System.Resources.Writer.dll",
"build/netstandard2.0/ref/System.Runtime.CompilerServices.VisualC.dll",
"build/netstandard2.0/ref/System.Runtime.Extensions.dll",
"build/netstandard2.0/ref/System.Runtime.Handles.dll",
"build/netstandard2.0/ref/System.Runtime.InteropServices.RuntimeInformation.dll",
"build/netstandard2.0/ref/System.Runtime.InteropServices.dll",
"build/netstandard2.0/ref/System.Runtime.Numerics.dll",
"build/netstandard2.0/ref/System.Runtime.Serialization.Formatters.dll",
"build/netstandard2.0/ref/System.Runtime.Serialization.Json.dll",
"build/netstandard2.0/ref/System.Runtime.Serialization.Primitives.dll",
"build/netstandard2.0/ref/System.Runtime.Serialization.Xml.dll",
"build/netstandard2.0/ref/System.Runtime.Serialization.dll",
"build/netstandard2.0/ref/System.Runtime.dll",
"build/netstandard2.0/ref/System.Security.Claims.dll",
"build/netstandard2.0/ref/System.Security.Cryptography.Algorithms.dll",
"build/netstandard2.0/ref/System.Security.Cryptography.Csp.dll",
"build/netstandard2.0/ref/System.Security.Cryptography.Encoding.dll",
"build/netstandard2.0/ref/System.Security.Cryptography.Primitives.dll",
"build/netstandard2.0/ref/System.Security.Cryptography.X509Certificates.dll",
"build/netstandard2.0/ref/System.Security.Principal.dll",
"build/netstandard2.0/ref/System.Security.SecureString.dll",
"build/netstandard2.0/ref/System.ServiceModel.Web.dll",
"build/netstandard2.0/ref/System.Text.Encoding.Extensions.dll",
"build/netstandard2.0/ref/System.Text.Encoding.dll",
"build/netstandard2.0/ref/System.Text.RegularExpressions.dll",
"build/netstandard2.0/ref/System.Threading.Overlapped.dll",
"build/netstandard2.0/ref/System.Threading.Tasks.Parallel.dll",
"build/netstandard2.0/ref/System.Threading.Tasks.dll",
"build/netstandard2.0/ref/System.Threading.Thread.dll",
"build/netstandard2.0/ref/System.Threading.ThreadPool.dll",
"build/netstandard2.0/ref/System.Threading.Timer.dll",
"build/netstandard2.0/ref/System.Threading.dll",
"build/netstandard2.0/ref/System.Transactions.dll",
"build/netstandard2.0/ref/System.ValueTuple.dll",
"build/netstandard2.0/ref/System.Web.dll",
"build/netstandard2.0/ref/System.Windows.dll",
"build/netstandard2.0/ref/System.Xml.Linq.dll",
"build/netstandard2.0/ref/System.Xml.ReaderWriter.dll",
"build/netstandard2.0/ref/System.Xml.Serialization.dll",
"build/netstandard2.0/ref/System.Xml.XDocument.dll",
"build/netstandard2.0/ref/System.Xml.XPath.XDocument.dll",
"build/netstandard2.0/ref/System.Xml.XPath.dll",
"build/netstandard2.0/ref/System.Xml.XmlDocument.dll",
"build/netstandard2.0/ref/System.Xml.XmlSerializer.dll",
"build/netstandard2.0/ref/System.Xml.dll",
"build/netstandard2.0/ref/System.dll",
"build/netstandard2.0/ref/mscorlib.dll",
"build/netstandard2.0/ref/netstandard.dll",
"build/netstandard2.0/ref/netstandard.xml",
"lib/netstandard1.0/_._",
"netstandard.library.2.0.3.nupkg.sha512",
"netstandard.library.nuspec"
]
},
"Newtonsoft.Json/13.0.1": {
"sha512": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==",
"type": "package",
"path": "newtonsoft.json/13.0.1",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.md",
"lib/net20/Newtonsoft.Json.dll",
"lib/net20/Newtonsoft.Json.xml",
"lib/net35/Newtonsoft.Json.dll",
"lib/net35/Newtonsoft.Json.xml",
"lib/net40/Newtonsoft.Json.dll",
"lib/net40/Newtonsoft.Json.xml",
"lib/net45/Newtonsoft.Json.dll",
"lib/net45/Newtonsoft.Json.xml",
"lib/netstandard1.0/Newtonsoft.Json.dll",
"lib/netstandard1.0/Newtonsoft.Json.xml",
"lib/netstandard1.3/Newtonsoft.Json.dll",
"lib/netstandard1.3/Newtonsoft.Json.xml",
"lib/netstandard2.0/Newtonsoft.Json.dll",
"lib/netstandard2.0/Newtonsoft.Json.xml",
"newtonsoft.json.13.0.1.nupkg.sha512",
"newtonsoft.json.nuspec",
"packageIcon.png"
]
},
"Tesses.WebServer/1.0.3.8": {
"sha512": "3noCyyXgsiZhzKviqxbQaiqgIHGx0ZvxG9cepnddEbfFU20IYCzNRlgg0YraoDI3rNxkXNmsxGoKFd6xuKThYg==",
"type": "package",
"path": "tesses.webserver/1.0.3.8",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/netstandard2.0/Tesses.WebServer.NetStandard.dll",
"tesses.webserver.1.0.3.8.nupkg.sha512",
"tesses.webserver.nuspec"
]
}
},
"projectFileDependencyGroups": {
".NETStandard,Version=v2.0": [
"NETStandard.Library >= 2.0.3",
"Tesses.WebServer >= 1.0.3.8"
]
},
"packageFolders": {
"/home/mike/.nuget/packages/": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj",
"projectName": "Tesses.WebServer.EasyServer",
"projectPath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj",
"packagesPath": "/home/mike/.nuget/packages/",
"outputPath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/home/mike/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"netstandard2.0"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netstandard2.0": {
"targetAlias": "netstandard2.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netstandard2.0": {
"targetAlias": "netstandard2.0",
"dependencies": {
"NETStandard.Library": {
"suppressParent": "All",
"target": "Package",
"version": "[2.0.3, )",
"autoReferenced": true
},
"Tesses.WebServer": {
"target": "Package",
"version": "[1.0.3.8, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.401/RuntimeIdentifierGraph.json"
}
}
}
}

View File

@ -0,0 +1,14 @@
{
"version": 2,
"dgSpecHash": "qj83ATG+rQW26pNZtM/X6zWupPTiHr4OQIGhHGqQNd1MBWorjELs4sTGHjUt4uCnuq59F4ZR+giPiMgaUVLkng==",
"success": true,
"projectFilePath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj",
"expectedPackageFiles": [
"/home/mike/.nuget/packages/microsoft.netcore.platforms/1.1.0/microsoft.netcore.platforms.1.1.0.nupkg.sha512",
"/home/mike/.nuget/packages/mimetypesmap/1.0.8/mimetypesmap.1.0.8.nupkg.sha512",
"/home/mike/.nuget/packages/netstandard.library/2.0.3/netstandard.library.2.0.3.nupkg.sha512",
"/home/mike/.nuget/packages/newtonsoft.json/13.0.1/newtonsoft.json.13.0.1.nupkg.sha512",
"/home/mike/.nuget/packages/tesses.webserver/1.0.3.8/tesses.webserver.1.0.3.8.nupkg.sha512"
],
"logs": []
}

View File

@ -0,0 +1,34 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tesses.WebServer.EasyServer", "Tesses.WebServer.EasyServer\Tesses.WebServer.EasyServer.csproj", "{7A849722-BB83-4333-BED0-35D7B38E7F27}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tesses.WebServer.SwagmeTest", "Tesses.WebServer.SwagmeTest\Tesses.WebServer.SwagmeTest.csproj", "{F0B871FD-7756-408D-A553-58E320A8C082}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tesses.WebServer.Swagme", "Tesses.WebServer.Swagme\Tesses.WebServer.Swagme.csproj", "{42978DA6-672A-4902-8C1C-315E5C25D58E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{7A849722-BB83-4333-BED0-35D7B38E7F27}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7A849722-BB83-4333-BED0-35D7B38E7F27}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7A849722-BB83-4333-BED0-35D7B38E7F27}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7A849722-BB83-4333-BED0-35D7B38E7F27}.Release|Any CPU.Build.0 = Release|Any CPU
{F0B871FD-7756-408D-A553-58E320A8C082}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F0B871FD-7756-408D-A553-58E320A8C082}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F0B871FD-7756-408D-A553-58E320A8C082}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F0B871FD-7756-408D-A553-58E320A8C082}.Release|Any CPU.Build.0 = Release|Any CPU
{42978DA6-672A-4902-8C1C-315E5C25D58E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{42978DA6-672A-4902-8C1C-315E5C25D58E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{42978DA6-672A-4902-8C1C-315E5C25D58E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{42978DA6-672A-4902-8C1C-315E5C25D58E}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,21 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<PackageId>Tesses.WebServer.Swagme</PackageId>
<Author>Mike Nolan</Author>
<Company>Tesses</Company>
<Version>1.0.0</Version>
<AssemblyVersion>1.0.0</AssemblyVersion>
<FileVersion>1.0.0</FileVersion>
<Description>Documentation for Tesses.WebServer</Description>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageTags>HTTP, WebServer, Website, Documentation</PackageTags>
<RepositoryUrl>https://gitlab.tesses.net/tesses50/tesses-webserver-extras</RepositoryUrl>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Tesses.WebServer" Version="1.0.3.8" />
</ItemGroup>
</Project>

View File

@ -0,0 +1,97 @@
{
"runtimeTarget": {
"name": ".NETStandard,Version=v2.0/",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETStandard,Version=v2.0": {},
".NETStandard,Version=v2.0/": {
"Tesses.WebServer.Swagme/1.0.0": {
"dependencies": {
"NETStandard.Library": "2.0.3",
"Tesses.WebServer": "1.0.3.8"
},
"runtime": {
"Tesses.WebServer.Swagme.dll": {}
}
},
"Microsoft.NETCore.Platforms/1.1.0": {},
"MimeTypesMap/1.0.8": {
"runtime": {
"lib/netstandard2.0/MimeTypesMap.dll": {
"assemblyVersion": "1.0.8.0",
"fileVersion": "1.0.8.0"
}
}
},
"NETStandard.Library/2.0.3": {
"dependencies": {
"Microsoft.NETCore.Platforms": "1.1.0"
}
},
"Newtonsoft.Json/13.0.1": {
"runtime": {
"lib/netstandard2.0/Newtonsoft.Json.dll": {
"assemblyVersion": "13.0.0.0",
"fileVersion": "13.0.1.25517"
}
}
},
"Tesses.WebServer/1.0.3.8": {
"dependencies": {
"MimeTypesMap": "1.0.8",
"Newtonsoft.Json": "13.0.1"
},
"runtime": {
"lib/netstandard2.0/Tesses.WebServer.NetStandard.dll": {
"assemblyVersion": "1.0.3.8",
"fileVersion": "1.0.3.8"
}
}
}
}
},
"libraries": {
"Tesses.WebServer.Swagme/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Microsoft.NETCore.Platforms/1.1.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A==",
"path": "microsoft.netcore.platforms/1.1.0",
"hashPath": "microsoft.netcore.platforms.1.1.0.nupkg.sha512"
},
"MimeTypesMap/1.0.8": {
"type": "package",
"serviceable": true,
"sha512": "sha512-iOm6Zar+yVROhlyrGGSJTfThvNoHLUeYeQQND9YD/ot/nA2qsWUp9kP2MHTdF9P7I8afW6eCf8vdELLZjDFdSQ==",
"path": "mimetypesmap/1.0.8",
"hashPath": "mimetypesmap.1.0.8.nupkg.sha512"
},
"NETStandard.Library/2.0.3": {
"type": "package",
"serviceable": true,
"sha512": "sha512-st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==",
"path": "netstandard.library/2.0.3",
"hashPath": "netstandard.library.2.0.3.nupkg.sha512"
},
"Newtonsoft.Json/13.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==",
"path": "newtonsoft.json/13.0.1",
"hashPath": "newtonsoft.json.13.0.1.nupkg.sha512"
},
"Tesses.WebServer/1.0.3.8": {
"type": "package",
"serviceable": true,
"sha512": "sha512-3noCyyXgsiZhzKviqxbQaiqgIHGx0ZvxG9cepnddEbfFU20IYCzNRlgg0YraoDI3rNxkXNmsxGoKFd6xuKThYg==",
"path": "tesses.webserver/1.0.3.8",
"hashPath": "tesses.webserver.1.0.3.8.nupkg.sha512"
}
}
}

View File

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETStandard,Version=v2.0", FrameworkDisplayName = "")]

View File

@ -0,0 +1,24 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Tesses")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyDescriptionAttribute("Documentation for Tesses.WebServer")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("Tesses.WebServer.Swagme")]
[assembly: System.Reflection.AssemblyTitleAttribute("Tesses.WebServer.Swagme")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyMetadataAttribute("RepositoryUrl", "https://gitlab.tesses.net/tesses50/tesses-webserver-extras")]
// Generated by the MSBuild WriteCodeFragment class.

View File

@ -0,0 +1 @@
d4ba86dba53eb944e5736828a93db5eaa7bb9e6d

View File

@ -0,0 +1,3 @@
is_global = true
build_property.RootNamespace = Tesses.WebServer.Swagme
build_property.ProjectDir = /home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/

View File

@ -0,0 +1 @@
a8b55929502172d6c17aacecf139a7622a7cd859

View File

@ -0,0 +1,10 @@
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/bin/Debug/netstandard2.0/Tesses.WebServer.Swagme.deps.json
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/bin/Debug/netstandard2.0/Tesses.WebServer.Swagme.dll
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/bin/Debug/netstandard2.0/Tesses.WebServer.Swagme.pdb
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/obj/Debug/netstandard2.0/Tesses.WebServer.Swagme.csproj.AssemblyReference.cache
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/obj/Debug/netstandard2.0/Tesses.WebServer.Swagme.GeneratedMSBuildEditorConfig.editorconfig
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/obj/Debug/netstandard2.0/Tesses.WebServer.Swagme.AssemblyInfoInputs.cache
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/obj/Debug/netstandard2.0/Tesses.WebServer.Swagme.AssemblyInfo.cs
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/obj/Debug/netstandard2.0/Tesses.WebServer.Swagme.csproj.CoreCompileInputs.cache
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/obj/Debug/netstandard2.0/Tesses.WebServer.Swagme.dll
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/obj/Debug/netstandard2.0/Tesses.WebServer.Swagme.pdb

View File

@ -0,0 +1,68 @@
{
"format": 1,
"restore": {
"/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj": {}
},
"projects": {
"/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj",
"projectName": "Tesses.WebServer.Swagme",
"projectPath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj",
"packagesPath": "/home/mike/.nuget/packages/",
"outputPath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/home/mike/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"netstandard2.0"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netstandard2.0": {
"targetAlias": "netstandard2.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netstandard2.0": {
"targetAlias": "netstandard2.0",
"dependencies": {
"NETStandard.Library": {
"suppressParent": "All",
"target": "Package",
"version": "[2.0.3, )",
"autoReferenced": true
},
"Tesses.WebServer": {
"target": "Package",
"version": "[1.0.3.8, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.401/RuntimeIdentifierGraph.json"
}
}
}
}
}

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/home/mike/.nuget/packages/</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/mike/.nuget/packages/</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.3.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="/home/mike/.nuget/packages/" />
</ItemGroup>
</Project>

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="$(NuGetPackageRoot)netstandard.library/2.0.3/build/netstandard2.0/NETStandard.Library.targets" Condition="Exists('$(NuGetPackageRoot)netstandard.library/2.0.3/build/netstandard2.0/NETStandard.Library.targets')" />
</ImportGroup>
</Project>

View File

@ -0,0 +1,334 @@
{
"version": 3,
"targets": {
".NETStandard,Version=v2.0": {
"Microsoft.NETCore.Platforms/1.1.0": {
"type": "package",
"compile": {
"lib/netstandard1.0/_._": {}
},
"runtime": {
"lib/netstandard1.0/_._": {}
}
},
"MimeTypesMap/1.0.8": {
"type": "package",
"compile": {
"lib/netstandard2.0/MimeTypesMap.dll": {}
},
"runtime": {
"lib/netstandard2.0/MimeTypesMap.dll": {}
}
},
"NETStandard.Library/2.0.3": {
"type": "package",
"dependencies": {
"Microsoft.NETCore.Platforms": "1.1.0"
},
"compile": {
"lib/netstandard1.0/_._": {}
},
"runtime": {
"lib/netstandard1.0/_._": {}
},
"build": {
"build/netstandard2.0/NETStandard.Library.targets": {}
}
},
"Newtonsoft.Json/13.0.1": {
"type": "package",
"compile": {
"lib/netstandard2.0/Newtonsoft.Json.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/netstandard2.0/Newtonsoft.Json.dll": {
"related": ".xml"
}
}
},
"Tesses.WebServer/1.0.3.8": {
"type": "package",
"dependencies": {
"MimeTypesMap": "1.0.8",
"Newtonsoft.Json": "13.0.1"
},
"compile": {
"lib/netstandard2.0/Tesses.WebServer.NetStandard.dll": {}
},
"runtime": {
"lib/netstandard2.0/Tesses.WebServer.NetStandard.dll": {}
}
}
}
},
"libraries": {
"Microsoft.NETCore.Platforms/1.1.0": {
"sha512": "kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A==",
"type": "package",
"path": "microsoft.netcore.platforms/1.1.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"ThirdPartyNotices.txt",
"dotnet_library_license.txt",
"lib/netstandard1.0/_._",
"microsoft.netcore.platforms.1.1.0.nupkg.sha512",
"microsoft.netcore.platforms.nuspec",
"runtime.json"
]
},
"MimeTypesMap/1.0.8": {
"sha512": "iOm6Zar+yVROhlyrGGSJTfThvNoHLUeYeQQND9YD/ot/nA2qsWUp9kP2MHTdF9P7I8afW6eCf8vdELLZjDFdSQ==",
"type": "package",
"path": "mimetypesmap/1.0.8",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/net452/MimeTypesMap.dll",
"lib/netstandard1.1/MimeTypesMap.dll",
"lib/netstandard2.0/MimeTypesMap.dll",
"mimetypesmap.1.0.8.nupkg.sha512",
"mimetypesmap.nuspec"
]
},
"NETStandard.Library/2.0.3": {
"sha512": "st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==",
"type": "package",
"path": "netstandard.library/2.0.3",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"build/netstandard2.0/NETStandard.Library.targets",
"build/netstandard2.0/ref/Microsoft.Win32.Primitives.dll",
"build/netstandard2.0/ref/System.AppContext.dll",
"build/netstandard2.0/ref/System.Collections.Concurrent.dll",
"build/netstandard2.0/ref/System.Collections.NonGeneric.dll",
"build/netstandard2.0/ref/System.Collections.Specialized.dll",
"build/netstandard2.0/ref/System.Collections.dll",
"build/netstandard2.0/ref/System.ComponentModel.Composition.dll",
"build/netstandard2.0/ref/System.ComponentModel.EventBasedAsync.dll",
"build/netstandard2.0/ref/System.ComponentModel.Primitives.dll",
"build/netstandard2.0/ref/System.ComponentModel.TypeConverter.dll",
"build/netstandard2.0/ref/System.ComponentModel.dll",
"build/netstandard2.0/ref/System.Console.dll",
"build/netstandard2.0/ref/System.Core.dll",
"build/netstandard2.0/ref/System.Data.Common.dll",
"build/netstandard2.0/ref/System.Data.dll",
"build/netstandard2.0/ref/System.Diagnostics.Contracts.dll",
"build/netstandard2.0/ref/System.Diagnostics.Debug.dll",
"build/netstandard2.0/ref/System.Diagnostics.FileVersionInfo.dll",
"build/netstandard2.0/ref/System.Diagnostics.Process.dll",
"build/netstandard2.0/ref/System.Diagnostics.StackTrace.dll",
"build/netstandard2.0/ref/System.Diagnostics.TextWriterTraceListener.dll",
"build/netstandard2.0/ref/System.Diagnostics.Tools.dll",
"build/netstandard2.0/ref/System.Diagnostics.TraceSource.dll",
"build/netstandard2.0/ref/System.Diagnostics.Tracing.dll",
"build/netstandard2.0/ref/System.Drawing.Primitives.dll",
"build/netstandard2.0/ref/System.Drawing.dll",
"build/netstandard2.0/ref/System.Dynamic.Runtime.dll",
"build/netstandard2.0/ref/System.Globalization.Calendars.dll",
"build/netstandard2.0/ref/System.Globalization.Extensions.dll",
"build/netstandard2.0/ref/System.Globalization.dll",
"build/netstandard2.0/ref/System.IO.Compression.FileSystem.dll",
"build/netstandard2.0/ref/System.IO.Compression.ZipFile.dll",
"build/netstandard2.0/ref/System.IO.Compression.dll",
"build/netstandard2.0/ref/System.IO.FileSystem.DriveInfo.dll",
"build/netstandard2.0/ref/System.IO.FileSystem.Primitives.dll",
"build/netstandard2.0/ref/System.IO.FileSystem.Watcher.dll",
"build/netstandard2.0/ref/System.IO.FileSystem.dll",
"build/netstandard2.0/ref/System.IO.IsolatedStorage.dll",
"build/netstandard2.0/ref/System.IO.MemoryMappedFiles.dll",
"build/netstandard2.0/ref/System.IO.Pipes.dll",
"build/netstandard2.0/ref/System.IO.UnmanagedMemoryStream.dll",
"build/netstandard2.0/ref/System.IO.dll",
"build/netstandard2.0/ref/System.Linq.Expressions.dll",
"build/netstandard2.0/ref/System.Linq.Parallel.dll",
"build/netstandard2.0/ref/System.Linq.Queryable.dll",
"build/netstandard2.0/ref/System.Linq.dll",
"build/netstandard2.0/ref/System.Net.Http.dll",
"build/netstandard2.0/ref/System.Net.NameResolution.dll",
"build/netstandard2.0/ref/System.Net.NetworkInformation.dll",
"build/netstandard2.0/ref/System.Net.Ping.dll",
"build/netstandard2.0/ref/System.Net.Primitives.dll",
"build/netstandard2.0/ref/System.Net.Requests.dll",
"build/netstandard2.0/ref/System.Net.Security.dll",
"build/netstandard2.0/ref/System.Net.Sockets.dll",
"build/netstandard2.0/ref/System.Net.WebHeaderCollection.dll",
"build/netstandard2.0/ref/System.Net.WebSockets.Client.dll",
"build/netstandard2.0/ref/System.Net.WebSockets.dll",
"build/netstandard2.0/ref/System.Net.dll",
"build/netstandard2.0/ref/System.Numerics.dll",
"build/netstandard2.0/ref/System.ObjectModel.dll",
"build/netstandard2.0/ref/System.Reflection.Extensions.dll",
"build/netstandard2.0/ref/System.Reflection.Primitives.dll",
"build/netstandard2.0/ref/System.Reflection.dll",
"build/netstandard2.0/ref/System.Resources.Reader.dll",
"build/netstandard2.0/ref/System.Resources.ResourceManager.dll",
"build/netstandard2.0/ref/System.Resources.Writer.dll",
"build/netstandard2.0/ref/System.Runtime.CompilerServices.VisualC.dll",
"build/netstandard2.0/ref/System.Runtime.Extensions.dll",
"build/netstandard2.0/ref/System.Runtime.Handles.dll",
"build/netstandard2.0/ref/System.Runtime.InteropServices.RuntimeInformation.dll",
"build/netstandard2.0/ref/System.Runtime.InteropServices.dll",
"build/netstandard2.0/ref/System.Runtime.Numerics.dll",
"build/netstandard2.0/ref/System.Runtime.Serialization.Formatters.dll",
"build/netstandard2.0/ref/System.Runtime.Serialization.Json.dll",
"build/netstandard2.0/ref/System.Runtime.Serialization.Primitives.dll",
"build/netstandard2.0/ref/System.Runtime.Serialization.Xml.dll",
"build/netstandard2.0/ref/System.Runtime.Serialization.dll",
"build/netstandard2.0/ref/System.Runtime.dll",
"build/netstandard2.0/ref/System.Security.Claims.dll",
"build/netstandard2.0/ref/System.Security.Cryptography.Algorithms.dll",
"build/netstandard2.0/ref/System.Security.Cryptography.Csp.dll",
"build/netstandard2.0/ref/System.Security.Cryptography.Encoding.dll",
"build/netstandard2.0/ref/System.Security.Cryptography.Primitives.dll",
"build/netstandard2.0/ref/System.Security.Cryptography.X509Certificates.dll",
"build/netstandard2.0/ref/System.Security.Principal.dll",
"build/netstandard2.0/ref/System.Security.SecureString.dll",
"build/netstandard2.0/ref/System.ServiceModel.Web.dll",
"build/netstandard2.0/ref/System.Text.Encoding.Extensions.dll",
"build/netstandard2.0/ref/System.Text.Encoding.dll",
"build/netstandard2.0/ref/System.Text.RegularExpressions.dll",
"build/netstandard2.0/ref/System.Threading.Overlapped.dll",
"build/netstandard2.0/ref/System.Threading.Tasks.Parallel.dll",
"build/netstandard2.0/ref/System.Threading.Tasks.dll",
"build/netstandard2.0/ref/System.Threading.Thread.dll",
"build/netstandard2.0/ref/System.Threading.ThreadPool.dll",
"build/netstandard2.0/ref/System.Threading.Timer.dll",
"build/netstandard2.0/ref/System.Threading.dll",
"build/netstandard2.0/ref/System.Transactions.dll",
"build/netstandard2.0/ref/System.ValueTuple.dll",
"build/netstandard2.0/ref/System.Web.dll",
"build/netstandard2.0/ref/System.Windows.dll",
"build/netstandard2.0/ref/System.Xml.Linq.dll",
"build/netstandard2.0/ref/System.Xml.ReaderWriter.dll",
"build/netstandard2.0/ref/System.Xml.Serialization.dll",
"build/netstandard2.0/ref/System.Xml.XDocument.dll",
"build/netstandard2.0/ref/System.Xml.XPath.XDocument.dll",
"build/netstandard2.0/ref/System.Xml.XPath.dll",
"build/netstandard2.0/ref/System.Xml.XmlDocument.dll",
"build/netstandard2.0/ref/System.Xml.XmlSerializer.dll",
"build/netstandard2.0/ref/System.Xml.dll",
"build/netstandard2.0/ref/System.dll",
"build/netstandard2.0/ref/mscorlib.dll",
"build/netstandard2.0/ref/netstandard.dll",
"build/netstandard2.0/ref/netstandard.xml",
"lib/netstandard1.0/_._",
"netstandard.library.2.0.3.nupkg.sha512",
"netstandard.library.nuspec"
]
},
"Newtonsoft.Json/13.0.1": {
"sha512": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==",
"type": "package",
"path": "newtonsoft.json/13.0.1",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.md",
"lib/net20/Newtonsoft.Json.dll",
"lib/net20/Newtonsoft.Json.xml",
"lib/net35/Newtonsoft.Json.dll",
"lib/net35/Newtonsoft.Json.xml",
"lib/net40/Newtonsoft.Json.dll",
"lib/net40/Newtonsoft.Json.xml",
"lib/net45/Newtonsoft.Json.dll",
"lib/net45/Newtonsoft.Json.xml",
"lib/netstandard1.0/Newtonsoft.Json.dll",
"lib/netstandard1.0/Newtonsoft.Json.xml",
"lib/netstandard1.3/Newtonsoft.Json.dll",
"lib/netstandard1.3/Newtonsoft.Json.xml",
"lib/netstandard2.0/Newtonsoft.Json.dll",
"lib/netstandard2.0/Newtonsoft.Json.xml",
"newtonsoft.json.13.0.1.nupkg.sha512",
"newtonsoft.json.nuspec",
"packageIcon.png"
]
},
"Tesses.WebServer/1.0.3.8": {
"sha512": "3noCyyXgsiZhzKviqxbQaiqgIHGx0ZvxG9cepnddEbfFU20IYCzNRlgg0YraoDI3rNxkXNmsxGoKFd6xuKThYg==",
"type": "package",
"path": "tesses.webserver/1.0.3.8",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/netstandard2.0/Tesses.WebServer.NetStandard.dll",
"tesses.webserver.1.0.3.8.nupkg.sha512",
"tesses.webserver.nuspec"
]
}
},
"projectFileDependencyGroups": {
".NETStandard,Version=v2.0": [
"NETStandard.Library >= 2.0.3",
"Tesses.WebServer >= 1.0.3.8"
]
},
"packageFolders": {
"/home/mike/.nuget/packages/": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj",
"projectName": "Tesses.WebServer.Swagme",
"projectPath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj",
"packagesPath": "/home/mike/.nuget/packages/",
"outputPath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/home/mike/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"netstandard2.0"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netstandard2.0": {
"targetAlias": "netstandard2.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netstandard2.0": {
"targetAlias": "netstandard2.0",
"dependencies": {
"NETStandard.Library": {
"suppressParent": "All",
"target": "Package",
"version": "[2.0.3, )",
"autoReferenced": true
},
"Tesses.WebServer": {
"target": "Package",
"version": "[1.0.3.8, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.401/RuntimeIdentifierGraph.json"
}
}
}
}

View File

@ -0,0 +1,14 @@
{
"version": 2,
"dgSpecHash": "T3oKRR4Mhv86YH0CXDSqxb3p1lmxmzzKsu0f5+wMG8EnYwB6wu4U0Id5PNsZeul1rCdYQtrOfd41dkpgOhu4og==",
"success": true,
"projectFilePath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj",
"expectedPackageFiles": [
"/home/mike/.nuget/packages/microsoft.netcore.platforms/1.1.0/microsoft.netcore.platforms.1.1.0.nupkg.sha512",
"/home/mike/.nuget/packages/mimetypesmap/1.0.8/mimetypesmap.1.0.8.nupkg.sha512",
"/home/mike/.nuget/packages/netstandard.library/2.0.3/netstandard.library.2.0.3.nupkg.sha512",
"/home/mike/.nuget/packages/newtonsoft.json/13.0.1/newtonsoft.json.13.0.1.nupkg.sha512",
"/home/mike/.nuget/packages/tesses.webserver/1.0.3.8/tesses.webserver.1.0.3.8.nupkg.sha512"
],
"logs": []
}

View File

@ -0,0 +1,30 @@
using Tesses.WebServer;
using Tesses.WebServer.Swagme;
int value=0;
SwagmeServer svr=new SwagmeServer();
svr.AbsoluteUrl=true;
svr.Add("/Progress",async (e)=>{
await e.SendJsonAsync(new{Progress=50});
},new SwagmeDocumentation("Get Progress","Some progress in <a href=\"https://json.org/\">json</a>"),group: "Getting Values");
svr.Add("/GetValue",async (e)=>{
await e.SendJsonAsync(new{num=value});
},new SwagmeDocumentation("Get Value","Value from <a href=\"./SetValue?num=42\">SetValue?num=42</a> in <a href=\"https://json.org/\">json</a>"),group: "Getting Values");
svr.Add("/SetValue",(e)=>{
string _va;
if(e.QueryParams.TryGetFirst("num",out _va))
{
int.TryParse(_va,out value);
}
},new SwagmeDocumentation("/SetValue?num=42","Set a number","Set an integer in program<br><br><ul><li>num: <i>an integer</i></li></ul>"),group: "Setting Values");
RouteServer rsvr=new RouteServer();
rsvr.Add("/",(e)=>{
e.SendText("<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"UTF-8\"><meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"><meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"><title>Swagme Test</title></head><body><h1>Swagme Test</h1><a href=\"./api/\">Api</a></body></html>");
});
MountableServer mount =new MountableServer(rsvr);
mount.Mount("/api/",svr);
mount.StartServer(4202);

View File

@ -0,0 +1,20 @@
<Project Sdk="Microsoft.NET.Sdk">
<ItemGroup>
<ProjectReference Include="..\Tesses.WebServer.Swagme\Tesses.WebServer.Swagme.csproj" />
<ProjectReference Include="..\Tesses.WebServer.EasyServer\Tesses.WebServer.EasyServer.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Tesses.WebServer" Version="1.0.3.8" />
</ItemGroup>
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>

View File

@ -0,0 +1,103 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v6.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v6.0": {
"Tesses.WebServer.SwagmeTest/1.0.0": {
"dependencies": {
"Tesses.WebServer": "1.0.3.8",
"Tesses.WebServer.EasyServer": "1.0.0",
"Tesses.WebServer.Swagme": "1.0.0"
},
"runtime": {
"Tesses.WebServer.SwagmeTest.dll": {}
}
},
"MimeTypesMap/1.0.8": {
"runtime": {
"lib/netstandard2.0/MimeTypesMap.dll": {
"assemblyVersion": "1.0.8.0",
"fileVersion": "1.0.8.0"
}
}
},
"Newtonsoft.Json/13.0.1": {
"runtime": {
"lib/netstandard2.0/Newtonsoft.Json.dll": {
"assemblyVersion": "13.0.0.0",
"fileVersion": "13.0.1.25517"
}
}
},
"Tesses.WebServer/1.0.3.8": {
"dependencies": {
"MimeTypesMap": "1.0.8",
"Newtonsoft.Json": "13.0.1"
},
"runtime": {
"lib/netstandard2.0/Tesses.WebServer.NetStandard.dll": {
"assemblyVersion": "1.0.3.8",
"fileVersion": "1.0.3.8"
}
}
},
"Tesses.WebServer.EasyServer/1.0.0": {
"dependencies": {
"Tesses.WebServer": "1.0.3.8"
},
"runtime": {
"Tesses.WebServer.EasyServer.dll": {}
}
},
"Tesses.WebServer.Swagme/1.0.0": {
"dependencies": {
"Tesses.WebServer": "1.0.3.8"
},
"runtime": {
"Tesses.WebServer.Swagme.dll": {}
}
}
}
},
"libraries": {
"Tesses.WebServer.SwagmeTest/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"MimeTypesMap/1.0.8": {
"type": "package",
"serviceable": true,
"sha512": "sha512-iOm6Zar+yVROhlyrGGSJTfThvNoHLUeYeQQND9YD/ot/nA2qsWUp9kP2MHTdF9P7I8afW6eCf8vdELLZjDFdSQ==",
"path": "mimetypesmap/1.0.8",
"hashPath": "mimetypesmap.1.0.8.nupkg.sha512"
},
"Newtonsoft.Json/13.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==",
"path": "newtonsoft.json/13.0.1",
"hashPath": "newtonsoft.json.13.0.1.nupkg.sha512"
},
"Tesses.WebServer/1.0.3.8": {
"type": "package",
"serviceable": true,
"sha512": "sha512-3noCyyXgsiZhzKviqxbQaiqgIHGx0ZvxG9cepnddEbfFU20IYCzNRlgg0YraoDI3rNxkXNmsxGoKFd6xuKThYg==",
"path": "tesses.webserver/1.0.3.8",
"hashPath": "tesses.webserver.1.0.3.8.nupkg.sha512"
},
"Tesses.WebServer.EasyServer/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Tesses.WebServer.Swagme/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}

View File

@ -0,0 +1,9 @@
{
"runtimeOptions": {
"tfm": "net6.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "6.0.0"
}
}
}

View File

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = "")]

View File

@ -0,0 +1,22 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Tesses.WebServer.SwagmeTest")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("Tesses.WebServer.SwagmeTest")]
[assembly: System.Reflection.AssemblyTitleAttribute("Tesses.WebServer.SwagmeTest")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Generated by the MSBuild WriteCodeFragment class.

View File

@ -0,0 +1 @@
1c9a16581f26d73a3e5ecc4ee6fa2a624d20fd33

View File

@ -0,0 +1,10 @@
is_global = true
build_property.TargetFramework = net6.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = Tesses.WebServer.SwagmeTest
build_property.ProjectDir = /home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/

View File

@ -0,0 +1,8 @@
// <auto-generated/>
global using global::System;
global using global::System.Collections.Generic;
global using global::System.IO;
global using global::System.Linq;
global using global::System.Net.Http;
global using global::System.Threading;
global using global::System.Threading.Tasks;

View File

@ -0,0 +1 @@
263d1571f8c7fd7ff41c0992e555552e03f8368a

View File

@ -0,0 +1,23 @@
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/bin/Debug/net6.0/Tesses.WebServer.SwagmeTest
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/bin/Debug/net6.0/Tesses.WebServer.SwagmeTest.deps.json
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/bin/Debug/net6.0/Tesses.WebServer.SwagmeTest.runtimeconfig.json
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/bin/Debug/net6.0/Tesses.WebServer.SwagmeTest.dll
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/bin/Debug/net6.0/Tesses.WebServer.SwagmeTest.pdb
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/bin/Debug/net6.0/MimeTypesMap.dll
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/bin/Debug/net6.0/Newtonsoft.Json.dll
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/bin/Debug/net6.0/Tesses.WebServer.NetStandard.dll
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/bin/Debug/net6.0/Tesses.WebServer.EasyServer.dll
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/bin/Debug/net6.0/Tesses.WebServer.Swagme.dll
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/bin/Debug/net6.0/Tesses.WebServer.Swagme.pdb
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/bin/Debug/net6.0/Tesses.WebServer.EasyServer.pdb
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/obj/Debug/net6.0/Tesses.WebServer.SwagmeTest.csproj.AssemblyReference.cache
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/obj/Debug/net6.0/Tesses.WebServer.SwagmeTest.GeneratedMSBuildEditorConfig.editorconfig
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/obj/Debug/net6.0/Tesses.WebServer.SwagmeTest.AssemblyInfoInputs.cache
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/obj/Debug/net6.0/Tesses.WebServer.SwagmeTest.AssemblyInfo.cs
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/obj/Debug/net6.0/Tesses.WebServer.SwagmeTest.csproj.CoreCompileInputs.cache
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/obj/Debug/net6.0/Tesses.WebServer.SwagmeTest.csproj.CopyComplete
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/obj/Debug/net6.0/Tesses.WebServer.SwagmeTest.dll
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/obj/Debug/net6.0/refint/Tesses.WebServer.SwagmeTest.dll
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/obj/Debug/net6.0/Tesses.WebServer.SwagmeTest.pdb
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/obj/Debug/net6.0/Tesses.WebServer.SwagmeTest.genruntimeconfig.cache
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/obj/Debug/net6.0/ref/Tesses.WebServer.SwagmeTest.dll

View File

@ -0,0 +1 @@
40067e76ee89ad00cd34342584c4ab084124b21e

Binary file not shown.

View File

@ -0,0 +1,194 @@
{
"format": 1,
"restore": {
"/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/Tesses.WebServer.SwagmeTest.csproj": {}
},
"projects": {
"/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj",
"projectName": "Tesses.WebServer.EasyServer",
"projectPath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj",
"packagesPath": "/home/mike/.nuget/packages/",
"outputPath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/home/mike/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"netstandard2.0"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netstandard2.0": {
"targetAlias": "netstandard2.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netstandard2.0": {
"targetAlias": "netstandard2.0",
"dependencies": {
"NETStandard.Library": {
"suppressParent": "All",
"target": "Package",
"version": "[2.0.3, )",
"autoReferenced": true
},
"Tesses.WebServer": {
"target": "Package",
"version": "[1.0.3.8, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.401/RuntimeIdentifierGraph.json"
}
}
},
"/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj",
"projectName": "Tesses.WebServer.Swagme",
"projectPath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj",
"packagesPath": "/home/mike/.nuget/packages/",
"outputPath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/home/mike/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"netstandard2.0"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netstandard2.0": {
"targetAlias": "netstandard2.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netstandard2.0": {
"targetAlias": "netstandard2.0",
"dependencies": {
"NETStandard.Library": {
"suppressParent": "All",
"target": "Package",
"version": "[2.0.3, )",
"autoReferenced": true
},
"Tesses.WebServer": {
"target": "Package",
"version": "[1.0.3.8, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.401/RuntimeIdentifierGraph.json"
}
}
},
"/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/Tesses.WebServer.SwagmeTest.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/Tesses.WebServer.SwagmeTest.csproj",
"projectName": "Tesses.WebServer.SwagmeTest",
"projectPath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/Tesses.WebServer.SwagmeTest.csproj",
"packagesPath": "/home/mike/.nuget/packages/",
"outputPath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/home/mike/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"net6.0"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net6.0": {
"targetAlias": "net6.0",
"projectReferences": {
"/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj": {
"projectPath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj"
},
"/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj": {
"projectPath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj"
}
}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net6.0": {
"targetAlias": "net6.0",
"dependencies": {
"Tesses.WebServer": {
"target": "Package",
"version": "[1.0.3.8, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.401/RuntimeIdentifierGraph.json"
}
}
}
}
}

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/home/mike/.nuget/packages/</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/mike/.nuget/packages/</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.3.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="/home/mike/.nuget/packages/" />
</ItemGroup>
</Project>

View File

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />

View File

@ -0,0 +1,209 @@
{
"version": 3,
"targets": {
"net6.0": {
"MimeTypesMap/1.0.8": {
"type": "package",
"compile": {
"lib/netstandard2.0/MimeTypesMap.dll": {}
},
"runtime": {
"lib/netstandard2.0/MimeTypesMap.dll": {}
}
},
"Newtonsoft.Json/13.0.1": {
"type": "package",
"compile": {
"lib/netstandard2.0/Newtonsoft.Json.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/netstandard2.0/Newtonsoft.Json.dll": {
"related": ".xml"
}
}
},
"Tesses.WebServer/1.0.3.8": {
"type": "package",
"dependencies": {
"MimeTypesMap": "1.0.8",
"Newtonsoft.Json": "13.0.1"
},
"compile": {
"lib/netstandard2.0/Tesses.WebServer.NetStandard.dll": {}
},
"runtime": {
"lib/netstandard2.0/Tesses.WebServer.NetStandard.dll": {}
}
},
"Tesses.WebServer.EasyServer/1.0.0": {
"type": "project",
"framework": ".NETStandard,Version=v2.0",
"dependencies": {
"Tesses.WebServer": "1.0.3.8"
},
"compile": {
"bin/placeholder/Tesses.WebServer.EasyServer.dll": {}
},
"runtime": {
"bin/placeholder/Tesses.WebServer.EasyServer.dll": {}
}
},
"Tesses.WebServer.Swagme/1.0.0": {
"type": "project",
"framework": ".NETStandard,Version=v2.0",
"dependencies": {
"Tesses.WebServer": "1.0.3.8"
},
"compile": {
"bin/placeholder/Tesses.WebServer.Swagme.dll": {}
},
"runtime": {
"bin/placeholder/Tesses.WebServer.Swagme.dll": {}
}
}
}
},
"libraries": {
"MimeTypesMap/1.0.8": {
"sha512": "iOm6Zar+yVROhlyrGGSJTfThvNoHLUeYeQQND9YD/ot/nA2qsWUp9kP2MHTdF9P7I8afW6eCf8vdELLZjDFdSQ==",
"type": "package",
"path": "mimetypesmap/1.0.8",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/net452/MimeTypesMap.dll",
"lib/netstandard1.1/MimeTypesMap.dll",
"lib/netstandard2.0/MimeTypesMap.dll",
"mimetypesmap.1.0.8.nupkg.sha512",
"mimetypesmap.nuspec"
]
},
"Newtonsoft.Json/13.0.1": {
"sha512": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==",
"type": "package",
"path": "newtonsoft.json/13.0.1",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.md",
"lib/net20/Newtonsoft.Json.dll",
"lib/net20/Newtonsoft.Json.xml",
"lib/net35/Newtonsoft.Json.dll",
"lib/net35/Newtonsoft.Json.xml",
"lib/net40/Newtonsoft.Json.dll",
"lib/net40/Newtonsoft.Json.xml",
"lib/net45/Newtonsoft.Json.dll",
"lib/net45/Newtonsoft.Json.xml",
"lib/netstandard1.0/Newtonsoft.Json.dll",
"lib/netstandard1.0/Newtonsoft.Json.xml",
"lib/netstandard1.3/Newtonsoft.Json.dll",
"lib/netstandard1.3/Newtonsoft.Json.xml",
"lib/netstandard2.0/Newtonsoft.Json.dll",
"lib/netstandard2.0/Newtonsoft.Json.xml",
"newtonsoft.json.13.0.1.nupkg.sha512",
"newtonsoft.json.nuspec",
"packageIcon.png"
]
},
"Tesses.WebServer/1.0.3.8": {
"sha512": "3noCyyXgsiZhzKviqxbQaiqgIHGx0ZvxG9cepnddEbfFU20IYCzNRlgg0YraoDI3rNxkXNmsxGoKFd6xuKThYg==",
"type": "package",
"path": "tesses.webserver/1.0.3.8",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/netstandard2.0/Tesses.WebServer.NetStandard.dll",
"tesses.webserver.1.0.3.8.nupkg.sha512",
"tesses.webserver.nuspec"
]
},
"Tesses.WebServer.EasyServer/1.0.0": {
"type": "project",
"path": "../Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj",
"msbuildProject": "../Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj"
},
"Tesses.WebServer.Swagme/1.0.0": {
"type": "project",
"path": "../Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj",
"msbuildProject": "../Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj"
}
},
"projectFileDependencyGroups": {
"net6.0": [
"Tesses.WebServer >= 1.0.3.8",
"Tesses.WebServer.EasyServer >= 1.0.0",
"Tesses.WebServer.Swagme >= 1.0.0"
]
},
"packageFolders": {
"/home/mike/.nuget/packages/": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/Tesses.WebServer.SwagmeTest.csproj",
"projectName": "Tesses.WebServer.SwagmeTest",
"projectPath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/Tesses.WebServer.SwagmeTest.csproj",
"packagesPath": "/home/mike/.nuget/packages/",
"outputPath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/home/mike/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"net6.0"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net6.0": {
"targetAlias": "net6.0",
"projectReferences": {
"/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj": {
"projectPath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj"
},
"/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj": {
"projectPath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj"
}
}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net6.0": {
"targetAlias": "net6.0",
"dependencies": {
"Tesses.WebServer": {
"target": "Package",
"version": "[1.0.3.8, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.401/RuntimeIdentifierGraph.json"
}
}
}
}

View File

@ -0,0 +1,12 @@
{
"version": 2,
"dgSpecHash": "J0Hq9eI9ddLIMXjmIAFiBT2oylhBT2Gi5HHJDl66Jq62DGI8p2GKaznjgU/XCZ0SMX2624ayMjzrg+x2JAf3GQ==",
"success": true,
"projectFilePath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/Tesses.WebServer.SwagmeTest.csproj",
"expectedPackageFiles": [
"/home/mike/.nuget/packages/mimetypesmap/1.0.8/mimetypesmap.1.0.8.nupkg.sha512",
"/home/mike/.nuget/packages/newtonsoft.json/13.0.1/newtonsoft.json.13.0.1.nupkg.sha512",
"/home/mike/.nuget/packages/tesses.webserver/1.0.3.8/tesses.webserver.1.0.3.8.nupkg.sha512"
],
"logs": []
}