Is it possible to get the originating port from an ActionExecutingContext object? If so, how?
A:
ActionExecutionContext.HttpContextBase.Url.Port should work for you.
MrJavaGuy
2008-11-10 19:12:10
+1
A:
Yes, look at ActionExecutingContext.HttpContext.Request.Url.Port;
Craig Stuntz
2008-11-11 14:31:22
Thx a bunch. I tend to overlook the obvious :P
borisCallens
2008-11-12 08:49:45