# Project creation

## Project creation

The following table shows the templates that come pre-installed with the .NET SDK. The default language for the template is shown inside the brackets. Click on the short name link to see the specific template options.

```bash
dotnet new <TEMPLATE> -f 7.0 -o <output_directory>
```

#### Example

```bash
dotnet new web -f net7.0 -o MyEmptyProject
```

#### Templates

<table data-header-hidden><thead><tr><th>Template</th><th>Short Name</th><th data-hidden>[Default] Language</th><th data-hidden></th><th data-hidden></th></tr></thead><tbody><tr><td>ASP.NET Core Empty</td><td><a href="https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-new-sdk-templates#web"><code>web</code></a></td><td>[C#], F#</td><td>Web/Empty</td><td>1.0</td></tr><tr><td>ASP.NET Core Web App (Model-View-Controller)</td><td><a href="https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-new-sdk-templates#web-options"><code>mvc</code></a></td><td>[C#], F#</td><td>Web/MVC</td><td>1.0</td></tr><tr><td>ASP.NET Core Web App</td><td><a href="https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-new-sdk-templates#web-options"><code>webapp, razor</code></a></td><td>[C#]</td><td>Web/MVC/Razor Pages</td><td>2.2, 2.0</td></tr><tr><td>ASP.NET Core Web API</td><td><a href="https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-new-sdk-templates#webapi"><code>webapi</code></a></td><td></td><td></td><td></td></tr><tr><td>NUnit 3 Test Project</td><td><a href="https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-new-sdk-templates#nunit"><code>nunit</code></a></td><td></td><td></td><td></td></tr><tr><td>Class library</td><td><a href="https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-new-sdk-templates#classlib"><code>classlib</code></a></td><td></td><td></td><td></td></tr></tbody></table>

