How can I call a Odata Service from my Windows Phone 8.1 App. There is no "Add Service Reference". Microsoft don't support this feature anymore for xaml Windows Phone 8.1 Apps.
How can I bind this Odata Service now?
Any ideas...
thanks
regards...
You can use the WebAuthenticationBroker
MSDN Reference
Windows Universal Apps Sample
Vittorio Bertocci wrote a great article to demonstrate how to use WebAuthenticationBroker with Office365 api (EWS/OData)
Link to the blog post
"Add Service Reference" is not supported any more, but a new one is in the landscape: T4. Please take a look at this blog post: http://blogs.msdn.com/b/odatateam/archive/2014/03/11/how-to-use-odata-client-code-generator-to-generate-client-side-proxy-class.aspx.
Related
Can WCF/MEF/Unity be implemented in Silverlight using Windows Phone App ? Any pointers
Don't know about WCF or MEF, but the Unity team just announced Windows Phone 8 support for Unity.
Is there an api that exposes the apps in the windows 7 marketplace as odata, rest, soap or something else programmatically accessible?
Per the comment from #talbottcrowell, Crawling the Windows Phone Marketplace http://brandonwatson.sys-con.com/node/1767886
It's not an official api, but certainly seems to be a blessed way to do it.
there's also great docs as part of the codeplex project zunedata
http://zunedata.codeplex.com/wikipage?title=API%20Documentation
I need to log in to the application using Google, Facebook accounts. I just saw about the RestSharp and i can't find how to implement it for WP7.5. I saw some samples available in the github and restsharp.org, but still i didn't get the exact usage of it. could please help me to understand about restsharp and how to implement it for windows phone 7.5... Since i'm new to this concept...
Thanks
I came across with this situation. I have one already developed Application in 2.0, Now in this application i want to use one WCF Service that is developed in 4.0. How can i do this?
I tried the following
1. Regular Method Add the Service Reference and then use that. It didn't work for me.
2. I googled it and i got one more method, using svcutil.exe, but i dont have svcutil.exe with 2.0.
Waiting for the response.
Thanks in advance.
Windows Communication Foundation (WCF) was first introduced to the .NET Framework as part of .NET 3.0. It's not available with .NET 2.0.
If the WCF service exposes a SOAP endpoint then you may be able to use it through the Web Service Extensions (WSE) that were published for old versions of Visual Studio. See here: http://www.microsoft.com/download/en/details.aspx?id=10854 for details.
If you want to use a service written in .Net 4 with a .Net 2.0 project, you should be able to use basic http binding. That should allow it to interop with a client that knows nothing about WCF. It's similar to using an old school .asmx web service.
I'm attempting to create my first WCF service.
I've created the service and now I'm trying to call it from a asp.net (vb) web site and I've tried adding a web reference to it and using the scvutil.exe to consume the service.
So far neither have worked. It's not letting me declare the service in my code. If someone could point me to a good tutorial on how to consume a WCF service in an ASP.Net web site that would be great.
I've found numerous on how to use them with AJAX or silverlight or windows apps but nothing on using it in just a plain old website.
Please see Beginner's Guide to Windows Communication Foundation. It's part of the WCF Developer Center on MSDN, which is full of good resources.
The link above is broken. Some other links I've found while searching for it:
Developing Service-Oriented Applications
Windows Communication Foundation
Conceptual Overview
Getting Started Tutorial
How to: Create a Windows Communication Foundation Client
Basic WCF Programming
Just add service reference, use the service reference as using "reference1.xxxx" and then use the client code.
That's all after the initialization. It works for me. Let me know if you require any help.