Artimora.Kronos
1.0.0
dotnet add package Artimora.Kronos --version 1.0.0
NuGet\Install-Package Artimora.Kronos -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Artimora.Kronos" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Artimora.Kronos" Version="1.0.0" />
<PackageReference Include="Artimora.Kronos" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Artimora.Kronos --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Artimora.Kronos, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Artimora.Kronos@1.0.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Artimora.Kronos&version=1.0.0
#tool nuget:?package=Artimora.Kronos&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Kronos
Documentation
very terrible and quick docs but it better than nothing?
Basic Example
This is the bare minimum for a server with a default response message
new Server.Builder
{
["/"] =
{
[RequestMethod.Get] = d => d.Text("Hello, World!")
}
}
.Build()
.Listen();
These two methods are the same because RequestMethod.Get maps to GET internally. When you visit / it displays Hello, World! (twice?)
new Server.Builder
{
["/"] =
{
[RequestMethod.Get] = d => d.Text("Hello, World!"),
["GET"] = d => d.Text("Hello, World! (twice?)"),
}
}
.Build()
.Listen();
URL Params
Visiting http://localhost:3000/test will return id: test
new Server.Builder
{
["/:id"] =
{
[RequestMethod.Get] = d =>
{
var id = d.GetParam("id");
return d.Text($"{nameof(id)}: {id}");
}
},
}
.Build()
.Listen();
JSON
Visiting http://localhost:3000/json will return:
{
"Hello": "World!"
}
new Server.Builder
{
["/json"] =
{
[RequestMethod.Get] = d => d.Json(new Dictionary<string, string>()
{
["Hello"] = "World!"
})
},
}
.Build()
.Listen();
HTML
new Server.Builder
{
["/html"] =
{
[RequestMethod.Get] = d => // dont worry about the weird formatting :3
d.Html("<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"UTF-8\">\n <title>Title</title>\n</head>\n<body>\n <h1>Hello, World!</h1>\n</body>\n</html>")
},
}
.Build()
.Listen();
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- CopperDevs.Core (>= 1.1.14)
- CopperDevs.Logger (>= 1.1.1)
- HttpMultipartParser (>= 9.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 27 | 2/8/2026 |