First post for 2014. I made my New Year’s resolutions, professional field, creating great software with Zgura:
- Learn, get certified for Web development, exams 70-480, 70-486 and 70-487 link
- Apply SOLID development principles
- Always try to improve through creativity
On 3, I’d like to comment on the ideas expressed at Fareed Zakaria GPS program, in an interview to Elon Musk GPS link, summarizing, people working at his company must not just develop technology, they must improve on what has been developed. Just doing one work is not enough, need to improve on existent work.
As such, I’d like to share on an improvement I just implemented, developing on work already done by my colleagues at Zgura:
As we develop ASP.Net MVC apps and deploy continuously from Git into Azure Websites, one website for each stage of development and branch on source control (i.e., development, test, production) we wanted to set and use configuration environment variables for between other things, connection strings to databases, in Azure Websites and get them from Environment variables, using:
public static string ConnectionString
But after implementing that, we had an issue when trying to do local debugging as the application doesn’t have access to the environment variables repository. A solution I found was to add that variables at Application_Start, under Global.asax.cs:
As per a comment from my friend Salvador Aguilar, I’d like to show a screenshot of deployment configuration into Azure websites.