Skip to content

krazylek/recreation-fsharp-kestrel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

recreation-fsharp-http

Playing with .NET Core and the Kestrel HTTP server.

It involves:

  • creating a very basic server
  • testing a client request using HttpClient
  • parsing command line args

And soon:

  • serializing json

Command line parsing is hand crafted, hope Argu, or lower level CommandLineParser to be available on .net core soon!

All of this running on Linux!

How to install

Restore packages with:

dotnet restore

Usage

dotnet run -- [Options]

Options:
  -m, --mode   Either "client" or "server"
  -p, --port   Select port, default 8090
  -h           Display help

License

MIT

About

Playing with .Net Core, http, and Kestrel server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages