[RESOLVED]web API 2 for an MVC 5 project

I’m learning web api with MVC projects. I have already learned MVC and built a small project of MVC 5 with db entity framework first and Identity Role. now I want to build an API that includes the following (List all Images, List all news, List a specific
Image, List a specific news, send categories and return the user registration). I don’t want coding, I want to guide me what I am supposed to do and what should be the final result I should obtain to make use of as a JSON file to read it in a mobile App.

you can follow my project in the bellow link to gitHub

https://github.com/lama512/MVC5-DB-first-entity-framework1

Any help is really appreciated

Hi,

Please refer to the tutorial which might help you step by step learn it:

http://www.asp.net/web-api/overview/getting-started-with-aspnet-web-api/tutorial-your-first-web-api

#Returning raw JSON content from ASP.NET Web API

http://bizcoder.com/returning-raw-json-content-from-asp-net-web-api

Hope it can help you.

Leave a Reply