1

I am new to MVC4 - WebApi. I am just thinking of implementing WebApi in my existing MVC Application.

In the Existing MVC4Application I would like to add Controller Class which derives from ApiController class. This new controller actions will be called across all the pages to return data.
Is that possible?

1
  • 2
    Yes it's possible. A similar question has already been here on SO and you only need to change the namespace of your api controller class to keep them separate: stackoverflow.com/questions/10677745/… Commented Apr 3, 2013 at 14:27

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.