i dont know why some body is saying yes and somebody is saying no..even microsoft is saying we can use web api without mvc...but still i m getting confusion about how can i do that , possible send me the url please...
i have already gone through this tutorial ..but the problem is i m working with vs 2010..and for ur kind information there is no any template called web api then how can i sir
siversansar
0 Points
66 Posts
can i work with web API without using MVC??
Jan 02, 2013 02:46 PM|LINK
hello everyone,
i am new to web API and now i m trying to move on that but the problem is i heard that we can not use web API without MVC, is that right ??
if no then could you please provide me any link where i can study about that
thanks in advance
arun gupta
Careed
All-Star
18764 Points
3637 Posts
Re: can i work with web API without using MVC??
Jan 02, 2013 02:56 PM|LINK
Web API is only included with MVC 4 because of their similarities. You can use Web API in any number of applications.
"The oxen are slow, but the earth is patient."
stockcer
Member
498 Points
128 Posts
Re: can i work with web API without using MVC??
Jan 02, 2013 03:01 PM|LINK
I use web api's all the time without MVC. You just have to set up a route in your global.asax and import those libraries need it.
ASP.NET Arvixe Liaison
James River Webs, Inc.
siversansar
0 Points
66 Posts
Re: can i work with web API without using MVC??
Jan 02, 2013 03:12 PM|LINK
i dont know why some body is saying yes and somebody is saying no..even microsoft is saying we can use web api without mvc...but still i m getting confusion about how can i do that , possible send me the url please...
stockcer
Member
498 Points
128 Posts
Re: can i work with web API without using MVC??
Jan 02, 2013 03:20 PM|LINK
Check this out....
http://www.asp.net/web-api/overview/hosting-aspnet-web-api/using-web-api-with-aspnet-web-forms
ASP.NET Arvixe Liaison
James River Webs, Inc.
siversansar
0 Points
66 Posts
Re: can i work with web API without using MVC??
Jan 02, 2013 03:28 PM|LINK
i have already gone through this tutorial ..but the problem is i m working with vs 2010..and for ur kind information there is no any template called web api then how can i sir
siversansar
0 Points
66 Posts
Re: can i work with web API without using MVC??
Jan 02, 2013 03:28 PM|LINK
sorry its vs 2010