Click here to Skip to main content
15,897,334 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can i call wcf service in mvc3 and where can i add reference
means controller or model
or do i have to create any other folder?
Posted

try this,,,,:)

Call web services In MVC3[^]
 
Share this answer
 
You can consume wcf service in an MVC3 application from either server and client side[^]. But server side is a better approach in most cases. You can reference a wcf service in an mvc3 application as in any other .net application (http://msdn.microsoft.com/en-us/library/cc668183.aspx[^]).
The answer to the question where you should put it, depends on the actual service it provides, and where it can be aligned in the model, view and controller concepts.
Folders are just there to guide your towards neat code structuring, nothing more.
 
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