This project is read-only.


Missing port number for local urls when using RequireHttpsAttribute


The URL's generated for the https protocol when using RequireHttpsAttribute doesn't contains the port fragent. So, the urls for the generated links is invalid when running on ports other than 80.

is there an way to include the port number if is not 80 on generated links ?
Closed Jan 28, 2015 at 4:11 PM by KevinKuszyk
As part of our move to GitHub, we are closing all the outstanding issues on CodePlex.

If your issue is still valid, please re-open it on GitHub:

Thanks for contributing!


davidebbo wrote Oct 8, 2013 at 5:27 AM

But it generates the link as https, no? And for https, the default port is 443, not 80.

Note that in the end, all T4MVC does is call the standard MVC method RouteLink, passing the protocol to it. That's the method that generates the URL. T4MVC has no URL generation logic itself.