Skip to content

.Net Service

The new .Net services use Minimal API architucture with .net 9. To start developing a Dotnet-based service, you need a bunch of tools to be installed. Please make sure you have these tools installed before going further.

You need the following applications to start developing a .Net service:

In Visual Studio Code, press F5 and select which service you want to run. This will start the service on your local machine. You can access the service using https://localhost:{port} where {port} is the port number assigned to the service. You can find the port number in the appsettings.json file located in the folder of the service project.

Once the service is running locally, you can access the Swagger UI by navigating to https://localhost:{port}/swagger in your web browser. This will provide you with an interactive interface to explore and test the API endpoints of the service.

Authorize by clicking on the Authorize button and enter api-testas a client id and continue by clicking on Authorize button again. You can now test the API endpoints directly from the Swagger UI.