I have an asp website with a SQL server that for some reason doesn't get passed along when I publish the solution. How do I get a SQL server running on azure? I've looked it up and tried following a couple of tutorials but there doesn't seem to be a whole lot of information on it.
To get an SQL server running on Azure, you have two solutions :
PaaS solution with Azure SQL Database
IaaS solution by using an SQL server Instance on a dedicated virtual machine
Here is a nice link explaining benefits and limitations of both solution.
Regards
Related
I develop a WebApi using a LocalDB, but I want to deploy it to Azure. I found out that you cant use a LocalDB, but you can use a SQL Server Compact.
Is there a way to migrate my old database including the EDMX and all the models to the SQL Server Compact or is there any other approach to upload the application to Azure?
Do the same, but for MSQL, and after use your Microsoft SQL Server Management Studio for your TSQL deployment on SQL Azure.
I found out that you cant use a LocalDB
We can connect to on-premises SQL Server from a WebApp in the Azure App Service using Hybrid connections. There are some snippet from the document. More detail info please refer to tutorial.
Hybrid Connections can connect Azure App Service Web Apps to on-premises resources that use a static TCP port. Supported resources include Microsoft SQL Server, MySQL, HTTP Web APIs, App Service, and most custom Web Services.
As matze supplied link mentioned, we also can publish database to SQL Azure.
My problem has a couple things:
I got a website constructed in joomla, hosted on linux server (that means that sqlsrv doesn't work because it's made for windows only, and the host administrator already informed me that they can't install any php extension).
I got a C# program, and my database is hosted on Amazon (SQL Server 2012).
To resume, i need to connect my website to my SQL database program to show data, and modify it, etc etc, on web.
So, if you guys have any ideia how can i make it, i really appreciate that.
Best regards,
Hélder Lopes
I recommend to install the php module :
source : http://technet.microsoft.com/en-us/library/cc793139(v=sql.90).aspx
source : http://www.php.net/manual/en/book.mssql.php
If there is no way, move your database to your website's hosting (converting db to mysql), and make your C# program use mysql and point it to the website database.
good luck.
I am about to start making a small e-commerce website using ASP.NET, C# and SQL Server 2012.
However before I start, I would like to learn how to make the transition from a local DB to a web hosting DB. I looked at http://www.hostgator.com/windows-hosting and they have Microsoft SQL listed under their options. I read some reviews and they seem to be one the best web hosting companies around, and their customer service was quite good last time I talked to them(regarding a different issue).
I would go straight to their "live chat" again, but I am pretty sure those Level 1 support wouldn't really be able to help me. I also looked at https://somee.com/default.aspx as a free web hosting alternative for testing and what not.
Anyways, if someone could shed some light on this matter I would really appreciate it. Other web hosting companies are welcomed, I also thought about MS Azure, but I don't have much experience with cloud computing so there is still some research that I have to do on that front.
PS: These are the tools that I will use to get the job done(as of now) and what I would like to accomplish.
Tools:
SQL Server 2012 Developer Edition
Visual Studio 2012 (C# and ASP.NET)
Goals for my website:
Log-in System
Account System
Shopping Cart
PayPal
Some sort of schedule/web calendar tool
first take a look does the hosting company have SQL 2012 in offer.
My first attempt would be :
- Make Database backup on local server and try to use ISP tool for database, I'm sure that they have some DB tools that support 'Restore' option.
Second :
- They would give you SQL login data, You can write some little code for synchronization. Read from one database and send the data to ISP server. This code should be run on Your local machine.
You mentioned Azure, so I thought I would also point out that Azure Websites has a gallery of eCommerce packages that you can install. I believe all of these have the key capabilities you are looking at.
Some of the packages you can quickly install are:
Drupal Commerce Kickstart
Kentico CMS for ASP.NET
mojoPortal
nopCommerce
OpenX
There is a little more information on this here: http://www.windowsazure.com/en-us/services/web-sites/
I'm new to the to Sync Framework, I have done basic prototyping on it and all went ok. However, I have a scenario where I need to synchronize two databases that belongs to separate network. I have done my part of educating myself by browsing thru several websites and most discussions were of two databases with direct connections. Do you have any existing prototypes that tackles synchronization between to MS SQL 2008 R2 DB servers that belongs to separate networks? Any help from you would be greatly appreciated.
you can find samples using WCF here:
Database Sync: SQL Server and SQL Compact N-Tier with WCF
Database Sync:SQL Server and SQL Express N-Tier with WCF
Windows Azure Sync Service Sample
Walkthrough of Windows Azure Sync Service Sample
I would recommend the Azure Sync Service Sample since this has a corresponding walkthrough. if you're not using SQL Azure, just ignore the Azure related codes/deployment steps.
I want to know if it is possible to use MySQL Engine without having to install WAMP Server. I'm developing an application that will require a database, so I was thinking of using MySQL instead of MS SQL or access. So I don't want to install the WAMP package yet I want to install the MySQL Engine, so if possible, please provide me with the download link for the MySQL and how to install and use (start/stop service).
You will need the runtime and the .net connector to make this happen. You also might find the workbench (gui tools to manage the server and run queries) to be helpful.
The runtime installs a service by default, which you can control on the commandline or via the windows service management console (services.msc).
This sounds to me a lot like you're thinking 'desktop application', where the MySQL database will be a simple local data store. If that's the case, MySQL is not a good choice.
MySQL is a server-class database engine. It's designed to run full time in the background as a service. This makes it overkill for a simple desktop app, and as a user I'd be mad if your simple desktop app required me to run the MySQL service.
For the kind of app I think you're building, you really want an in-process or desktop-class database. Good examples include SQLite, SQL Server Compact Edition (not Express), or even MS Access. Any of those would be a better option here than MySQL.
On the other hand, if I'm wrong and you're building a web app or an app that will be distributed to several computers that all share the same database, then MySQL is a perfectly fine choice and you should read #Femaref's answer.
If your database isn't going to be incredibly large you could go with SQL Compact. It comes with the .NET framework, and works well for smaller databases.