Download MovieTube.Web/App_Start/WebApiConfig.cs from niobures/VideoSearch: direct link, hf CLI and curl.
- Browser
- Download file 491 Bytes
-
https://huggingface.co/niobures/VideoSearch/resolve/main/MovieTube.Web/App_Start/WebApiConfig.cs
- Command line
-
hf download hf://niobures/VideoSearch/MovieTube.Web/App_Start/WebApiConfig.cs
-
curl -L -o WebApiConfig.cs https://huggingface.co/niobures/VideoSearch/resolve/main/MovieTube.Web/App_Start/WebApiConfig.cs
491 Bytes
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Web.Http; | |
| namespace MovieTube.Web | |
| { | |
| public static class WebApiConfig | |
| { | |
| public static void Register(HttpConfiguration config) | |
| { | |
| config.Routes.MapHttpRoute( | |
| name: "DefaultApi", | |
| routeTemplate: "api/{controller}/{action}/{id}", | |
| defaults: new { id = RouteParameter.Optional } | |
| ); | |
| } | |
| } | |
| } | |