Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7028881
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T00:27:56+00:00 2026-05-28T00:27:56+00:00

How should a Windows 8 Metro application connect to a central database? I’ve read

  • 0

How should a Windows 8 Metro application connect to a central database?

  • I’ve read about local storage, but I haven’t read anything about connecting to a central database.
  • Obviously, this architectural design decision needs to support the disconnected scenario.
  • WCF web services seem to make sense.
    • But even if they do make sense, should we really create separate methods for all read/write operations?
    • Or are OData WCF services the way to go?
  • It seems like tablet software architecture should be able to borrow a lot from smartphone software architecture (but I am new to both).
  • Has Microsoft made any recommendations in its app samples?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T00:27:56+00:00Added an answer on May 28, 2026 at 12:27 am

    It appears that others are asking similar questions on the Microsoft Developer Forums.

    Here is what I’ve found:

    According to Tim Heuer:

    …You cannot directly have a SQL db embedded in your app or use
    something like ADO.NET. This is more of an async/services
    infrastructure. So if your data was exposed via services, then of
    course you could connect that way. There are some other light-weight
    methods you could use for local storage as well using things like the
    Windows.Storage namespace (which is similar to Isolated Storage in
    .NET).

    Morten Nielsen agrees:

    You can use HttpClient to download pretty much anything from the web.
    Why don’t you configure your WCF service to return data as JSON, and
    use the DataContractJsonSerializer to deserialize the results?

    Also, Tim Heuer cautions:

    …Please note that while awesome, the SQLWinRT project on codeplex is a
    wrapper to communicate with the classic SQLite engine…which uses
    APIs that would not pass store validation currently.


    Generic Object Storage Helper for WinRT and WinRTFile Based Database seem to have some promise.

    But Daniel Stolt raises some good points:

    It’s awesome that there is good support for building OData clients and
    other REST clients – but this only addresses the online scenario. The
    “structured” part of Windows.Storage is a very limited model,
    essentially limited to name/value pairs, insufficient for all but the
    most basic scenarios. Yes there is local file storage, which is great
    of course. But forcing every app developer out there to build her own
    DBMS on top of local file storage will simply not cut it, especially
    with all of System.Data having been removed from the profile.
    If local
    file storage was sufficient for most device apps, then things like
    SQLCE would have no purpose today already. And SQLCE clearly has a
    purpose, and has played a very important role for occasionally
    connected device apps for a very long time. There is also a tremendous
    need for synchronization with a server-side database such as SQL
    Azure, mostly to be able to roam data between devices. Yes there is
    the roaming storage model in WinRT, but it shares the same limitations
    of local storage mentioned above, and on top of this is very limited
    in capacity (currently 30KB if memory serves). It is simply
    insufficient for all but the simplest roaming data needs. Again,
    forcing every app developer to design and implement her own
    synchronization solution is very bad. You can do much better to enable
    developers.


    Many people are disappointed that the System.Data namespace is not supported in WinRT.

    Richard Bethell said:

    I don’t even have words for this. This is astonishing. Leave aside for
    the moment they want to force you to abstract to middleware for
    database connectivity – I don’t agree, but I can quasi understand a
    rationale for that. I can even see pathways for developing like that.

    But no System.Data…. at all? Do you even understand what you’ve done
    to us?

    What System.Data can do, outside of just having providers for Sql,
    OleDb and other custom providers like Oracle, is provide a rich
    abstraction of XML datasets that allow you to very quickly build a
    data oriented Service Oriented Architecture.

    For instance, I can easily create a web service using SOAP or WCF that
    returns DataSets or DataTables, and then consume those objects easily
    and directly. Being able to do this allows very rapid construction of
    n-tier architectures, even without direct data connections available.

    Without System.Data, and the power of DataViews, DataTables, etc. this
    gets a lot harder. Sure you can custom create structs, put data in
    there, and serve up structs, and use Linq to do whatever sorting,
    filtering, etc. you want to do…. but it ends up being twice the
    work, and makes code reuse a lot harder. And it means using our
    existing service oriented architecture is impossible (without a big
    overhaul.)

    The withdrawal of System.Data is as big a thing for developers to deal
    with as the loss of the Printer object in VB6 to vb.net 1.0 was. What
    is harder to understand in this case is why it is necessary –
    re-enabling it in the Metro profile can’t possibly be a technical
    difficulty of the product, can it?

    It is valuable enough that I would seriously consider including Mono’s
    System.Data classes as part of any app I create (which would obviously
    have to be open source.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

What library should I use to connect to odbc from python on windows? Is
Hello I have an application that should work in Windows and Linux.When I open(transfer)
What minimum FPS I should keep in Windows Phone 7 XNA application? I know
I am developing a windows based application using C#. This should be used by
Is it possible to develop real metro apps on Windows 7 or should I
I'm writing a C program under Windows that should send an ENTER key to
I am making a project that should compile on Windows and Linux. I have
Ok I am making a simulated OS type interface. It should open up windows
Why should one go for Windows Installer XML (WiX) when we have in built
How should I set WordWrap = false to a System.Windows.Forms.Label ? I have a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.