Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# XAML
I have created a Window Azure database but I not sure how to link to my Window 8 application
 
I am using Visual studio 2012 to create my window 8 application and using C#
 
How to connect anyone here know ? please guide me
 
thank you
Posted 23-Jan-13 16:29pm
Comments
Sergey Alexandrovich Kryukov at 23-Jan-13 23:26pm
   
XAML?!
Jeff Blankenburg at 6-Feb-13 11:44am
   
Have you looked at Windows Azure Mobile Services? Pretty remarkable set of tools.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
Comments
weixiongpoh at 27-Jan-13 21:48pm
   
I having a error message while connecting

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
 
Is the network problem ?
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Port 1443 needs to be opened to connect to Windows Azure DB, you also need to add your IP address to allow access to the Azure server (click on the "Manage Allowed IP Addresses" link on the DB dashboard to set your local machine's IP address) . Also if your on your Windows Azure Portal, click the Database tab > Click your Database Name > then Click Connection Strings, use the Connection String info in SSMS to connect the Database Remotely. Because the useraneme has an @ sign behind it with the server name. So if your not including that then it would fail.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

Jeff's comment about using Windows Azure Mobile Services is a great suggestion. Don't let the name mobile services fool you, It is setup for Windows 8 as well as iOS.
 
http://www.windowsazure.com/en-us/home/scenarios/mobile-services/[^]
 
If you don't want to do that then you could always create your own service to connect to that to access the database. I do that with one of my apps, since I connect to it from iOS, android, WP7/8, Windows 8, and Facebook. I created a web service and connected to the database with EF.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 540
1 Sergey Alexandrovich Kryukov 402
2 Yogesh Kumar Tyagi 384
3 Prakriti Goyal 280
4 Maciej Los 205
0 OriginalGriff 6,632
1 Sergey Alexandrovich Kryukov 5,404
2 Maciej Los 3,474
3 Peter Leow 3,299
4 DamithSL 2,495


Advertise | Privacy | Mobile
Web01 | 2.8.140721.1 | Last Updated 27 Feb 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100