Articles → ASP .NET WEB API → Introduction to Web API

Introduction to Web API






What is Web API





Create your first asp.net web API









Click to Enlarge






Click to Enlarge




Folder structure





Click to Enlarge




Adding controller







Click to Enlarge




Click to Enlarge






Click to Enlarge




Add code in controller




public class TestController : ApiController
{
   public string Get()
   {
       return "value";
   }
}





Output





Click to Enlarge






Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Sunday, January 17, 2016

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250