How to go about deployment of ASP.Net 4.5 / MVC 4 /SQL Express 2008 R2 to a Windows Azure Free Website -
i new windows azure - have been asp.net 10 years , have been deploying applications via database backup , restore on production , copy of final code bits source control root folder on production database.
i doing initial reading , finding bit difficult absorb overall process of deploying asp.net mvc web application azure.
i have managed have database , website code on azure , , running, can't terms on following points , want understand them better have regular deployment on place versions of app keep going up.
- database doesn't work backup local database , upload .bak file , restore production server.
- nor can see website files.
update: 04-aug-2013 azure websites have ftp option. can see ftp host name in respective website dashboard. username , password ftp located in publish settings file (note: got pick ftp username , password, not publish username/password. both different.
when getting ready version 2.0 of product, how database azure sql, upgrade 2.0 , put back?
i assume publishing wizard visual studio should able take care of code upgrade, how edit production web.config file on fly?
how take website offline , show users custom "offline" page when in middle of upgrade? (stopping website shows windows azure site not available page).
for database backup / upgrade questions
for migration of databases sql azure (or pulling them down) sql database migration wizard has proven lifesaver me, here:
http://sqlazuremw.codeplex.com/
this pull , push both data , schema database.
for seeing website files
you won't able if using windows azure websites.
for editing web.config on fly
you can't. -- can edit connection strings , appsettings through 'configure' tab of website so:
turning website offline during upgrade
while cannot use app_offline route without deployment. 1 thing change default document. done right in same 'configure' tab website in portal mentioned above, see here:
hope helps.
Comments
Post a Comment