I want to create web application and web API project in single project using MVC using different library class.
First create MVC project. The add another Web API project inside the solution.
Then you need to refer below article to call the API url in MVC project.
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.