Introduction : Here we will learn how to create web api in asp.net core mvc with example or asp.net core mvc rest web api tutorial with example or asp.net core mvc restful api with example or implement web api using asp.net core with examples. By using asp.net core mvc web api templates we can easily implement restful web api services based on our requirements. To create web api first we need to create new project for that Open visual studio à Go to File menu à select New à Project like as shown below Now from web templates select Asp.Net Core Web Application ( .NET Core ) and give name ( CoreWebAPI ) to the project and click OK button like as shown below. Once we click OK button new template will open in that select Web API from Asp.Net Core templates like as shown below Our asp.net core web api project structure will be like as shown below Now add new “ Models ” folder in project by right click on project