I wrote code like below. It works when I publish it as cloudapp.net, but throw SEHException when I publish it as azurewebsites.net.
String val = RoleEnvironment.GetConfigurationSettingValue("myconfig");
So what's the difference between these 2 domains/publish approaches?