This module modifies the native System.Web.HttpContext to make ASP.NET agnostic of the AppHarbor load balancing setup. You no longer need to worry about port numbers, secure connections and eaten remote IP addresses.
This library fixes the following issues for you automagically:
- http://support.appharbor.com/kb/getting-started/workaround-for-generating-absolute-urls-without-port-number
- http://support.appharbor.com/kb/getting-started/information-about-our-load-balancer
To set up the module properly add the following module to your web.config:
<system.webServer>
<modules>
<remove name="AspNetAppHarborIntegration" />
<add name="AspNetAppHarborIntegration" type="Premotion.AspNet.AppHarbor.Integration.AppHarborModule, Premotion.AspNet.AppHarbor.Integration" />
</modules>
</system.webServer>
Please note that this might already be done automagically when you installed the library from NuGet.
All help is welcome!
Copyright © 2012 Premotion Software Solutions and contributors.
Premotion AspNet AppHarbor Integration is licensed under MIT. Refer to license.txt for more information.
You can download the compiled binary from NuGet: http://nuget.org/packages/Premotion.AspNet.AppHarbor.Integration