WCF and WP8.1: Can I only use WCF REST services? Then better WCF or Web API?

I am trying to create a simple application to test WCF with WP8.1. I have created my service. Later I create my WP8.1 silver light application and I try to add a reference to my service Project. The problem is that I get an error that says that I have only
add reference to projects that are Windows pone 8.
I have read some solutions, but all of them are creating a WCF REST service, so my doubt if the WP8.1 applications only can connect to WCF REST services.
In this case, if this is true, it not would be better to use Web API instead of WCF?
Thanks so much.

You can use any type of rest service with windows phone 8.1 because rest services can be called via the httpclient class.  You dont need a service reference.  Personally I prefer the web api but there is no reason you can not use a wcf rest service.

Similar Messages

  • Some email images do not show while using the icloud web app.  I can see the images on my IOS devices and in gmail but I only see a small gray box in the icloud web mail app.  Load HTML images is checked in preferences.

    Some email images do not show while using the icloud web app.  I can see the images on my IOS devices and in gmail but I only see a small gray box in the icloud web mail app.  Load HTML images is checked in preferences.  Is there a solution to this issue?

    I've seen the opposite issue.  My wife recieved an email with jpg attachments.  She couldn't see or print them on her iPhone 4S but they showed up fine in iCloud or in the mail app.  I had her forward the email to herself and then they showed up.  I assume there is an issue with how Apple is processing the attachments and resending causes them to get reformatted in a way that makes them easier to handle.
    So yeah.  Seems like some bugs.  Hope Apple fixes them soon.

  • I utilize WIFI sync to sync all my information....however the photos don't sync wirelessly...is that because I have version iPhoto '09 8.1.2 ?  if I upgraded can I wirelessly sync over wifi or can you only use Photo Stream to synch photos and you can't do

    I utilize WIFI sync to sync all my information....however the photos don't sync wirelessly...is that because I have version iPhoto '09 8.1.2 ?  if I upgraded can I wirelessly sync over wifi or can you only use Photo Stream to synch photos and you can't do it over wifi sync?

    ok ok ok ....I give in ...it was wishful thinking.......Thanks for your help wjosten.....I just downloaded the latest iphoto....
    didn't meany to question your advice...second opinion's never hurt.....

  • Suddenly my ethernet and firewall are no longer connected. router is good...and can connect only using wifi...suggestions?

    suddenly my ethernet and firewall are no longer connected. router is good...and can connect only using wifi...suggestions?

    SOLUTION! 
    I've been suffering from this problem for a few months.  I tried everything suggested by everyone, and then, today, I had a mad idea. 
    I used to work in a room in the house that's about 12 metres away from the router. It's on the next storey up and horizontally about 8 metres away.  The problem started when I began to work in the same room as the router. 
    Today I became so frustrated that for some reason I walked into a room about 8 metres away on the same level - Guess what?  I connected with no problem at all. Feeling full of joy I walked back to the room where the router is located - Dropped internet connection within a few minutes!  Walked back to the the room that's 8 metres away and, hey presto! I have a connection. I now realise that the problem was that I moved too close to the router.
    I can think of no logical explanation for my experience, but empirically it seems to work.  Does anyone have the faintest idea of why this should be the case?  In the absence of an answer I think I may have to start believing in fairies at the bottom of the garden - I'm just off to set a meal for them.
    By the way, I don't know if it has any significance, but the router is a BT Infinity router that has replaced the incredibly unreliable Virgin Media cable connection

  • I want to use wifi for Apple TV, but it doesn't prompt for a password, so never connects.  What am I missing?  Can I only use it via a non-password-protected wifi connection?

    I want to use wifi for Apple TV, but it doesn't prompt for a password, so never connects.  What am I missing?  Can I only use it via a non-password-protected wifi connection?

    Hi - you might want to post this question on the Apple TV area - you would probably get a quicker response - if you have a specific question relating to Apple routers then post back here

  • HT4859 How do I back up my documents from my Macbook on iCloud? or can I only use time machine or external HD?

    How do I back up my documents from my Macbook on iCloud? or can I only use time machine or external HD?
    I think I have missed something in trying to read all of the pages on apple site about icloud.

    Welcome to the Apple Community.
    You can't back up a computer to iCloud.
    You can use any back up software, you should always back up to a different drive.

  • Can you only use a credit card to purchase products in the Appstore

    Can you only use a credit card to purchase products in the Appstore?

    You can also use prepaid iTunes cards, if those are available in your country. PayPal is also an option if you're in the US.
    Regards.

  • Background and foreground colors can be interchanged using which command

    hi
    background and foreground colors can be interchanged using which command

    <b>Background and foreground colors can be interchanged using the command Format Inverse.</b>

  • I updated my iPad OS this morning, and now I can no longer use iMessage to send pictures.  When I try to get one for the camera tool, it blows up.  Is this a known problem?

    I updated my iPad OS this morning, and now I can no longer use iMessage to send pictures.  When I try to get one from the camera roll, it blows up.  Is this a known problem?

    your ipad explodess? It's in pieces everywhere?
    the picture opens and is zoomed in and you cannot zoom out?

  • HT3819 Do I need the computer to be on everytime? Can I only use my ipad?

    Do I need the computer to be on evrytime? Can I only use my ipad to listen to music?

    of course you can.  sync your music to the ipad.

  • Why can't i use the rest of my money on my iTunes redeem money

    Why can't I use the rest of my money that I redeemed my I tunes card with.

    You do not state your issue and what happens when you try...
    So...
    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • Can songs uploaded using the iMatch service be accessed by other family members using the Family Sharing feature?

    Can songs uploaded using the iMatch service be accessed by other family members using the Family Sharing feature?

    No
    Which purchased content can I share using Family Sharing - Apple Support

  • Do i need to update software when i receive to update and is it can makhe my device out of service

    Do i need to update software when i receive to update and is it can make my device out of service it happened before

    my previous iphone 4 was not been jailbroken but after a year i did updated the software and my device shown blank on the screen, then when people called me that was ringing but my end shown nothing means no ringing and totally blank on the screen,no ringing and cannot been switch off and on the device.it continous happen between 3-5 month after i updated the new version software which shown on my device at setting mode.Now i really can't stand anymore i got no choice then i need to change to iphone 5.Now my question with this new device i bought in malaysia with no jailbroken do i compulsory to updated software on my new iphone 5 that now shown on my device at my setting mode.Please advice me what i need to do to make my live easy because i dont want to reformat my device as previously and as a result everything i kept in my device was gone.Waiting for your reply urgently.THANKS

  • Can I only use the itunes ID for the music and my other id for my computer and Iphone

    Can I just use one Itunes id for Match and another Id for my apps on my phone and my Mac?

    If I'm understanding your question correctly, no. iTunes Match is tied to an Apple ID and regional store. Once you sign into an Apple ID on a device and use iTunes Match it is not possible to switch between Apple IDs for 90 days. You will not be able to regularly update your apps.

  • Why can we only use 1 release class for overall Release of Purchase Req?

    Hi,
    After realizing that it would be beneficial to use more than one release class for overall release of Purchase Requisition with classification, in use with release groups for overall release, I now ask if someone knows why SAP has chosen to only allow 1 release class for overall release of Purchase Requisition?
    In my scenario I would like Release group US, used for release strategies for US-plant to be able to use 1 release class with a specific set of characteristics.
    For example class REL_PREQ_CLASS_OVERALL_VALUE_IN_USD including a characteristic PR_TOTVAL_USD looking at CEBAN-GFWRT. The chosen currency for this characteristic would be USD.
    I would then like to allow Release group FR, used for release strategies for FRANCE-plant to use another release class with another set of characteristics.
    For example class REL_PREQ_CLASS_OVERALL_VALUE_IN_EUR including a characteristic PR_TOTVAL_EUR looking at CEBAN-GFWRT. The chosen currency for this characteristic would be EUR.
    In this way the release strategies for the respective release groups US and FR, could maintain their overall limit values in their respective release strategies in their own currencies.
    1. Observe that I do not want to use the same Release class for both release groups for overall release, even though I know that this is currently the only allowed option, as far as I've understood.
    2. Observe that I do not want to specify the two characteristics PR_TOTVAL_USD and PR_TOTVAL_EUR for overall value in the same release class, as this would lead to double maintenance for a large number of release strategies. Also consider the maintenance when new countries with new currencies want release strategies.
    3. Observe that I only want to use overall release.
    What I'm trying to avoid is having to continuously translate local business USD overall value limits to limits in the currency chosen for the overall value characteristic. If this for example is specified in DKK, this would lead to a need to adjust the overall value limits as soon as the exchange rate between USD and DKK changes in the system.
    Please consider this simple example:
    Local requirement is that USD purchase requisitions should be blocked when the USD value is above 1000 USD. However in my release strategy I would have to maintain a value of >5365 DDK, if DKK is chosen as the currency for overall characteristic.(e.g exchange rate 5,365).
    Next month the currency exchange rate in the system between USD and DKK has changed, and therefore I would have to go into CL24N and maintain the value to reflect the new exchange rate between USD and DKK. Lets say it has gone up to 5,435. I would now have to maintain a value of > 5435 DKK in my release strategy to correctly reflect the local business requirement of 1000 USD.
    So if anyone could please explain why SAP has taken the decision to make the Release class for overall release client specific that would be much appreciated and awarded accordingly. Also if you have any suggestion on how I could obtain the above scenario on maintaning overall value limits in different currencies than that would be awarded to.
    BR Jakob F. Skott

    You can give feed back to Apple from the iTunes drop-down menu in the iTunes menu bar..
    You can also contact the iTS Customer Service from the links on this page - http://www.apple.com/support/itunes/store/
    MJ

Maybe you are looking for