Sign inSign up

opbeans/opbeans-dotnet

By opbeans

•Updated 2 months ago

Image
0

6.0K

opbeans/opbeans-dotnet repository overview

Build Status

⁠opbeans-dotnet

This is an implementation of the Opbeans Elastic APM demo app in .NET as an ASP.NET Core Web API⁠ application. It uses the same database schema as the Java⁠ version.

By default it will use a pre-populated Sqlite database.

To run the application run the following command from the opbeans folder:

dotnet run

By default the application will listen on localhost:5000. In case you would like to change this run the following command from the opbeans folder:

dotnet run --urls=http://localhost:3001

⁠Docker based

If you'd like to run this demo as a docker container please run the below commands:

docker build --pull -t opbeans-dotnetapp .
docker run --rm -ti -p 3001:80 opbeans-dotnetapp

⁠Makefile

Build the docker image with the usual

make build

Tests are written using bats⁠ under the tests dir

make test

Publish the docker image locally to dockerhub with

VERSION=1.2.3 make publish

NOTE: VERSION refers to the tag for the docker image which will be published in the registry

Tag summary

Content type

Image

Digest

sha256:5115bb18a…

Size

71.6 MB

Last updated

2 months ago

docker pull opbeans/opbeans-dotnet