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"? 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.
-
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.
-
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.
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 !~
-
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 !~