3 Replies
No, seems like a web api with a js client-side frontend
More precisely,
-
dhl.client
is a frontend project consists of HTML, TypeScript, JSON, etc files,
- DHL.Server
is a backend project that was generated from Asp.Net Core webapi with controllers (rather than Asp.Net Core minimal api). How do we know? Because there are Controllers
folder and WeatherForecast.cs
that are specific to the template of Asp.net Core webapi with controllers. When using dotnet cli to generate projects,
* dotnet new webapi -o DHL.Server
generates Asp.Net Core webapi with controllers. There are WeatherForecast.cs
and Controllers
folders generated.
* dotnet new web -o YourProjectName
generates Asp.Net Core minimal api. There is no WeatherForecast.cs
and Controllers
folders generated.
Last, an Asp.net Core MVC project consists of , among others, Models
, Views
, Controllers
folders. Your DHL.Server
does not have Views
folder. So it is not an Asp.Net Core MVC project.
If you want to generate Asp.Net Core MVC, use the following command:
Understood, thank you!