Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. Why is it that Metro style apps do not include "Imports System.Data.SqlClient"?

Why is it that Metro style apps do not include "Imports System.Data.SqlClient"?

Scheduled Pinned Locked Moved .NET (Core and Framework)
wcfcsharpdatabasesql-serversysadmin
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Ray Raymos
    wrote on last edited by
    #1

    Why is it that Metro style apps do not include "Imports System.Data.SqlClient"? I found this out about a year ago and I have not asked why Visual Studios for metro apps does not allow for SqlClient. I feel that by doing this Microsoft is pushing away developers from using MSSQL Server. So you have options of using SQL Lite, Azure Web Services, WCF and there might be other ways to get data. However that takes away from precious time us developers have to make apps. Also are there any work arounds for using MSSQL Server and using Imports System.Data.sqlClient? Sincerely a Developer.

    L A 2 Replies Last reply
    0
    • R Ray Raymos

      Why is it that Metro style apps do not include "Imports System.Data.SqlClient"? I found this out about a year ago and I have not asked why Visual Studios for metro apps does not allow for SqlClient. I feel that by doing this Microsoft is pushing away developers from using MSSQL Server. So you have options of using SQL Lite, Azure Web Services, WCF and there might be other ways to get data. However that takes away from precious time us developers have to make apps. Also are there any work arounds for using MSSQL Server and using Imports System.Data.sqlClient? Sincerely a Developer.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      I think you should direct your question to Microsoft.

      A 1 Reply Last reply
      0
      • L Lost User

        I think you should direct your question to Microsoft.

        A Offline
        A Offline
        Afzaal Ahmad Zeeshan
        wrote on last edited by
        #3

        Microsoft is already alert, but isn't implementing. This namespace of .NET isn't available, instead he needs to work with Storage APIs.

        The shit I complain about It's like there ain't a cloud in the sky and it's raining out - Eminem ~! Firewall !~

        1 Reply Last reply
        0
        • R Ray Raymos

          Why is it that Metro style apps do not include "Imports System.Data.SqlClient"? I found this out about a year ago and I have not asked why Visual Studios for metro apps does not allow for SqlClient. I feel that by doing this Microsoft is pushing away developers from using MSSQL Server. So you have options of using SQL Lite, Azure Web Services, WCF and there might be other ways to get data. However that takes away from precious time us developers have to make apps. Also are there any work arounds for using MSSQL Server and using Imports System.Data.sqlClient? Sincerely a Developer.

          A Offline
          A Offline
          Afzaal Ahmad Zeeshan
          wrote on last edited by
          #4

          System.Data.SqlClient is a part of .NET framework, Metro applications are built over Windows Runtime. Read this: SqlClient is a part of .NET framework[^]. Open the references tab, and look for .NET for Windows Store apps. You will see that System.Data namespace (or System.Data.SqlClient namespace) is not available for use in Windows Store applications. Because, all of them require a separate framework, .NET framework and thus kills the purpose of Windows Runtime to be used. Here are a few threads that might help you in understanding the feedback for such actions. Programmers are raising their voices for getting System.Data namespace in Metro style apps. :-) https://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/2759791-make-system-data-available-to-metro-style-apps[^] http://stackoverflow.com/questions/11947078/retrieving-data-from-sql-using-c-sharp-metro-app[^] https://social.msdn.microsoft.com/Forums/windowsapps/en-US/e9cdd75d-03e4-4577-988e-4c02a52e3f50/sql-database-support-in-metro-style-app?forum=winappswithcsharp[^]

          The shit I complain about It's like there ain't a cloud in the sky and it's raining out - Eminem ~! Firewall !~

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups