You need to use await to call asynchronous methods. ASP.NET 5 adds the ability to use await in Razor:
@{await Html.RenderPartialAsync("_MyPartial", Model);}
You need to use await to call asynchronous methods. ASP.NET 5 adds the ability to use await in Razor:
@{await Html.RenderPartialAsync("_MyPartial", Model);}
The requested URL was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.