Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

A toy example of a .NET Core HTTP server + client that calls it from the same process

License

Notifications You must be signed in to change notification settings

d-led/dotnet-core-http-loop-example

Repository files navigation

dotnet core http loop

Build Status Build status

history

  • dotnet new console -n dotnet-core-http-loop-example
  • cd dotnet-core-http-loop-example
  • some hello-world code
  • dotnet run -- 7
  • CI config
  • dotnet add package Nancy.Hosting.Self --version 2.0.0-clinteastwood
  • dotnet add package Nancy --version 2.0.0-clinteastwood
  • dotnet add package Flurl --version 2.4.0
  • dotnet add package Flurl.Http
  • some NancyFX & Flurl code
  • dotnet run -- 7
  • simplified
  • docker config
  • ./build_run_docker.sh

dotnet-core-http-loop-example.csproj : warning NU1701: Package 'Nancy.Hosting.Self 2.0.0-clinteastwood' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.0'. This package may not be fully compatible with your project.
dotnet-core-http-loop-example.csproj : warning NU1701: Package 'Nancy.Hosting.Self 2.0.0-clinteastwood' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.0'. This package may not be fully compatible with your project.
Running on http://127.0.0.1:1234
Hello World 0!
Hello World 1!
Hello World 2!
Hello World 3!
Hello World 4!
Hello World 5!
Hello World 6!

About

A toy example of a .NET Core HTTP server + client that calls it from the same process

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published