Hi,
I have started playing with ElasticSearch and Nest to build a search tool in .NET. I came across your demo and would really like to see it working but I cannot get it to serve up any web page. When I start the project in VS, a command window starts saying
"Listening on port 1337" and when I browse to
localhost:1337, VS hits a breakpoint here
[UriTemplate("/")]
public class Index : IGet
{
public Status Get()
{
return Status.OK;
}
}
but the html in Index.cshtml is not served up to the web page (there is literally nothing in the web page).
What am I doing wrong?
I have read through Simple.Web docs but cannot understand why the page is not being served.
In VS, the line,
@handler NestDemo.Index
has a red underline with "The name handler does not exist in the current context"
Any help gratefully received
Mike
Any help gratefully received
Kind regards
Mike
Hi,
I have started playing with ElasticSearch and Nest to build a search tool in .NET. I came across your demo and would really like to see it working but I cannot get it to serve up any web page. When I start the project in VS, a command window starts saying
"Listening on port 1337" and when I browse to
localhost:1337, VS hits a breakpoint here
[UriTemplate("/")]
public class Index : IGet
{
public Status Get()
{
return Status.OK;
}
}
but the html in Index.cshtml is not served up to the web page (there is literally nothing in the web page).
What am I doing wrong?
I have read through Simple.Web docs but cannot understand why the page is not being served.
In VS, the line,
@handler NestDemo.Index
has a red underline with "The name handler does not exist in the current context"
Any help gratefully received
Mike
Any help gratefully received
Kind regards
Mike