How to consume the web service in window phone 7 application? - silverlight

I am developing window phone 7 application. I am new to window phone 7 application. I am developing asp.net web service application in .net framework 3.5 for my wp7 application. I have written some function in this web service. Now I am trying to consume this web service by right clicking on the project name & selecting the 'Add Service Reference' then I clicked on the 'Advance' button. After clicking on the advance button I can see that the 'Add Web Reference' button is disabled. I am not able to enable it. Can you please tell me why this is happening ? Can we consume the asp.net web service application of .net framework 3.5 in wp7 application ? Or we can consume only WCF application of .net framework 4.0 in window phone 7 application ? If we can consume the asp.net web service application of .net framework 3.5 then can you please tell me how to consume the asp.net web service application of .net framework 3.5?

You can add a service reference to an ASP.Net ASMX service. Just enter the url in the add service reference box. Silverlight does not support the old Web Reference proxies.

Try to do that as described here and here.

Related

Unable to debug web api call from angular JS - IIS (when other then default app pool) - visual studio 2015

When I run web api and angular web applications using Default application pool then i able to debug the web api service.
If change application pool for both the applications to custom app pool as below.
then, debug point is not called in web api.
IIS 8
web api applicaiton: app pool name: apppool1 - integrated - 4.0, (4.5.2 framework)
asp.net web (only angular and html files): app pool name: apppool1 - integrated - 4.0
can any one please help, what is the cause.
solved the issue by re-installing IIS. it able to attach debugger now.

Integration of Paypal API with .Net Windows Forms Application and WPF Application

I have to integrate Paypal API with .Net Windows Form (Desktop) application, so that i can get all the transaction details, payments details and all other information, at my windows forms application. How can i integrate PaypalAPI with Windows Forms and WPF based application, is there any link or resources? Thanks

How to communicate between Windows Form app and Web Site?

We developped an C# .Net 2.0 Windows Form application for Windows XP embedded that controls the underlying hardware/device. Now, we need to add a c# .NET 2.0 Web Site (hosting by IIS inside the same device) that can send commands to the Windows Form application (example: Start measuring) and receive data.
What is the best way to do it?
We thought about Web Service, but how the Windows Form application can know when the Web Service will receive a command from the Web Site.
Thank you.
Note: Forbidden to install on the device a Framework .NET 3.x or 4
Given this restriction on .Net 2.0, .net remoting is the way to go in this situation.
http://en.wikipedia.org/wiki/.NET_Remoting
Winform app can expose objects via remoting. Web app can send request to these objects. request would have commands.

Silverlight and Windows Workflow Foundation

Can I make a Silverlight application communicate with a Windows Workflow Foundation (WF) application? If yes, how can I do that?
I tried to add a reference from my Silverlight application to a WF application and it doesn't work.
If your application was a service application, then yes.
Silverlight won't host a workflow, but it could call a workflow service if the workflow you need to run is hosted within a service rather than an application.
It should be a matter of adding the service reference within the Silverlight application.

silverlight and spring.net

can i use both silverlight and spring.net in the same web based project
Silverlight is a client technology and spring.net is a server technology, as long as you aren't trying to implement a Silverlight client that is also a spring server, you should be able to do whatever you want with the two.

Resources