forked from YAFNET/YAFNET
-
Notifications
You must be signed in to change notification settings - Fork 0
Install YAF with Windows SQL Azure
w8tcha edited this page Aug 24, 2013
·
2 revisions
The general steps are:
- Create an Azure SQL database to use to store membership
- Run Azure specific membership scripts to setup database http://lluisfranco.com/2011/05/18/using-asp-net-membership-in-sql-azure/
- Create an Azure SQL database to store YAF
- Create a local database in SQL Express 2008 R2 to store YAF
- Modify db.config and change the “yafnet“ connection string to the local YAF database
- In db.config add another connection string called “yafnetmembership” for the Azure membership database
- Modify web.config to use the Azure membership database. This includes setting the membership, role, and profile default providers and setting those providers to use the "yafnetmembership” connection string.
- Run YAF locally (I used Visual Studio) and go through the installation wizard (do not check the use “full text” index on the database step)
- Shutdown the local YAF
- Modify db.config and change the “yafnet“ connection string to the Azure YAF database
- Use the SQL Azure Migration Wizard to copy the local YAF database to Azure.
Note: You will need to make sure you open the Azure SQL firewall.
Solution Provided by Nick Clark
You can find more detailed Guide here... http://sergiikram.wordpress.com/2012/10/15/install-yaf-net-on-windows-azure-sql-azure-the-complete-guide/