I'm sure this is a common scenario but I haven't really found much exactly outlining what the best way to do it is.
In previous version we use to register wcf service in global.asax file as below.
RouteTable.Routes.Add(new ServiceRoute("", new WebServiceHostFactory(), typeof(TestService)));
How we can do same thing in mvc 6