Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Configuring Routing/Activation/register for RESTful WCF service with MVC 6

$
0
0

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


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>