I have a Chat class drived from Hub. I want to know if thers a way to built URL by URLHelper like : Url.Action(\"action\",\"Controller\").
as i can derived the cla
You can do it with this, and I am using T4MVC.
var urlHelper = new UrlHelper(Context.Request.GetHttpContext().Request.RequestContext); var url = urlHelper.Action(MVC.Directors.EventSchedule.Index(EventId));