I'm strugling to find any decent resources with regards consuming a webservice in an MVC/C# Asp.net App.
Any suggestions?
I'm strugling to find any decent resources with regards consuming a webservice in an MVC/C# Asp.net App.
Any suggestions?
http://asp.net/mvc is always a good place to start in general. If you have something more specific, post it here on SO :)
For working with WebServices, look at http://asp.net/ajax
You use the ScriptManager to point to your web service, then you can call the web methods in about the same manner as you would in C#.
Alternatively you can look at JQuery's ajax method for calling web services. But the Microsoft Ajax ScriptManager is easier to get working with.
Rick Strahl has an awesome writeup on using JQuery with ASP.NET MVC to make AJAX callbacks to the server. Amongst other things, he covers: