How to port C# Console application to Windows Phone

Go To StackoverFlow.com

2

Basically, the console application consumes a web service, and I want to do the same with windows phone application. I know that things work differently with WP7 with respect to web services, and I would like to know if this is possible.

The console version uses the namespace System.Web.Services which is not allowed for the wp7. How else could I achieve the same?

2012-04-04 01:10
by Vignesh PT
If you're new to Windows Phone 7, I suggest you read Charles Petzold's free e-book Programming Windows Phone 7 - Bernard 2012-04-04 01:39
@Bernard Great reference, thank you - cunningdave 2012-04-04 03:36


1

You have to write a WCF service and using that service you can execute all the functionality that you want to do via console application.

Then refer that WCF service into your wp7 app and you are done. There are lot of help available online, here are 2. Hope this will help you.

Link1

Link2

2012-04-04 06:35
by Pritam Karmakar
Ads