I would like to create a pure Web API project without any reference to MVC in ASP.Net Core. So I create a project by selecting the "Empty" template and added a ValuesController that inherits from ControllerBase but when I run the project and navigate to api/values, it only display the text Hello World! that is part of Startup.cs.
When I searched online, all the tutorials asks the user to select "API" project template that has references to the MVC things. So can someone help me to create ASP.Net Core Web API without any reference to MVC things. This will be used only to serve API requests and will not contain any views.
