Running a webapp with authentication on Azure

I created a web app with authentication and it works great locally. I need to move it up to my Azure account so that it can be used by others.

The problem is I followed an example which used an .mdf database, and this (to my knowledge) doesn't work on Azure. I have attempted to migrate the mdf databse to my Azure DB with no success.

Is there a resource or some way to convert the mdf database to an Azure database? I'm ok if I lose my current user data in the database - I just need a way to make this work.


July 17th, 2015 8:46pm

Hey Robert,

Is this a one time move you want to make? If so, There are several ways to take your on-prem db to azure. You can try using a Bacpac (https://msdn.microsoft.com/en-us/library/azure/hh335292.aspx) , scripting out your database, or you can just right click on the database, select Tasks-> "Deploy Database to SQL Azure". 


  • Edited by chava007 14 hours 27 minutes ago
Free Windows Admin Tool Kit Click here and download it now
July 20th, 2015 12:42pm

Hey Robert,

Is this a one time move you want to make? If so, There are several ways to take your on-prem db to azure. You can try using a Bacpac (https://msdn.microsoft.com/en-us/library/azure/hh335292.aspx) , scripting out your database, or you can just right click on the database, select Tasks-> "Deploy Database to SQL Azure". 


  • Edited by chava007 14 hours 39 minutes ago
July 20th, 2015 12:43pm

Thanks for your reply. Yes this is a one time move. I right-clicked on my database in VS2013, but there is no "Deploy to SQL Azure when I right click on it. I'll check out BacPac.  Thanks.
Free Windows Admin Tool Kit Click here and download it now
July 20th, 2015 2:00pm

If this is a one time move, you can check out this tool which may make it easier for you.

https://sqlazuremw.codeplex.com/

Or you can also deploy your database with SSMS:

July 20th, 2015 8:07pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics