Popov1024.HttApi.Template.CSharp 2.0.0

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet new install Popov1024.HttApi.Template.CSharp::2.0.0
This package contains a .NET Template Package you can call from the shell/command line.

ASP.NET Core Web API (extended)

About

It's template for dotnetcore 2.0 based on standart ASP.NET Core Web API (webapi). Included swagger and docker.

The templating solution consist of three progect:

  • api (/src) - the very simple api as example
  • test (/test) based on mstest
  • docker-compose for build and run as a docker container.

Install template

dotnet new -i "Popov1024.HttApi.Template.CSharp::*"

Uninstall template

dotnet new -u Popov1024.HttApi.Template.CSharp

Using

Make some dir:

mkdir my-api-project
cd my-api-project

Create solution:

dotnet new httpapi 

Run http api using docker-compose:

docker-compose up --build -d

And you can see the result: http://localhost

... or run using dotnet runtine:

cd src
dotnet run

In this case URL will be by http://localhost:5000

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated

The frirst version