Last active
December 11, 2015 17:16
-
-
Save bjoerntx/6e39ca05f1a0a6b62cdc to your computer and use it in GitHub Desktop.
This file contains 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.Web.Http; | |
public class WebApiConfig | |
{ | |
public static void Register(HttpConfiguration configuration) | |
{ | |
configuration.Routes.MapHttpRoute("API Default", "api/{controller}/{id}", | |
new { id = RouteParameter.Optional }); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment