Skip to content

.NET

.NET is an developer platform, created by Microsoft, for building many different types of applications.

Subpages

Installation

sudo dnf install dotnet

Useful Templates

Template name Description
webapi Creates a ASP.NET Web API
console Creates a console application
gitignore Creates a .gitignore file

Creating a Web API

Web API's can be created by using the webapi template.

dotnet new webapi -o <Name> --no-https

Web API Structure

MyWebApi/
├── Controllers/
│   └── MyController.cs
├── Models/
│   └── MyModel.cs
├── Services/
│   └── MyService.cs
└── MyWebApi.csproj

Last update: August 11, 2023
Created: June 3, 2023