ASP.NET Core Web Api doesn´t load template

Djordje Tomasevic 0 Reputation points
2023-09-07T15:34:49.71+00:00

Hello people. I need help. I have been trying to solve the problem for the last few days without success. I'm following the tutorial, in the tutorial a person enters the ASP.NET-Web-API, reads it and then starts an empty project, which is otherwise possible. In my case, unfortunately, it was not, I downloaded everything and one package in the vs installer that has .net in its name, so that's not it, I downloaded asp.net and web development, .net desktop development, everything, everything, unfortunately without success. I have restored, uninstalled, installed VS several times, I even went to the option to reload all packages, unfortunately all without success. Help please
And no,the project in not just hidden,its missing.WhatsApp Image 2023-09-07 at 17.33.07

WhatsApp Image 2023-09-07 at 17.33.07(1)

Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
Developer technologies | ASP.NET | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 82,146 Reputation points Volunteer Moderator
    2023-09-07T20:06:11+00:00

    project explorer shows the loaded project. to load a project pick file->open -> open solution/project, and pick a project file or solution file.

    to create a core webapi project, you can do it from the command line, in the folder you want to create the project (the project will be named the same as the folder).

    dotnet new webapi

    or in vs to create a new project, in the project template in the search enter webapi. pick the c# or f# core template

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.