Closed tidyui closed 9 years ago
The "getting started" docs in the README doesn't seem to match the current version. I had to replace the following code:
app.Route("docs/{collection}") .Get(async (ctx, data) => { var name = Convert.ToString(data.Values["collection"]); await ctx.Response.WriteAsync(name); });
with:
app.Route("docs/{collection}") .Get(async (ctx) => { var name = var name = ctx.GetRouteValue<string>("name"); await ctx.Response.WriteAsync(name); });
@tidyui thanks for info, fixed!
The "getting started" docs in the README doesn't seem to match the current version. I had to replace the following code:
with: