Created
November 16, 2015 20:20
-
-
Save sdanna/65975e612eef3226d0c0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected void Application_Start() | |
{ | |
// Standard MVC Stuff goes here. | |
// Load config-r configuration file based on the environment appSetting | |
var environment = ConfigurationManager.AppSettings["Server.EnvironmentName"]; | |
Config.Global.LoadScriptFile($"Web.{environment}.csx"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment