Hi
I am new to Web Api, i need your help.. thanks in advance
I need to create web api web services from my existing database, can any one please help me on this.
I have created a new application, added a database in models folder [Ado.net data entity model].
now i have my database connected to my application.
i have created a new controller with template 'Api controller with read/write actions, using Entity Framework'
now i started browsing the application with api routing 'localhost:1033/api/products
this throws the exception The 'ObjectContent`1' type failed to serialize the response body for content type 'application/xml; charset=utf-8'.
:(