Understanding the Windows Phone Development Paradigm

Hi all I have been developing WinForm apps for a long time and over the past year or so have moved over to WPF. I guess I am quite old school in my ways but I still cannot get my head around data bound WinPhone apps.
I have no issue developing local WinPhone apps that just store data locally. However I cannot understand why it has to be so complex (is it?) dealing with databound apps on WinPhone.
In my head all I want to do is make a call to a server, via a datareader or other object and then populate my datareader. Like wise to update/insert take the data from my model stick it through an adapter and send it off to the server.
Can anybody explain why this cannot be done on WinPhone (or can it and I'm missing something?). Also I'm struggling to get my head around the service aspect of a WinPhone app.
It seem to me that you have to create a mobile service on Azure (or similar) and then actually write the code for it in c# (why can't I do this in vb.net? Does this mean I have to write my service in c# regardless of the language I choose to develop my app
in?) and then publish it to my mobile service. My phone app then connects to this published service.
Any tips good posts about which explains the whole concepts and reasons why WinPhone apps need to be developed this way. The MSDN ones to be honest seem to assume everyone knows the paradigm, without really explain the reasons for it.

DataReader/Dataset is not available in Windows Phone. To create databound app you have to create WCF Service which you can host on your server and consume it in your Windows Phone app. You can have a Azure Service or you can host WCF Service on our own server.
Although most of the samples are  in C# but you can also write code in VB.NET. You can use C# to VB.NET Converter to convert sample into VB.NET
http://converter.telerik.com
Gaurav Khanna | Microsoft VB.NET MVP | Microsoft Community Contributor

Similar Messages

  • Cannot Register Phone - Error Logging into the Windows Phone Dev Center

    I cannot register my phone using the Windows Phone Developer Registration tool running in Windows 8.1. The phone is a Samsung Ativ S.
    I've confirmed that I can log into dev.windowsphone.com on the machine. I've tried setting up the credentials with Credentials Manager (using dev.windowsphone.com as the url). I've confirmed that IpOverUsbSvc is running. I've confirmed that the phone is
    visible in the file manager (and even browsed files to make sure). I've unlocked the phone's lock screen. I've gone the Accounts page in the dev centre to confirm that my account is active.
    It seems the problem isn't with the credentials I use because, if I purposely enter incorrect credentials, I don't even get past the Microsoft Account Sign In window - the error message I am getting happens after that sign-in window right in the Windows
    Phone Developer Registration window.

    This thread is a little old, but not too old.  My Nokia Lumia 920 that used to be registered isn't connecting since the 8.1 update (latest update today).  I've tried wiping out my list of phones in my account on the dashboard, that didn't make
    a difference.  IpOverUsbSvc is running, has been re-started alone, and has been re-started through a power-cycle.  I can browse files on my phone from my Windows 8.1 laptop.  When I disconnect / reconnect my the USB cable to my phone, the Device
    Phone Registration screen shows an automatic retry.  So far in all cases, I'm getting:
    Some additional information based on more searches and some thinking:
    Windows Media Player is installed and can access the Lumia
    I can't see any event log messages associated with the failure to connect
    Although it seems associated with Windows Phone 8.1, I can't say for sure that's true, since I hadn't tried connecting while it was running Windows Phone 8.0 in awhile.

  • I Think It's Time That Verizon Opens Up Testing Of Updates & Firmware To The Windows Phone Community!!!

    Waiting for Verizon to release updates on a reasonable time table has become a complete failure.  If you only have a couple technicians in house testing the 4-5 devices you only carry and it takes this long, there's a problem with your technicians.
    If you don't want to allocate the time, money and resources to a platform that your sales reps never push or even mention in stores, or on your website or over the phone, I think it's time to either drop the line completely or turn to the Windows Phone Community to do your job for you.
    I think it's time that Verizon takes a queue from Microsoft and opens up testing of updates and firmware to any and all Windows Phone Users that want to help the cause and better support the platform in the process.  You can have your legal department draft up a clause that releases Verizon of any liability if a user opts to test updates or firmware. 
    What else better than to have the Community help in the cause (in masses) over the limited few technicians you have in house testing out the updates and firmware.  You will get all the feedback you will need to make a proper decision as to push the updates or firmware or go back to Microsoft and make fixes to any/all bugs that are found.
    In a technological age we live in, to not take advantage of a community of users who would be more than willing to test out products, goods, services, you are just shooting yourself in the foot.
    If you look at the numbers of how many users signed up to be part of Microsoft's Developer Preview app, you will see that there are millions of users willing to take the risk in order to help the cause while being a part of the testing process, making the platform better in the long run.
    It's time for change, it's time to embrace the community, it's time to respond at let the community know one way or another if we are going to get updates and firmware in a timely manner... and not just one update or firmware in a year cycle.
    Windows (9) is going to be released to the general public as Technical Preview on September 30, and you can guarantee that millions of users are going to download the OS and test it out and submit feedback via the OS and Microsoft's Community Forum in order to make it a success...  So why don't you Verizon do the same and open up beta testing of updates and firmware to the Windows Phone Community here!!!
    Think about it, take a poll... but do something, one way or another... It's time to stop keeping us paying customers in the dark regarding updates and firmware that improves the experience, enhances our devices and provides the security that we need for our phones.  If you take good care of us, we will continue to be customers, renew our contracts or even sign up for Verizon Edge Accounts.
    But if you keep us in the dark, you can guarantee that you will get customers leaving when there contracts are up because Windows Phone Users are loyal to Windows Phone... PERIOD!!!
    Waiting for Tidbits and Elector to grace my post with there constant negativity and start a war of words as usual... since they love stirring the pot and angering the Windows Phone Community every time they reply to posts.  I just can't believe they spend that much time here on the forums replying if they are not a paid Verizon employee or a paid basher from a competing platform.

    [Quote]
    Waiting for Tidbits and Elector to grace my post with there constant negativity and start a war of words as usual... since they love stirring the pot and angering the Windows Phone Community every time they reply to posts.  I just can't believe they spend that much time here on the forums replying if they are not a paid Verizon employee or a paid basher from a competing platform.
    [/Quote]
    Well I found nothing wrong in your post. So why even make a statement like the quote I included?
    Once more I am a retired government employee. So I have the time to post. Or has my rights been taken away to voice an opinion?
    Your posts was great you were not whining about your rights to file complaints to the FCC or FTC etc. One of the best I have read.
    And I am not trying to sway you from your phone choice. If you looked at my avitar it shows apple iphones. But I use and have used androids and not Windows phones.
    However your numbers of windows phone users all leaving over the issue is miniscule in the number of users of Android and iOS devices.
    I have written many times I wish all the devices get updated like iOS devices do. But at present that is not happening
    No bashing, no adversarial post just a little common sense is all I use.
    And again your post was great.
    Good Luck

  • Problem installing Windows Phone Developer Power Tools (8.1) on a device

    Hi,
    we have tried to install Windows Phone Developer Power Tools (8.1) in a Lumia 730 device, but due to an error we can't do it.
    We do it through Visual Studio 2013 Update 4:
    - Menu TOOLS
    - Windows Phone 8.1
    - Developer Power Tools
    - Select the device and click to Connect.
    It is requested to install the tools on the device, but when we click on "install", there is an error (German text):
    0x80070057 - Es kann nicht nach Paketen vom Updateserver gesucht werden
    (It is not possible to search packets in the update server.)
    We have tried it on different computers, but it doesn't work.
    Is there anything we could do?
    Thanks.
    Best regards,
    David

    Hi,
    we have tried to install Windows Phone Developer Power Tools (8.1) in a Lumia 730 device, but due to an error we can't do it.
    We do it through Visual Studio 2013 Update 4:
    - Menu TOOLS
    - Windows Phone 8.1
    - Developer Power Tools
    - Select the device and click to Connect
    It is requested to install the tools on the device, but when we click on "install", there is an error (German text):
    0x80070057 - Es kann nicht nach Paketen vom Updateserver gesucht werden
    (It is not possible to search packets in the update server.)
    We have tried it on different computers, but it doesn't work.
    Is there anything we could do?
    Thanks.
    Best regards,
    David

  • Unable to use C++ dll in the windows phone 8 application.

    Hi folks,
    I am trying to use the native c++ dll compiled for Win32 platform using PInvoke. The native dll is a simple library which is returns some dummy values of native data types. The dll is working fine with the traditional Windows Forms Applications. But when
    I am trying to use the same dll in the Windows Phone 8 app, I am getting a runtime exception, "An exception of type 'System.NotSupportedException' occurred in Unknown Module. but was not handled in user code".
    [System.Runtime.InteropServices.DllImport("win32dll.dll", EntryPoint = "Hello")]
    private static extern int Hello();
    As one can see the InteropServices classes in Windows Phone 8 sdk, the PInvoke must be supported! am I going wrong some where? Can some one give me sample windows Phone 8 app project which is using native C++ dll.

    Here's the official list of InteropServices classes supported by the phone:
    http://msdn.microsoft.com/en-us/library/windowsphone/develop/system.runtime.interopservices(v=vs.105).aspx
    DllImport isn't one of them.
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • Racial discrimination exists in the Windows Phone store

    Racial discrimination issues in the Windows Phone store kill my game.
    My game suddenly disappeared in New + Rising list (Windows Phone Store)
    Just a few hours before my game (250k - Chef's Burger). Was listed around 2th place in New and rising, now I can not even find it in the list, it seems that the app has dropped out of the list completly What happend ?
    In fact, the problem is only in the US/UK Store, or other English-speaking countries Store. In Asia market, such as Taiwan, China, the problem does not exist, our games are still in New + Rising list.
    I have reason to suspect microsoft for developers in different regions have different rules. If this is true, Windows Developer team should be ashamed, this is a racial discrimination, is shameful and unfair.
    Our team is so disappointed. Even if we are not registered in the US, we still try our best to develop high quality apps and games for Microsoft Windows Phone Platform. If Windows Store want to become successful in the future, please treat every developer
    with equality.
    Microsoft killed my growing children.
    Chef's Burger
    http://www.windowsphone.com/en-us/store/app/250k-chef-burger/2f2a23e1-d83d-473a-969a-ebc416d3a728

    New and Rising is temporary, your app may not be new any more
    please be grateful you even had the spot. now it is time for other newer app got the chance

  • How to access to configuration page of the router through the windows phone 7 ?

    Hi all
    I'd like to know if there's a way to access to configuration page of the router through my windows phone 7.
    I usually access the router by laptop as following: "192.168.1.1". but sometimes when I'm on my phone  I need to reboot the router through my phone other then the laptop which is not near me...
    I looked up for applications that should do the work, but unfortunately I got no positive result, so I'm reaching out to this very forum in order to find help and tricks so that I can figure it out
    thank you in advance

    Hi Happydz,
    For help using Windows Phone please post in the Windows Phone forums on
    http://answers.microsoft.com .
    The MSDN Windows Phone Development forums are for developers to discuss writing their own Windows Phone apps.
    That said, I'd expect you could connect to 192.168.1.1 from the phone's browser the same way you would from the laptop's browser.

  • How to flash the Windows Phone 8.1 from different region

    I have Windows phone with update from Bangaladesh and i need to push the Usa Update to it. How can i do this ?Thanks 
    Dileepa S. Rajapaksa
    Trainee Developer
    Microsoft, Sri Lanka
    Twitter : @dsrajapaksa
    Blog : http://www.dileepatech.net

    For help using Windows Phone please post in the Windows Phone forums on
    http://answers.microsoft.com

  • Does Verizon really care about the windows phones??

    I recently bought the Nokia 928 and as a "tech-impaired" person I am really happy with it. This is my second smart phone and I find it much easier to navigate than my Motorola Droid 3.   My co-worker (who is similarly impaired!) wanted to update to her first smart phone and had visited her local Verizon store to browse the various phones.  All that was EVER mentioned to her or shown were various Razrs, the Samsung Galaxies, and of course I-phones.  She saw the 928 demo phone there but it was never even offered as a choice so she didn't ask about it.  When she saw my phone she asked my thoughts, and asked to "play" with it.  I showed her some of the things she could do that I have found to be not difficult.  Bottom line she decided she liked the ease of operation, knew she did NOT need Suri and thought the Samsung Galaxy S 4 had way too many features for what she would ever need. She went back to the store and they did not even have a 928 in stock.  They did order her one, but she said that I knew way more about what the phone could do than anyone there.  I told her to ask about the 25 dollar gift certificate available through the end of June that could be used for Microsoft apps, they knew NOTHING about that either.  When I bought my phone I asked the store rep who was helping me (in a different town) and she was also unaware of it; but at least she found out and helped me set up a Microsoft account and got the certificate onto my phone.  She laughed and admitted she really knew very little about the Windows phone set up.  It really does seem that Verizon just doesn't care much about this platform and does not give their customers this choice since they virtually ignore that it even exists.

    Thats why I normally do not get involved with writing on message boards, especially corporate boards, too many company employees write comments like that on behalf of their office…and yes, cellular service and home communications services are a little more that a “soda” and yes, I do expect loyalty to be a two way street….end of thread, unsubscribed from this farce….

  • I'm trying to install the Windows Phone 8.1 Preview for Developers but it won't install. I get x80188308. (I've tried 5 times)

    I want to install a windows phone app I've created via AppStudio, and apparently a prerequisite is to install the Preview for Developers.   However, it won't install. I get 0x80188308. (I've tried 5 times)
    My Phone info:
    NOKIA Lumia 920
    OS version 8.10.12400.899
    Lumia Cyan
    RM-820_nam_canada_200, core build 3051.50009.1424.10362

    For help using Windows Phone (including installing the preview) please post in the Windows Phone forums on http://answers.Microsoft.com

  • Export and import the windows phone contacts as .vcf file to the application

    Hi, I need to export the windows phone contacts as .vcf file and import it to my windows phone application. I'm unable to import the full details of a contact. Is there any sample code to export and import phone contacts programmatically. Please
    help if there is any solution. Thanks.
    Nikitha

    Found this on the internet:
    http://www.lumisoft.ee/lswww/download/downloads/Net/
    If you download the Lumisoft.Net.Zip and extract it looks like there is a vCard folder with some classes that may help you.
    You will need to use something like that or search a bit more and find a vCard C# Helper library.
    Bret Bentzinger (MSFT) @awehellyeah

  • Windows Phone Emulator is unable to connect to the Windows Phone operating system: The phone did not respond to the connect request. Some functionality might be disabled

    We are receiving following error, while trying to deploy the application on Win Phone emulator. “Windows Phone Emulator is unable to connect to the Windows Phone operating system: The phone did not respond to the connect
    request. Some functionality might be disabled.”
    I have tried all possible ways that we found on blogs. We are still not able to solve this issue

    I have had a lot of issues with the emulator in the past.
    Check out this troubleshooting guide. It might help:
    https://msdn.microsoft.com/en-us/library/windows/apps/jj681694(v=vs.105).aspx
    Also, I find that if I cancel my build/deploy while it is stuck on booting the OS and then wait a short while the phone OS will complete booting, and from that point I can deploy to the emulator. It's a workaround, but it works well for me.
    I need to do that on Windows 10 tech preview, which may or may not be simply an incompatibility with the beta OS.
    I'm a self-taught noob amateur. Please take this into account when responding to my posts or when taking advice from me.

  • App successfully passed certification to be included in the Windows Phone Store., still not showing in the store .

    I have received notification that my app  has successfully passed certification to be included in the Windows Phone Store. But I don't  find
    it in store with  public link . Can you tell me why it is not found on the market ? . How do I fix it ?

    Whether or not there is a problem at the moment is beside the point. Whether there is a problem or not, the usual publication time varies from ~1 hour to several days. If an app is not on the store within a couple of hours it's still within the normal
    timeframe; if it's not in the store after 3 or 4 days there may be an issue.
    I don't know why there are so many posts from people expecting their app to be live in the store the minute they get an email. Microsoft need to do a better job of advising developers of the publication process.
    Your problem is not the same as OP's, and neither is the updating issue you linked to.
    I'm a self-taught noob amateur. Please take this into account when responding to my posts or when taking advice from me.

  • Block the Windows Phone Mail App on 8.1

    Hi Guys
    I have asked this question in the Windows Phone thread, but need to find the answer as quick as possible.
    Is there a way to block Users using the Mail app for personal mail on their corporate phones managed by Microsoft Intune?
    I need to allow users access to the store using their LiveID so that they can download Lync etc. But it seems it creates a Mail App with their mail although app deny rules are in place for anything not whitelisted.
    thanks in advance
    NN

    Thanks Jon.
    I am in a catch 22 at the minute if I have this correct. Please do let me know if I am on the wrong track.
    Blocking LiveIDs means blocking Store access; meaning deeplinks dont work, nor does sideloading apps like Lync. Allowing LiveIDs gives access to download apps but seems to allow personal mail, although I can deny apps it does not seem to deny personal mail.Now
    LiveIDs on a whole need to disabled, but it has got me wondering about the feature with personal mail.
    If I can deny personal mail, I can have Store access restricted by applisting using deeplinks for ease and no personal information/mail will be available, a happy medium.
    I have heard that new identity features are coming later this year (which you also posted on), but for now I need to find closest to this standard as possible.
    The one thing I am not overly familiar with yet is the OMA features and whether that has the ability to block this feature via a string?
    Any help would be greatly appreciated.
    Thanks
    NN

  • Known issue: Geofencing is malfunctioning in the background on devices and is completely nonfunctional in the Windows Phone Emulator (Windows 10 Insider Preview SDK and tools, April 2015 release)

    On physical devices, geofences that have been triggered are not causing their associated background task to fire.  The device may also incorrectly stop tracking geofences
    in connected standby, causing the geofencing trigger to be missed.  Within the Windows Phone Emulator, geofences are not triggering in either the foreground or background.

    Workaround: test the geofencing logic in your app while the app is running in the foreground on a physical device.  

Maybe you are looking for

  • Service Registry XSD dynamic reference not working

    Hi , I have published an employee canonical schema to service registry. I have referenced it in my BPEL in my wsdl file as follows <schema xmlns="http://www.w3.org/2001/XMLSchema">                <import namespace="http://systinet.com/uddi/demo/emplo

  • Can't play music from Universal Dock when iPod classic plugged in

    According to the iPod classic manual, one can play music or video while the iPod is connected to the computer or AC power to be charged up. However, this is not working for me. Instead, it says "Connected", and won't actually let me play music unless

  • User Exit implementation

    Hi, For the TCode FBL5N, for the line items, if we wants to change the payment method then payment block is mandatory. For this user exit is implemented. However, when trying to mass change for morethan one line items the user exit is not being trigg

  • Again! Flashplayer don´t works on my Firefox!

    Hi, When I am on a side, there is a download for the Flashplayer to show all webcontents. I already have installed the player, but the site it seems it´s not working for me. Internet Explorer works with! When I try to update it begins to load and say

  • Random static in mp3s played or recorded.

    I get random moments of static when I am playing back from my mp3 collection and DLd mp3s from music store. The track will play fine for min or 2, then x-fade into static. Stop the track, play it again and it is fine, static goes away. Now this probl