thunder

module
v0.0.0-...-a94f0a3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2018 License: MIT

README

Thunder

Thunder web framework where productivity and performance go together

Benchmark comparative

The folder .\benchmarks contains some battles of Thunder web framework against Iris (golang), Flask (python), Expressjs (nodejs)

battle Thunder vs Iris

Throughput: Thunder (.NET Core): 6.31MB/s vs Iris (golang): 6.28MB/s

How can I get it? (template mode)

  1. Install the latest .NET Core SDK.
  2. Run dotnet new -i Thunder.Web.Framework.Template to install the project template.
  3. Run dotnet new thunder --help to see how to select the feature of the project.
  4. Run dotnet new thunder --name FastestServer to create a project from the template.

How can I get it? (nuget references)

  1. Install the latest .NET Core SDK.
  2. Create a new .NET Core console application.
  3. PM> Install-Package Thunder.Web.Framework.

Simple usage

The simple usage configure a custom route /hello and render *.html inside all directories of .\wwwroot

Server.Get("/hello", context => context.Response.WriteAsync("Hello from /hello"));
Server.SetViews(".\\wwwroot");
Server.Run();

To uninstall template

dotnet new -u Thunder.Web.Framework.Template

Directories

Path Synopsis
benchmarks

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL