9 articles Azure

Azure Transform web.config

Fasilitas transform web.config waktu publish sangat bermanfaat, misalnya untuk mengubah <appSettings> atau menambahkan customErrors=”off”. Buka xxx.config. Contoh isinya: [code language=”xml”] <system.web> <compilation xdt:Transform="RemoveAttributes(debug)" /> <!– In the example below, the "Replace" transform will replace the entire <customErrors> section of your web.config file. Note that because there is only one customErrors section under the <system.web> node,…

Visual Studio Publish to Azure

1. Download publish profile dari azure app service 2. Ambil connection string dari azure database 3. Visual Studio -> publish -> import 4. Isi connection string di setting waktu publish ADO: copas dari (2) Non-ADO (seperti yang dipakai di SecurityGuard) format berbeda: Data Source=tcp:mobidig.database.windows.net,1433;Initial Catalog=mobidig;User Id=mobidig;Password=rekadia123!

Login Azure Database using Sql Server Management Studio

Panduan untuk login ke Azure database menggunakan SQL Server Management Studio 1. Pilih database server yang ingin di-manage menggunakan SQL Server Management Studio 2. Klik Firewall 3. Klik “Add client IP” https://azure.microsoft.com/en-us/documentation/articles/sql-database-configure-firewall-settings/ Important: If you do not see the option for Firewall on the blade you are looking at, go back and make sure that…

Deployment Failed Copying File ExitCode 1

Waktu saya melakukan deployment di Azure pada proyek PMO, muncul error dikarenakan copying file failed. Padahal file yang dimaksud adalah file dummy jpg yang diupload sebagai gambar proyek. Kemungkinan error ini karena sebelumnya file sempat dicommit. Solusinya, file-file yang dibutuhkan diupload melalui FTP ke azure, disimpan di folder /site/repository/WebUI/

Azure FTP Credentials

http://weblogs.asp.net/bleroy/archive/2012/06/12/azure-web-sites-ftp-credentials.aspx Download publish profile dari manage.windowsazure.com [code language=”xml”] <publishProfile publishUrl="ftp://waws-prod-blu-001.ftp.azurewebsites.windows.net/site/wwwroot" userName="nameofyoursite\$nameofyoursite" userPWD="sOmeCrYPTicL00kIngStr1nG" </publishProfile> </publishData> [/code]