Generate urls properly on appharbor.
This file contains 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
|<add key="aspnet:UseHostHeaderForRequestUrl" value="true"/>|
Jan 17, 2013
Correct me if i'm wrong, but this still will not work for accessing the Request.Url property directly, so appharbor's code snippet is still valid for class libraries that may do something like log the Request URL for example (or attach the url to an email, etc)
Jan 18, 2013
@robbihun it will change the Request.Url property. Try it out for yourself.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
That's really cool. I didn't know that even existed.