This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Linq; | |
using Microsoft.ApplicationServer.Http; | |
using Microsoft.ApplicationServer.Http.Activation; | |
namespace System.Web.Routing | |
{ | |
public static class CustomRouteCollectionExtensions | |
{ | |
public static void MapServiceRoute(this RouteCollection routes, Type serviceType, string routePrefix, HttpConfiguration configuration = null, object constraints = null, bool useMethodPrefixForHttpMethod = true) | |
{ |
NewerOlder