joe-elliott / sample-netcore-app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sample-netcore-app

This is a simple netcore web api project. It only exists to be used as a sample project for profiling.

Check netcore-kubernetes-profiling to see it in use.

endpoints

This simple project only supports a few endpoints:

/api/fibonacci?pos=<value>

Requires an integer value. Returns the fibonacci sequence calculated to the requested position. 0 based.

/api/echo?echo=<value>

Echoes the passed in query parameter.

/api/fail

Terminates the application using Environment.FailFast().

About


Languages

Language:C# 93.2%Language:Dockerfile 6.8%