Sha256: 4a369769e85a0e6691806a73ec307d4a01379c1d2ffb374853bac8a6d36b81d5
Contents?: true
Size: 478 Bytes
Versions: 88
Compression:
Stored size: 478 Bytes
Contents
using System; using System.Collections.Generic; using System.Linq; using System.Web.Http; namespace CSharpWeb { public static class WebApiConfig { public static void Register(HttpConfiguration config) { config.Routes.MapHttpRoute( name: "DefaultApi", routeTemplate: "api/{controller}/{id}", defaults: new { id = RouteParameter.Optional } ); } } }
Version data entries
88 entries across 88 versions & 1 rubygems