Skip to content

lpeixotoo/suave-corert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

suave-corert

This repo intends to debug/implement a simple Suave webserver along with CoreRT compiler.

How to run

  • Using Docker
> docker build -t suave-corert .
> docker run suave-corert 
  • Using Dotnet (Requires .Net Core)
> dotnet publish -r <RID> -c <Configuration> -o outside
> ./outside/Simple-Web

Detailed information about publish command, check this.

Expected Output

Smooth! Suave listener started in 52.826ms with binding 127.0.0.1:8080

Current Output

Unhandled Exception: System.ArgumentNullException: Value cannot be null. Parameter name: path1
   at System.IO.Path.Combine(String, String) + 0x53
   at Suave.Web.startWebServerAsync(SuaveConfig, FSharpFunc\`2) + 0x46
   at Suave.Web.startWebServer(SuaveConfig, FSharpFunc\`2) + 0x17
   at Program.main(String[]) + 0x28
   at Simple-Web!<BaseAddress>+0x7d639d
Aborted