http-server-sim 1.1.0.394

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global http-server-sim --version 1.1.0.394                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local http-server-sim --version 1.1.0.394                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=http-server-sim&version=1.1.0.394                
nuke :add-package http-server-sim --version 1.1.0.394                

http-server-sim

Build Status

HTTP Server Simulator is a .NET tool that runs a Web API simulating HTTP endpoints, supporting the development and testing of components that use HTTP.

http-server-sim can called from the shell/command line.

Executing Tests

Test running the app locally

Start HttpServerSim.App without debugger and execute the tests.

Test running the app in a container

This is the way used in the build.</p>

Build image:</p> docker build -t http-server-sim-build -f Dockerfile .</p> Build image with verbose output:</p> docker build -t http-server-sim-build --progress=plain --no-cache -f Dockerfile .</p>

Run container from image</p> - interactive docker run -i -t http-server-sim-build</p> - interactive, remove when done docker run -i -t --rm http-server-sim-build</p> - override ENTRYPOINT with bash docker run -i -t --rm --entrypoint "/bin/bash" http-server-sim-build </p> - mapp ports</p> docker run -i -t --rm -p 8080:8080 -p 8090:8090 --entrypoint "/bin/bash" http-server-sim-build</p> docker run -i -t --rm -p 8080:8080 -p 8090:8090 http-server-sim-build</p>

Building a NuGet package

Builds packages from all projects:</p> dotnet pack --include-source --include-symbols --no-build

Builds packages from all projects setting the version in the dll and in the package:</p> dotnet pack --include-source --include-symbols -p:PackageVersion=0.6.0 -p:Version=0.6.0 --output D:\LocalNuget

Builds one package for one project:</p> dotnet pack .\HttpServerSim.App\HttpServerSim.App.csproj --include-source --include-symbols -p:PackageVersion=0.2.0 -p:Version=0.2.0 --output C:\LocalNuget dotnet pack .\HttpServerSim.App\HttpServerSim.App.csproj --include-source --include-symbols -p:PackageVersion=0.8.0 -p:Version=0.8.0 --output ./HttpServerSim.App/nupkg

Read more here Source Link

Install http-server-sim as global tool

Install last version

dotnet tool install -g --add-source ./HttpServerSim.App/nupkg HttpServerSim.App

List installed dotnet tools

dotnet tool list -g

Remove http-server-sim

dotnet tool uninstall httpserversim.app -g

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.3.0.489-beta 63 9/12/2024
1.2.0.471 90 8/27/2024
1.1.0.464 116 8/14/2024
1.1.0.435 90 8/7/2024
1.1.0.429 89 8/6/2024
1.1.0.421 73 8/3/2024
1.1.0.420-beta 62 8/3/2024
1.1.0.410 64 7/30/2024
1.1.0.402-beta 79 7/25/2024
1.1.0.394 79 7/23/2024
1.1.0.390-beta 67 7/22/2024