I am learning webapi.I am running my webapi project and hitting the url localhost:54099/api/values
but Get is not executed.I am not able to see the data.Where i am doing wrong?When i hit the url,below popup shows but i am neither able to save it or open it. When i hit the same url in Chrome,i am getting the error
An error occurred when trying to create a controller of type 'ValuesController'. Make sure that the controller has a parameterless public constructor.

WebAPI method inside ValuesController
public IEnumerable<Book> Get()
{
var Books = iLibrary.GetBooks();
return Books.ToList();
}
WebApiConfig
public static void Register(HttpConfiguration config)
{
// Web API configuration and services
// Web API routes
config.MapHttpAttributeRoutes();
config.Routes.MapHttpRoute(
name: "DefaultApi",
routeTemplate: "api/{controller}/{id}",
defaults: new { id = RouteParameter.Optional }
);
}