Post api-dotnet placeholder image

API Rest with .NET 6

A simple Web API Rest with .NET 6 and PostgreSQL.

Available Scripts

In the project directory, you can run:

dotnet add package Npgsql --version 6.0.5

dotnet add package Dapper --version 2.0.123

Install this packages to run the app.

dotnet run

Runs the app in the development mode.
Open http://localhost:PORT to view it in your browser(The port can change, check the listening port in the terminal).

The page will reload when you make changes.
You may also see any lint errors in the console.

dotnet build

Builds and compiles the app and shows us whether or not there is any kind of warning or error.\

Detailed guide for installation here (Spanish Version).


C#API RestPostgreSQL