Click here to Skip to main content
15,880,796 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi All-

Can anyone pls tell me how to do a rest api call from mvc4

Thanks in advance
Posted
Updated 22-Jan-15 15:23pm
v2

Assignments are given in college to help you learn and/or to cement the knowledge that is imparted during the course.

The first place to start is your course notes - they should supply all of the knowledge required to answer this assignment. If they don't then you should talk to your tutor.

Talking to your tutor is a good idea anyway - that is what they are there for! They should be able to guide you in the right direction.

Sometimes, however, an assignment is given to encourage you to learn how to do research. Posting a question on this forum does not constitute "research".

Google (or Bing etc) is often a good place to start... post into your favourite search engine "the different classes of schemas that are popularly used for modelling data warehouses" and it will give you around 140k results in less than a second. Of those that I found this[^] gives a good explanation and includes references for further reading.
 
Share this answer
 
In .NET world, to create RESTful web service we use WEB API : http://www.asp.net/web-api[^]

Then we can make call to that REST API (or any other REST service) from ASP.NET MVC application too using URL as described here:

http://stackoverflow.com/questions/21683125/how-to-consume-rest-service-from-a-mvc-4-web-application[^]

Consuming ASP.NET WEB API using ASP.NET MVC4 and RestSharp[^]

Hope those will help you.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900