I\'ve the following problem, my route attribute is not working.
I have the following action:
[HttpGet] [Route(\"~api/admin/template/{fileName}\")] pu
try adding a forward slash after the tilde [HttpGet] [Route("~/api/admin/template/{fileName}")] public HttpResponseMessage Template(string fileName) { return CreateHtmlResponse(fileName); }